Conformance
Each reference implementation states which spec versions it implements and, for every requirement, how it meets it. Its own tests are then run. A requirement counts as pass only when a named test asserts it and passed. Untested and diverges are listed openly: they are the work still to do.
| Implementation | OCI-PAY-1 | OCI-PAY-2 | OCI-PAY-3 | OCI-PAY-4 | OCI-WALLET-1 | OCI-WALLET-2 | OCI-WALLET-3 |
|---|---|---|---|---|---|---|---|
| ociid-api country identity | — | — | — | — | — | — | 29 / 29 pass all pass |
| ocipay-api payments switch | 41 / 41 pass all pass | 98 / 98 pass all pass | 46 / 46 pass all pass | 104 / 104 pass all pass | — | — | — |
| ocipay-bank-api bank connector | 9 / 9 pass all pass | 53 / 53 pass all pass | 17 / 17 pass all pass | — | — | — | — |
| ocitrust-api registry | — | — | — | — | 12 / 13 pass 1 untested | — | — |
| ociwallet-api wallet provider | — | — | — | — | 37 / 42 pass 1 diverge · 4 untested | 38 / 40 pass 2 untested | 77 / 83 pass 1 diverge · 5 untested |
| ociwallet-exchange-api document exchange | — | — | — | — | 14 / 14 pass all pass | 77 / 80 pass 3 untested | — |
| ociwallet-issuer-api issuer connector | — | — | — | — | 49 / 51 pass 2 untested | 43 / 44 pass 1 untested | — |
| wren-api payment app | 19 / 19 pass all pass | 33 / 33 pass all pass | 74 / 74 pass all pass | — | — | — | — |
passfaildivergeuntested Requirements for another role are not counted.
ociid-api · country identity
oci-org/ociid-api at 0438dfa, run 2026-11-30 : 176 tests, 0 failed. Against OCI-WALLET-3 0.1.0.
OCI-WALLET-3 — 29 of 29 pass
| WAL-6.1 | pass | test_an_identity_that_is_not_national_ignores_the_scope |
| WAL-6.2 | pass | test_a_wallet_learns_the_national_id_when_the_resident_connects, test_an_identity_that_is_not_national_ignores_the_scope |
| WAL-6.3 | pass | The provider name is the `wallet` column of ociid.clients (app/store.py · Client.wallet). test_only_a_wallet_provider_may_ask_and_only_for_its_own_address |
| WAL-6.4 | pass | test_pkce_s256_is_required, test_state_nonce_scope_and_response_type_are_checked |
| WAL-6.5 | pass | wallet_address is checked only on a request with the national_id scope at a national identity; on any other request it is ignored and never recorded (app/routers/oidc.py · validate_request). test_only_a_wallet_provider_may_ask_and_only_for_its_own_address, test_connecting_sends_the_card |
| WAL-6.6 | pass | test_unknown_client_is_not_redirected, test_unregistered_redirect_is_never_redirected_to |
| WAL-6.7 | pass | test_authorize_redirect_carries_state_and_issuer, test_wal_6_7_an_error_redirect_carries_iss_and_state |
| WAL-6.8 | pass | test_a_resident_without_a_number_cannot_connect |
| WAL-6.9 | pass | The sentence above the values always says "and your date of birth", also when none is held and none is shown (app/pages.py · _national_consent). test_wal_6_9_the_consent_page_names_the_provider_and_shows_what_is_shared, test_wal_6_9_no_date_of_birth_is_shown_when_none_is_held, test_the_resident_is_told_what_is_shared_and_where_the_card_goes |
| WAL-6.10 | pass | test_wal_6_10_the_consent_page_says_where_the_card_goes_only_when_an_address_is_given, test_the_resident_is_told_what_is_shared_and_where_the_card_goes |
| WAL-6.11 | pass | Tested: both answers are on the page; cancel gives access_denied, no code and no wallet link (no code, so no card). Not tested: "equal standing". Both are full-width buttons; Connect is filled and Cancel is outlined (app/pages.py · _national_consent). test_saying_no_shares_nothing, test_wal_6_9_the_consent_page_names_the_provider_and_shows_what_is_shared |
| WAL-6.12 | pass | The lifetime is settings.code_ttl, 60 seconds by default (app/config.py); no test asserts the number 60. test_code_is_single_use, test_expired_code_is_rejected, test_code_for_another_client_is_rejected, test_token_with_a_different_redirect_is_rejected, test_wrong_verifier_is_rejected_and_burns_the_code, test_a_wallet_learns_the_national_id_when_the_resident_connects |
| WAL-6.13 | pass | test_code_is_single_use, test_expired_code_is_rejected, test_code_for_another_client_is_rejected, test_token_with_a_different_redirect_is_rejected, test_wrong_verifier_is_rejected_and_burns_the_code, test_token_request_shape_errors |
| WAL-6.14 | pass | test_wal_6_14_the_id_token_never_carries_the_national_claims, test_a_wallet_learns_the_national_id_when_the_resident_connects, test_without_the_scope_the_wallet_learns_nothing_more |
| WAL-6.15 | pass | test_a_wallet_learns_the_national_id_when_the_resident_connects, test_wal_6_15_birthdate_and_gender_are_left_out_when_not_held |
| WAL-6.16 | pass | test_wal_6_14_the_id_token_never_carries_the_national_claims, test_a_wallet_learns_the_national_id_when_the_resident_connects, test_wal_6_16_sub_is_not_the_national_id_number |
| WAL-6.17 | pass | test_a_refreshed_session_does_not_carry_the_number |
| WAL-6.18 | pass | test_a_wallet_learns_the_national_id_when_the_resident_connects, test_without_the_scope_the_wallet_learns_nothing_more, test_wal_6_15_birthdate_and_gender_are_left_out_when_not_held |
| WAL-6.19 | pass | test_wal_6_19_errors_have_the_oauth_shape_and_never_the_number, test_userinfo_rejects_bad_tokens |
| WAL-7.1 | pass | test_a_wallet_learns_the_national_id_when_the_resident_connects, test_connecting_sends_the_card |
| WAL-7.2 | pass | test_connecting_sends_the_card |
| WAL-7.3 | pass | Tested: the identity hands its issuer an unsigned card of type IDCRD and signs nothing. That the issuer is a registered, accredited doc_issuer is a fact of the deployment (ID_CARD_ISSUER_ID, app/idcard.py · configured), not of this code. test_wal_7_3_the_identity_sends_its_issuer_an_unsigned_card_and_signs_nothing, test_the_card_is_issued_once_and_pushed_to_the_address |
| WAL-7.4 | pass | test_the_card_is_issued_once_and_pushed_to_the_address, test_wal_7_4_a_second_wallet_gets_the_same_card |
| WAL-7.5 | pass | The id is the first 16 hex characters of the resident's random internal uuid (app/idcard.py · doc_id). test_the_card_is_issued_once_and_pushed_to_the_address |
| WAL-7.6 | pass | test_the_card_is_issued_once_and_pushed_to_the_address, test_wal_7_6_the_card_leaves_out_what_the_identity_does_not_hold |
| WAL-7.7 | pass | Tested: the identity's only two calls are to its issuer (issue, then push to the address). The path from the issuer through the exchanges is the issuer's and the exchange's. test_the_card_is_issued_once_and_pushed_to_the_address |
| WAL-7.8 | pass | The card is sent from a background task added after the tokens are made (app/routers/oidc.py · token). No test asserts the order on the wire. test_connecting_sends_the_card, test_a_card_that_cannot_be_delivered_does_not_fail_the_connection, test_wal_7_8_a_card_that_cannot_be_issued_leaves_the_connect_as_it_was, test_the_card_is_issued_once_and_pushed_to_the_address |
| WAL-7.9 | pass | test_the_card_is_issued_once_and_pushed_to_the_address |
| WAL-7.10 | pass | The card is issued from a background task added after the tokens are made (app/routers/oidc.py · token), as for WAL-7.8. No test asserts the order on the wire. test_wal_7_10_without_an_address_the_card_is_issued_and_not_pushed, test_wal_7_10_without_the_scope_no_card_is_issued, test_wal_7_10_a_card_that_cannot_be_issued_leaves_the_token_answer_as_it_was, test_connecting_sends_the_card |
ocipay-api · payments switch
oci-org/ocipay-api at f11aca3, run 2026-11-29 : 202 tests, 0 failed. Against OCI-PAY-1 0.1.0, OCI-PAY-2 0.1.0, OCI-PAY-3 0.1.0, OCI-PAY-4 0.1.0.
Message models — 19 of 19 calls match the spec
The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.
| GET /v1/payments/{payment_id} | match | |
| POST /link/v1/collect-requests | match | |
| POST /link/v1/collect-requests/{request_id}/status | match | |
| POST /link/v1/lookup | match | |
| POST /link/v1/payments | match | |
| POST /link/v1/quotes | match | |
| POST /link/v1/relay | match | |
| POST /link/v1/to-provider | match | |
| POST /v1/balance | match | |
| POST /v1/collect-requests | match | |
| POST /v1/collect-requests/{request_id}/status | match | |
| POST /v1/connect/accounts | match | |
| POST /v1/connect/link | match | |
| POST /v1/connect/unlink | match | |
| POST /v1/lookup | match | |
| POST /v1/payments | match | |
| POST /v1/quotes | match | |
| POST /v1/relay | match | |
| POST /v1/settlement/cycles | match |
OCI-PAY-1 — 41 of 41 pass
| ADDR-4.1 | pass | test_address_parsing, test_lookup_asks_the_provider_and_never_the_bank, test_lookup_local_cross_border_and_unknown |
| ADDR-4.2 | pass | test_address_parsing |
| ADDR-4.3 | pass | test_payment_input_validation, test_lookup_local_cross_border_and_unknown |
| ADDR-4.4 | pass | test_addr_4_4_a_non_ascii_address_is_looked_up_and_paid, test_addr_4_4_the_switch_allows_any_non_space_character |
| ADDR-5.1 | pass | test_paying_a_provider_address_credits_the_account_at_its_bank, test_lookup_asks_the_provider_and_never_the_bank |
| ADDR-5.2 | pass | test_addr_5_2_a_handle_on_a_participant_that_is_not_a_bank_or_provider_is_ignored |
| ADDR-5.3 | pass | test_lookup_local_cross_border_and_unknown, test_lookup_asks_the_provider_and_never_the_bank |
| ADDR-5.5 | pass | test_addr_5_5_sw_3_4_a_registry_handle_with_a_leading_at_and_capitals_still_matches, test_addr_5_5_sw_3_4_handles_are_read_without_one_leading_at_and_lower_cased, test_addr_5_5_only_one_leading_at_is_removed_from_the_registry_value, test_addr_5_5_only_one_leading_at_is_removed |
| ADDR-5.6 | pass | test_addr_5_6_the_handle_of_a_participant_that_is_not_active_is_unknown |
| ADDR-5.7 | pass | test_money_to_the_banks_address_goes_to_the_bank_as_before_and_the_app_is_told, test_the_bank_still_pays_from_its_own_addresses_exactly_as_before |
| ADDR-6.8 | pass | test_paying_a_provider_address_credits_the_account_at_its_bank |
| ADDR-7.1 | pass | test_lookup_local_cross_border_and_unknown, test_lookup_asks_the_provider_and_never_the_bank |
| ADDR-7.2 | pass | test_an_address_the_provider_does_not_have_is_not_found, test_lookup_local_cross_border_and_unknown |
| ADDR-7.3 | pass | test_addr_7_3_a_bank_owner_is_not_asked_during_resolution |
| ADDR-7.4 | pass | test_lookup_asks_the_provider_and_never_the_bank, test_an_address_the_provider_does_not_have_is_not_found |
| ADDR-7.5 | pass | test_the_indian_switch_reaches_a_us_app_only_through_the_us_switch, test_a_provider_address_can_point_at_an_account_in_the_other_country |
| ADDR-7.6 | pass | test_an_address_the_provider_does_not_have_is_not_found |
| ADDR-7.7 | pass | test_a_provider_address_can_point_at_an_account_in_the_other_country, test_lookup_local_cross_border_and_unknown |
| ADDR-7.8 | pass | test_addr_7_8_a_resolution_is_never_cached |
| ADDR-7.9 | pass | test_registry_outage_gives_503_not_a_traceback |
| ADDR-7.10 | pass | test_a_provider_that_does_not_answer_is_a_503, test_an_address_the_provider_does_not_have_is_not_found |
| ADDR-8.1 | pass | test_paying_a_provider_address_credits_the_account_at_its_bank, test_lookup_asks_the_provider_and_never_the_bank |
| ADDR-8.2 | pass | test_a_bank_address_still_goes_to_the_bank_with_no_account_reference |
| ADDR-8.3 | pass | test_addr_8_3_a_country_in_the_providers_answer_changes_nothing |
| ADDR-9.1 | pass | test_lookup_asks_the_provider_and_never_the_bank, test_lookup_local_cross_border_and_unknown |
| ADDR-9.2 | pass | test_lookup_asks_the_provider_and_never_the_bank |
| ADDR-9.3 | pass | test_lookup_local_cross_border_and_unknown |
| ADDR-9.4 | pass | test_lookup_local_cross_border_and_unknown, test_a_provider_address_can_point_at_an_account_in_the_other_country |
| ADDR-9.5 | pass | test_lookup_asks_the_provider_and_never_the_bank |
| ADDR-9.6 | pass | test_lookup_asks_the_provider_and_never_the_bank |
| ADDR-9.7 | pass | test_addr_9_7_a_lookup_changes_nothing |
| ADDR-10.1 | pass | test_an_address_the_provider_does_not_have_is_not_found |
| ADDR-10.2 | pass | test_a_provider_that_does_not_answer_is_a_503, test_an_address_the_provider_does_not_have_is_not_found |
| ADDR-10.3 | pass | test_addr_10_3_a_not_found_answer_is_only_the_error, test_addr_10_3_an_address_that_exists_cannot_be_told_from_one_that_does_not |
| ADDR-10.4 | pass | test_an_address_the_provider_does_not_have_is_not_found |
| ADDR-11.1 | pass | test_a_request_for_money_goes_to_the_provider_that_issued_the_payer_address, test_a_request_across_the_border_reaches_the_provider_from_the_payers_switch, test_a_request_for_money_reaches_a_us_app_through_its_home_switch |
| ADDR-11.2 | pass | test_a_request_shows_at_the_bank_and_in_its_app_and_the_app_can_pay_it, test_a_bank_with_no_app_is_told_nothing_new |
| ADDR-11.3 | pass | test_the_app_that_issued_the_payee_address_is_told_the_money_arrived, test_money_to_the_banks_address_goes_to_the_bank_as_before_and_the_app_is_told |
| ADDR-11.4 | pass | test_what_a_provider_may_and_may_not_send, test_only_the_banks_own_app_may_use_the_banks_addresses, test_payment_input_validation, test_collect_request_input_validation_and_undeliverable |
| ADDR-12.2 | pass | test_lookup_asks_the_provider_and_never_the_bank, test_lookup_local_cross_border_and_unknown |
| ADDR-12.3 | pass | test_addr_12_3_an_answer_without_assurance_is_no_answer |
OCI-PAY-2 — 98 of 98 pass
| SW-3.2 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement |
| SW-3.4 | pass | test_addr_5_5_sw_3_4_a_registry_handle_with_a_leading_at_and_capitals_still_matches, test_addr_5_5_sw_3_4_handles_are_read_without_one_leading_at_and_lower_cased |
| SW-3.5 | pass | test_unsigned_and_badly_signed_calls_are_refused, test_domestic_payment_completes_and_positions_balance |
| SW-3.6 | pass | test_health_and_jwks_are_public |
| SW-3.7 | pass | test_a_suspended_participant_is_refused, test_sw_3_7_a_payee_bank_suspended_before_the_retry_is_not_credited, test_sw_3_7_a_payee_bank_suspended_before_the_repeat_fails_and_the_hold_is_given_back, test_sw_3_7_a_payee_provider_suspended_before_the_retry_is_not_credited |
| SW-3.8 | pass | test_registry_outage_gives_503_not_a_traceback |
| SW-4.1 | pass | test_unsigned_and_badly_signed_calls_are_refused, test_health_and_jwks_are_public |
| SW-4.2 | pass | test_malformed_signatures_are_rejected, test_signature_roundtrip_and_tamper |
| SW-4.3 | pass | test_signature_roundtrip_and_tamper, test_a_bank_only_reads_its_own_payments |
| SW-4.4 | pass | test_sw_4_4_alg_none_or_another_alg_is_refused, test_sw_4_4_a_registered_key_that_is_not_okp_ed25519_verifies_nothing, test_sw_4_4_every_alg_but_eddsa_is_refused, test_sw_4_4_only_an_okp_ed25519_key_verifies |
| SW-4.5 | pass | test_sw_4_5_a_header_missing_a_member_or_of_the_wrong_type_is_refused, test_sw_4_5_a_header_missing_a_member_is_refused, test_sw_4_5_a_member_of_the_wrong_type_is_refused |
| SW-4.6 | pass | test_domestic_payment_completes_and_positions_balance, test_unsigned_and_badly_signed_calls_are_refused |
| SW-4.7 | pass | test_unsigned_and_badly_signed_calls_are_refused |
| SW-4.8 | pass | test_unsigned_and_badly_signed_calls_are_refused |
| SW-4.9 | pass | test_a_suspended_participant_is_refused, test_unsigned_and_badly_signed_calls_are_refused |
| SW-4.10 | pass | test_participants_may_only_use_their_own_endpoints |
| SW-4.11 | pass | test_unsigned_and_badly_signed_calls_are_refused |
| SW-4.12 | pass | test_sw_4_12_a_key_set_is_cached_and_fetched_again_once_when_no_cached_key_verifies |
| SW-4.13 | pass | test_sw_4_13_the_switch_serves_the_key_it_signs_with_without_auth |
| SW-4.14 | pass | test_signature_is_checked_before_the_body_is_read |
| SW-4.15 | pass | test_registry_outage_gives_503_not_a_traceback |
| SW-5.1 | pass | test_payment_repeat_with_same_key_pays_once, test_settlement_cycle_is_idempotent_and_covers_domestic_banks |
| SW-5.2 | pass | test_sw_5_2_a_key_over_200_characters_is_refused |
| SW-5.3 | pass | test_sw_5_3_a_key_is_scoped_to_the_caller_and_the_path |
| SW-5.4 | pass | test_payment_repeat_with_same_key_pays_once |
| SW-5.5 | pass | test_sw_5_5_a_repeat_while_the_first_call_runs_is_409, test_sw_5_5_a_claim_left_without_a_result_for_120_seconds_is_run_again |
| SW-5.6 | pass | test_payment_repeat_with_same_key_pays_once, test_repeating_a_pending_payment_with_its_key_moves_it_forward, test_settlement_cycle_is_idempotent_and_covers_domestic_banks |
| SW-5.7 | pass | test_sw_5_7_a_call_that_fails_with_an_error_keeps_no_key |
| SW-5.8 | pass | test_sw_5_8_the_credit_carries_the_payment_id_as_its_key |
| SW-5.9 | pass | test_peer_bank_already_has_it_answers_keep_the_payment_pending, test_peer_switch_already_has_it_answers_keep_the_payment_pending |
| SW-6.1 | pass | test_money_roundtrip_and_validation, test_domestic_payment_completes_and_positions_balance |
| SW-6.2 | pass | test_quote_errors, test_payment_input_validation, test_money_roundtrip_and_validation |
| SW-6.3 | pass | test_money_roundtrip_and_validation, test_payment_input_validation |
| SW-6.4 | pass | test_money_roundtrip_and_validation, test_quote_prices_both_directions_and_adds_the_fee |
| SW-6.5 | pass | test_conversion_uses_fixed_rate_both_ways_and_rounds_half_even, test_quote_rounds_half_even_in_minor_units |
| SW-6.6 | pass | test_a_request_for_money_goes_to_the_provider_that_issued_the_payer_address |
| SW-6.7 | pass | test_sw_6_7_times_in_bodies_carry_an_offset |
| SW-6.8 | pass | test_address_parsing, test_payment_input_validation |
| SW-6.9 | pass | test_payment_input_validation |
| SW-6.10 | pass | test_sw_6_10_members_the_switch_does_not_know_are_ignored |
| SW-7.1 | pass | test_lookup_local_cross_border_and_unknown, test_lookup_asks_the_provider_and_never_the_bank |
| SW-7.2 | pass | test_lookup_local_cross_border_and_unknown, test_lookup_asks_the_provider_and_never_the_bank, test_sw_7_2_a_lookup_answer_without_name_or_assurance_is_no_answer |
| SW-7.3 | pass | test_lookup_local_cross_border_and_unknown, test_sw_7_2_a_lookup_answer_without_name_or_assurance_is_no_answer |
| SW-7.4 | pass | test_quote_errors |
| SW-7.5 | pass | test_quote_prices_both_directions_and_adds_the_fee |
| SW-7.6 | pass | test_quotes_are_single_use_and_expire, test_quote_must_match_the_payment, test_quote_prices_both_directions_and_adds_the_fee |
| SW-7.7 | pass | test_payment_input_validation |
| SW-7.8 | pass | test_what_a_provider_may_and_may_not_send, test_the_bank_still_pays_from_its_own_addresses_exactly_as_before |
| SW-7.9 | pass | test_quote_must_match_the_payment, test_quotes_are_single_use_and_expire, test_payment_input_validation |
| SW-7.10 | pass | test_payment_must_match_the_collect_request, test_collect_request_expiry, test_collect_request_is_delivered_approved_paid_and_reported_back, test_payment_input_validation |
| SW-7.11 | pass | test_sw_7_11_an_id_already_held_for_another_payment_is_409 |
| SW-7.12 | pass | test_domestic_payment_completes_and_positions_balance, test_bank_timeout_leaves_payment_pending_then_retry_completes_it |
| SW-7.13 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement, test_bank_timeout_leaves_payment_pending_then_retry_completes_it |
| SW-7.14 | pass | test_a_bank_only_reads_its_own_payments, test_a_provider_reads_its_own_payments_and_no_one_elses |
| SW-7.15 | pass | test_sw_7_15_a_read_does_not_move_a_payment_forward |
| SW-7.16 | pass | test_collect_request_input_validation_and_undeliverable |
| SW-7.17 | pass | test_collect_request_expiry |
| SW-7.18 | pass | test_collect_request_is_delivered_approved_paid_and_reported_back, test_a_request_for_money_goes_to_the_provider_that_issued_the_payer_address, test_cross_border_collect_request_relays_over_the_link_and_is_paid_with_a_quote, test_a_request_shows_at_the_bank_and_in_its_app_and_the_app_can_pay_it |
| SW-7.19 | pass | test_collect_request_input_validation_and_undeliverable |
| SW-7.20 | pass | test_collect_request_is_delivered_approved_paid_and_reported_back |
| SW-7.21 | pass | test_collect_request_status_roles, test_declined_and_reported_request_cannot_be_paid |
| SW-7.22 | pass | test_collect_request_status_roles, test_collect_request_expiry |
| SW-7.23 | pass | test_declined_and_reported_request_cannot_be_paid |
| SW-7.24 | pass | test_declined_and_reported_request_cannot_be_paid, test_collect_request_status_roles, test_a_request_with_a_payment_cannot_be_declined_and_still_gets_marked_paid, test_collect_request_expiry |
| SW-7.25 | pass | test_collect_request_is_delivered_approved_paid_and_reported_back, test_collect_request_status_roles |
| SW-7.26 | pass | test_sw_7_26_approving_a_request_moves_no_money |
| SW-8.2 | pass | test_domestic_payment_completes_and_positions_balance, test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement, test_paying_a_provider_address_credits_the_account_at_its_bank |
| SW-8.3 | pass | test_bank_rejecting_the_credit_fails_the_payment_cleanly, test_domestic_payment_completes_and_positions_balance |
| SW-8.4 | pass | test_a_provider_payment_holds_at_the_payers_bank_credits_and_then_takes_the_money, test_a_provider_payment_across_the_border_debits_the_amount_and_the_fee |
| SW-8.6 | pass | test_a_provider_payment_holds_at_the_payers_bank_credits_and_then_takes_the_money, test_if_the_payee_bank_refuses_the_held_money_is_given_back |
| SW-8.7 | pass | test_collect_request_is_delivered_approved_paid_and_reported_back |
| SW-8.8 | pass | test_collect_request_is_delivered_approved_paid_and_reported_back, test_a_request_shows_at_the_bank_and_in_its_app_and_the_app_can_pay_it |
| SW-9.1 | pass | test_bank_timeout_leaves_payment_pending_then_retry_completes_it, test_domestic_payment_completes_and_positions_balance |
| SW-9.2 | pass | test_peer_switch_already_has_it_answers_keep_the_payment_pending, test_domestic_payment_completes_and_positions_balance |
| SW-9.3 | pass | test_peer_bank_rejecting_fails_the_payment_and_frees_the_quote, test_bank_rejecting_the_credit_fails_the_payment_cleanly |
| SW-9.4 | pass | test_domestic_payment_completes_and_positions_balance, test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement |
| SW-9.5 | pass | test_the_app_that_issued_the_payee_address_is_told_the_money_arrived, test_collect_request_is_delivered_approved_paid_and_reported_back |
| SW-9.6 | pass | test_a_wrong_pin_fails_the_payment_and_nobody_is_credited, test_a_payee_bank_timeout_keeps_the_hold_and_a_repeat_finishes_it |
| SW-9.7 | pass | test_a_capture_the_bank_did_not_hear_is_sent_again, test_if_the_payee_bank_refuses_the_held_money_is_given_back |
| SW-9.8 | pass | test_a_provider_payment_holds_at_the_payers_bank_credits_and_then_takes_the_money, test_a_debit_the_bank_never_got_cannot_be_retried_without_the_pin |
| SW-10.1 | pass | test_sw_10_1_the_switch_waits_4_seconds_for_banks_and_providers_and_7_for_the_peer |
| SW-10.2 | pass | test_peer_bank_already_has_it_answers_keep_the_payment_pending, test_peer_switch_definite_4xx_still_fails_the_payment, test_bank_timeout_leaves_payment_pending_then_retry_completes_it |
| SW-10.5 | pass | test_bank_timeout_leaves_payment_pending_then_retry_completes_it, test_repeating_a_pending_payment_with_its_key_moves_it_forward |
| SW-10.7 | pass | test_bank_timeout_leaves_payment_pending_then_retry_completes_it, test_link_repeat_of_the_same_payment_credits_once, test_a_capture_the_bank_did_not_hear_is_sent_again |
| SW-11.1 | pass | test_cross_border_collect_request_relays_over_the_link_and_is_paid_with_a_quote |
| SW-11.2 | pass | test_collect_request_is_delivered_approved_paid_and_reported_back |
| SW-11.3 | pass | test_collect_request_expiry |
| SW-11.4 | pass | test_collect_request_is_delivered_approved_paid_and_reported_back, test_a_request_with_a_payment_cannot_be_declined_and_still_gets_marked_paid |
| SW-11.5 | pass | test_domestic_payment_completes_and_positions_balance |
| SW-12.1 | pass | test_domestic_payment_completes_and_positions_balance, test_bank_timeout_leaves_payment_pending_then_retry_completes_it |
| SW-12.2 | pass | test_domestic_payment_completes_and_positions_balance, test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement, test_us_to_in_payment_uses_the_us_fee |
| SW-12.3 | pass | test_a_provider_payment_holds_at_the_payers_bank_credits_and_then_takes_the_money |
| SW-12.4 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement, test_settlement_cycle_is_idempotent_and_covers_domestic_banks |
| SW-12.5 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement |
| SW-12.6 | pass | test_admin_endpoints_need_the_token_when_one_is_set, test_with_no_admin_token_configured_nothing_but_an_operator_sign_in_gets_in, test_settlement_cycle_is_idempotent_and_covers_domestic_banks |
| SW-13.1 | pass | test_payment_input_validation, test_bank_connect_errors |
| SW-13.2 | pass | test_signature_is_checked_before_the_body_is_read |
| SW-13.3 | pass | test_sw_13_3_messages_carry_no_pin_token_or_personal_data |
OCI-PAY-3 — 46 of 46 pass
| PSP-3.2 | pass | test_psp_3_2_a_provider_with_no_country_has_no_home_switch_and_is_refused |
| PSP-3.7 | pass | test_psp_3_7_a_suspended_provider_may_not_call_a_switch, test_psp_3_7_a_suspended_provider_is_not_called_for_its_addresses, test_psp_3_7_a_suspended_provider_cannot_be_relayed_for, test_psp_3_7_a_suspended_bank_app_is_not_told_of_requests |
| PSP-4.3 | pass | test_a_us_app_is_refused_by_the_indian_switch, test_what_a_provider_may_and_may_not_send |
| PSP-4.5 | pass | test_bank_connect_errors, test_what_a_provider_may_and_may_not_send |
| PSP-4.6 | pass | test_the_indian_switch_reaches_a_us_app_only_through_the_us_switch, test_a_request_for_money_reaches_a_us_app_through_its_home_switch |
| PSP-5.2 | pass | test_a_provider_payment_holds_at_the_payers_bank_credits_and_then_takes_the_money, test_bank_connect_errors |
| PSP-5.3 | pass | test_payment_repeat_with_same_key_pays_once |
| PSP-5.5 | pass | test_psp_5_5_connect_and_balance_take_no_key |
| PSP-5.6 | pass | test_bank_connect_errors |
| PSP-6.1 | pass | test_an_app_connects_a_bank_in_the_other_country_through_its_home_switch |
| PSP-6.2 | pass | test_what_may_be_relayed |
| PSP-6.3 | pass | test_what_may_be_relayed |
| PSP-6.4 | pass | test_what_may_be_relayed |
| PSP-6.5 | pass | test_psp_6_5_relay_with_no_linked_switch_is_404_and_a_silent_one_503 |
| PSP-6.6 | pass | test_what_a_provider_may_and_may_not_send, test_only_the_banks_own_app_may_use_the_banks_addresses, test_an_app_connects_a_bank_in_the_other_country_through_its_home_switch |
| PSP-6.7 | pass | test_an_app_pays_from_an_account_in_the_other_country_and_the_payment_stays_there |
| PSP-6.8 | pass | test_an_app_pays_from_an_account_in_the_other_country_and_the_payment_stays_there |
| PSP-6.9 | pass | test_an_app_pays_from_an_account_in_the_other_country_and_the_payment_stays_there |
| PSP-8.1 | pass | test_bank_connect_is_relayed_to_the_bank_with_the_providers_name |
| PSP-8.2 | pass | test_bank_connect_is_relayed_to_the_bank_with_the_providers_name |
| PSP-8.5 | pass | test_bank_connect_is_relayed_to_the_bank_with_the_providers_name |
| PSP-8.7 | pass | test_bank_connect_is_relayed_to_the_bank_with_the_providers_name |
| PSP-9.1 | pass | test_bank_connect_is_relayed_to_the_bank_with_the_providers_name |
| PSP-10.5 | pass | test_a_provider_address_can_point_at_an_account_in_the_other_country |
| PSP-11.1 | pass | test_a_provider_payment_holds_at_the_payers_bank_credits_and_then_takes_the_money |
| PSP-11.2 | pass | test_what_a_provider_may_and_may_not_send |
| PSP-11.3 | pass | test_what_a_provider_may_and_may_not_send |
| PSP-11.4 | pass | test_what_a_provider_may_and_may_not_send, test_only_the_banks_own_app_may_use_the_banks_addresses |
| PSP-11.6 | pass | test_payment_input_validation |
| PSP-11.8 | pass | test_a_provider_payment_across_the_border_debits_the_amount_and_the_fee |
| PSP-11.9 | pass | test_a_provider_payment_holds_at_the_payers_bank_credits_and_then_takes_the_money, test_a_debit_the_bank_never_got_cannot_be_retried_without_the_pin |
| PSP-11.10 | pass | test_a_wrong_pin_fails_the_payment_and_nobody_is_credited |
| PSP-12.1 | pass | test_a_provider_reads_its_own_payments_and_no_one_elses, test_an_app_pays_from_an_account_in_the_other_country_and_the_payment_stays_there |
| PSP-12.2 | pass | test_a_provider_reads_its_own_payments_and_no_one_elses |
| PSP-13.1 | pass | test_a_provider_asks_for_money_for_its_own_address |
| PSP-13.2 | pass | test_psp_13_2_a_providers_request_must_be_for_its_own_local_address_in_the_payees_currency |
| PSP-13.4 | pass | test_a_request_for_money_goes_to_the_provider_that_issued_the_payer_address, test_collect_request_input_validation_and_undeliverable |
| PSP-13.5 | pass | test_a_provider_asks_for_money_for_its_own_address |
| PSP-13.9 | pass | test_collect_request_status_roles |
| PSP-14.7 | pass | test_an_address_the_provider_does_not_have_is_not_found, test_a_provider_that_does_not_answer_is_a_503 |
| PSP-14.12 | pass | test_the_app_that_issued_the_payee_address_is_told_the_money_arrived, test_the_indian_switch_reaches_a_us_app_only_through_the_us_switch |
| PSP-14.14 | pass | test_psp_14_14_money_arrived_is_sent_once_as_best_effort |
| PSP-15.3 | pass | test_the_banks_app_pays_from_the_same_address, test_only_the_banks_own_app_may_use_the_banks_addresses, test_the_app_asks_for_money_for_the_banks_address |
| PSP-15.4 | pass | test_money_to_the_banks_address_goes_to_the_bank_as_before_and_the_app_is_told |
| PSP-15.5 | pass | test_a_request_shows_at_the_bank_and_in_its_app_and_the_app_can_pay_it, test_paid_at_the_bank_the_apps_copy_stops_waiting_and_declined_in_the_app_the_banks_does |
| PSP-15.6 | pass | test_a_bank_with_no_app_is_told_nothing_new |
OCI-PAY-4 — 104 of 104 pass
| LINK-3.1 | pass | test_participants_may_only_use_their_own_endpoints |
| LINK-3.2 | pass | test_participants_may_only_use_their_own_endpoints |
| LINK-3.3 | pass | test_link_3_3_a_switch_of_the_same_country_is_refused_the_link |
| LINK-3.4 | pass | test_the_indian_switch_reaches_a_us_app_only_through_the_us_switch, test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement |
| LINK-3.5 | pass | test_link_refuses_forged_or_inconsistent_payments, test_link_collect_requests_are_checked |
| LINK-4.1 | pass | test_link_4_1_only_an_active_switch_of_another_country_is_the_peer |
| LINK-4.2 | pass | test_link_4_2_the_configured_peer_url_is_used_for_every_link_call_not_the_registry_base_url |
| LINK-4.3 | pass | test_link_4_3_the_signed_htu_is_the_receivers_self_url_plus_the_path |
| LINK-4.4 | pass | test_quote_errors, test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement |
| LINK-4.5 | pass | test_link_4_5_with_no_peer_registered_nothing_is_sent |
| LINK-4.6 | pass | test_link_4_6_relay_and_to_provider_go_only_to_the_peer_of_the_named_country |
| LINK-5.1 | pass | test_link_5_1_link_calls_are_post_and_the_signature_is_checked_before_the_body |
| LINK-5.2 | pass | test_lookup_local_cross_border_and_unknown |
| LINK-5.3 | pass | test_link_5_3_money_on_the_link_must_be_a_valid_amount_in_inr_or_usd |
| LINK-5.4 | pass | test_link_5_4_a_link_body_of_the_wrong_shape_is_422_validation_error |
| LINK-5.5 | pass | test_link_5_5_payments_and_requests_need_an_idempotency_key_the_status_call_does_not |
| LINK-5.6 | pass | test_link_5_6_the_payment_id_and_the_request_id_are_the_link_idempotency_keys |
| LINK-5.7 | pass | test_link_refuses_forged_or_inconsistent_payments, test_link_collect_requests_are_checked |
| LINK-6.1 | pass | test_lookup_local_cross_border_and_unknown |
| LINK-6.2 | pass | test_lookup_local_cross_border_and_unknown, test_a_provider_address_can_point_at_an_account_in_the_other_country |
| LINK-6.3 | pass | test_link_6_3_the_link_lookup_answers_only_name_verified_bank_name_and_assurance |
| LINK-6.4 | pass | test_link_6_4_a_silent_bank_or_provider_is_503_on_the_link |
| LINK-6.5 | pass | test_lookup_local_cross_border_and_unknown |
| LINK-7.1 | pass | test_quote_prices_both_directions_and_adds_the_fee |
| LINK-7.2 | pass | test_quote_prices_both_directions_and_adds_the_fee |
| LINK-7.3 | pass | test_link_refuses_forged_or_inconsistent_payments |
| LINK-7.4 | pass | test_conversion_uses_fixed_rate_both_ways_and_rounds_half_even, test_quote_rounds_half_even_in_minor_units |
| LINK-7.5 | pass | test_quote_prices_both_directions_and_adds_the_fee |
| LINK-7.6 | pass | test_quote_errors |
| LINK-7.7 | pass | test_quote_prices_both_directions_and_adds_the_fee, test_us_to_in_payment_uses_the_us_fee |
| LINK-7.8 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement, test_quote_prices_both_directions_and_adds_the_fee |
| LINK-7.9 | pass | test_quote_prices_both_directions_and_adds_the_fee, test_quotes_are_single_use_and_expire |
| LINK-7.10 | pass | test_link_7_10_the_receiving_switch_keeps_no_state_for_a_quote |
| LINK-7.11 | pass | test_link_7_11_a_link_quote_carries_to_address_and_amount_and_from_address_is_ignored |
| LINK-7.12 | pass | test_quote_errors |
| LINK-7.13 | pass | test_quote_prices_both_directions_and_adds_the_fee |
| LINK-7.14 | pass | test_link_7_14_a_peer_quote_in_the_wrong_currencies_is_502_peer_rejected |
| LINK-7.15 | pass | test_quote_prices_both_directions_and_adds_the_fee |
| LINK-7.16 | pass | test_quote_when_the_peer_is_down_is_503, test_quote_errors |
| LINK-7.17 | pass | test_peer_bank_rejecting_fails_the_payment_and_frees_the_quote |
| LINK-8.1 | pass | test_link_8_1_the_forward_comes_after_the_quote_is_claimed_and_the_payers_money_is_held |
| LINK-8.2 | pass | test_link_8_2_the_link_payment_body_has_exactly_its_members_and_no_fee_quote_account_or_pin |
| LINK-8.3 | pass | test_an_app_pays_from_an_account_in_the_other_country_and_the_payment_stays_there |
| LINK-8.4 | pass | test_pending_cross_border_payment_resolves_through_the_peers_own_retry, test_peer_timeout_is_pending_and_the_peer_dedups_on_retry |
| LINK-8.5 | pass | test_link_refuses_forged_or_inconsistent_payments |
| LINK-8.6 | pass | test_link_refuses_forged_or_inconsistent_payments |
| LINK-8.7 | pass | test_link_refuses_forged_or_inconsistent_payments |
| LINK-8.8 | pass | test_link_refuses_forged_or_inconsistent_payments |
| LINK-8.9 | pass | test_cross_border_collect_request_relays_over_the_link_and_is_paid_with_a_quote |
| LINK-8.10 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement |
| LINK-8.11 | pass | test_pending_cross_border_payment_resolves_through_the_peers_own_retry, test_peer_timeout_is_pending_and_the_peer_dedups_on_retry |
| LINK-8.12 | pass | test_link_repeat_of_the_same_payment_credits_once |
| LINK-8.13 | pass | test_link_refuses_forged_or_inconsistent_payments |
| LINK-8.14 | pass | test_link_refuses_forged_or_inconsistent_payments, test_link_repeat_of_the_same_payment_credits_once |
| LINK-8.15 | pass | test_link_8_15_the_link_payment_answer_is_the_full_inbound_payment_record |
| LINK-8.16 | pass | test_peer_bank_rejecting_fails_the_payment_and_frees_the_quote, test_peer_timeout_is_pending_and_the_peer_dedups_on_retry |
| LINK-8.17 | pass | test_peer_bank_rejecting_fails_the_payment_and_frees_the_quote, test_peer_switch_definite_4xx_still_fails_the_payment, test_peer_timeout_is_pending_and_the_peer_dedups_on_retry |
| LINK-8.18 | pass | test_peer_bank_rejecting_fails_the_payment_and_frees_the_quote |
| LINK-9.1 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement |
| LINK-9.2 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement, test_pending_cross_border_payment_resolves_through_the_peers_own_retry |
| LINK-9.3 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement |
| LINK-9.4 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement, test_us_to_in_payment_uses_the_us_fee |
| LINK-9.5 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement, test_us_to_in_payment_uses_the_us_fee |
| LINK-9.6 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement |
| LINK-9.7 | pass | test_in_to_us_payment_converts_and_positions_net_to_zero_after_settlement |
| LINK-10.1 | pass | test_cross_border_collect_request_relays_over_the_link_and_is_paid_with_a_quote |
| LINK-10.2 | pass | test_link_collect_requests_are_checked |
| LINK-10.3 | pass | test_link_collect_requests_are_checked |
| LINK-10.4 | pass | test_link_collect_requests_are_checked |
| LINK-10.5 | pass | test_link_collect_requests_are_checked |
| LINK-10.6 | pass | test_a_request_across_the_border_reaches_the_provider_from_the_payers_switch, test_cross_border_collect_request_relays_over_the_link_and_is_paid_with_a_quote |
| LINK-10.7 | pass | test_link_10_7_a_failed_link_call_deletes_the_request |
| LINK-10.8 | pass | test_cross_border_collect_request_relays_over_the_link_and_is_paid_with_a_quote |
| LINK-10.9 | pass | test_cross_border_collect_request_relays_over_the_link_and_is_paid_with_a_quote |
| LINK-10.10 | pass | test_cross_border_collect_decline_and_cancel_are_relayed_both_ways |
| LINK-10.11 | pass | test_cross_border_collect_decline_and_cancel_are_relayed_both_ways, test_cross_border_collect_request_relays_over_the_link_and_is_paid_with_a_quote |
| LINK-10.12 | pass | test_link_10_12_a_change_the_rules_refuse_over_the_link_gets_its_code |
| LINK-10.13 | pass | test_link_10_13_repeating_the_current_status_over_the_link_is_relayed_false_and_changes_nothing |
| LINK-10.14 | pass | test_cross_border_collect_decline_and_cancel_are_relayed_both_ways, test_cross_border_collect_request_relays_over_the_link_and_is_paid_with_a_quote |
| LINK-10.15 | pass | test_link_10_15_the_sending_switch_records_the_change_first_and_a_failed_link_call_leaves_it |
| LINK-11.1 | pass | test_what_may_be_relayed |
| LINK-11.2 | pass | test_what_may_be_relayed |
| LINK-11.3 | pass | test_an_app_pays_from_an_account_in_the_other_country_and_the_payment_stays_there |
| LINK-11.4 | pass | test_what_a_provider_may_and_may_not_send, test_an_app_connects_a_bank_in_the_other_country_through_its_home_switch |
| LINK-11.5 | pass | test_what_may_be_relayed |
| LINK-11.6 | pass | test_what_may_be_relayed |
| LINK-11.7 | pass | test_what_a_provider_may_and_may_not_send, test_only_the_banks_own_app_may_use_the_banks_addresses, test_an_app_pays_from_an_account_in_the_other_country_and_the_payment_stays_there |
| LINK-11.8 | pass | test_an_app_pays_from_an_account_in_the_other_country_and_the_payment_stays_there |
| LINK-11.9 | pass | test_an_app_pays_from_an_account_in_the_other_country_and_the_payment_stays_there, test_what_a_provider_may_and_may_not_send |
| LINK-12.1 | pass | test_the_indian_switch_reaches_a_us_app_only_through_the_us_switch, test_a_request_for_money_reaches_a_us_app_through_its_home_switch |
| LINK-12.2 | pass | test_link_12_2_a_to_provider_call_needs_a_switch_path_and_an_object_body |
| LINK-12.3 | pass | test_the_link_forwards_only_to_an_app_registered_here |
| LINK-12.4 | pass | test_the_indian_switch_reaches_a_us_app_only_through_the_us_switch |
| LINK-12.5 | pass | test_the_indian_switch_reaches_a_us_app_only_through_the_us_switch |
| LINK-12.6 | pass | test_the_indian_switch_reaches_a_us_app_only_through_the_us_switch |
| LINK-13.1 | pass | test_link_13_1_link_calls_wait_link_timeout_and_bank_or_app_calls_wait_bank_timeout |
| LINK-13.2 | pass | test_peer_switch_already_has_it_answers_keep_the_payment_pending, test_peer_switch_definite_4xx_still_fails_the_payment, test_quote_when_the_peer_is_down_is_503 |
| LINK-13.3 | pass | test_peer_switch_already_has_it_answers_keep_the_payment_pending |
| LINK-13.4 | pass | test_peer_switch_already_has_it_answers_keep_the_payment_pending, test_peer_switch_definite_4xx_still_fails_the_payment |
| LINK-13.5 | pass | test_pending_cross_border_payment_resolves_through_the_peers_own_retry, test_peer_timeout_is_pending_and_the_peer_dedups_on_retry |
| LINK-13.6 | pass | test_link_13_6_there_is_no_link_call_to_read_a_payment |
| LINK-13.7 | pass | test_quote_when_the_peer_is_down_is_503 |
| LINK-14.1 | pass | test_link_14_1_link_error_messages_carry_no_account_pin_token_or_personal_detail |
| LINK-14.2 | pass | test_what_a_provider_may_and_may_not_send |
ocipay-bank-api · bank connector
oci-org/ocipay-bank-api at ffaf6da, run 2026-11-29 : 174 tests, 0 failed. Against OCI-PAY-1 0.1.0, OCI-PAY-2 0.1.0, OCI-PAY-3 0.1.0.
Message models — 11 of 11 calls match the spec (3 more lenient than the spec)
The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.
| POST /switch/v1/balance | match | |
| POST /switch/v1/collect-requests | lenient |
|
| POST /switch/v1/collect-requests/{request_id}/status | match | |
| POST /switch/v1/connect/accounts | match | |
| POST /switch/v1/connect/link | match | |
| POST /switch/v1/connect/unlink | match | |
| POST /switch/v1/credit | lenient |
|
| POST /switch/v1/debit | lenient |
|
| POST /switch/v1/debit/{payment_id}/capture | match | |
| POST /switch/v1/debit/{payment_id}/release | match | |
| POST /switch/v1/lookup | match |
OCI-PAY-1 — 9 of 9 pass
| ADDR-4.1 | pass | test_resolve_passes_the_switch_answer_through |
| ADDR-4.2 | pass | test_addr_4_2_address_validity, test_addr_4_2_customer_channel_accepts_up_to_200_characters, test_addr_4_2_switch_lookup_takes_addresses_up_to_200_characters |
| ADDR-6.1 | pass | test_credit_adds_money_and_is_idempotent_on_payment_id, test_lookup_unknown_address_is_404 |
| ADDR-6.3 | pass | test_addr_6_3_each_provider_holds_its_own_reference_for_one_account |
| ADDR-6.8 | pass | test_credit_to_a_provider_address_finds_the_account_by_the_reference |
| ADDR-8.2 | pass | test_credit_adds_money_and_is_idempotent_on_payment_id |
| ADDR-9.7 | pass | test_addr_9_7_a_lookup_changes_nothing_and_may_be_repeated |
| ADDR-12.1 | pass | test_addr_12_1_lookup_and_link_carry_the_assurance_the_bank_established[low], test_addr_12_1_lookup_and_link_carry_the_assurance_the_bank_established[substantial], test_addr_12_1_lookup_and_link_carry_the_assurance_the_bank_established[high] |
| ADDR-12.4 | pass | test_addr_12_4_payee_assurance_is_shown_but_not_treated_as_proof[low], test_addr_12_4_payee_assurance_is_shown_but_not_treated_as_proof[high] |
OCI-PAY-2 — 53 of 53 pass
| SW-3.2 | pass | test_sw_3_2_the_bank_signs_as_bank_code, test_sw_3_2_switch_ids_are_compared_as_exact_strings |
| SW-3.3 | pass | test_sw_3_3_the_bank_accepts_only_its_own_countrys_switch, test_sw_3_3_the_bank_calls_only_the_switch_of_its_country |
| SW-3.5 | pass | test_sw_3_5_htu_is_checked_against_the_banks_registry_base_url, test_sw_3_5_htu_falls_back_to_the_configured_url_without_a_registry_entry, test_sw_3_5_calls_to_the_switch_use_its_registry_base_url |
| SW-3.6 | pass | test_sw_3_6_the_bank_serves_its_jwks_without_authentication |
| SW-3.7 | pass | test_inactive_participant_is_refused |
| SW-3.8 | pass | test_trust_registry_down_is_502 |
| SW-4.1 | pass | test_unsigned_call_is_refused, test_connect_calls_must_be_signed_by_the_switch, test_payment_moves_money_through_the_switch |
| SW-4.2 | pass | test_attached_payload_is_refused, test_malformed_signature_headers |
| SW-4.3 | pass | test_signature_covers_the_body, test_reconciler_completes_a_pending_payment |
| SW-4.4 | pass | test_alg_none_is_refused |
| SW-4.5 | pass | test_malformed_signature_headers |
| SW-4.6 | pass | test_bad_signatures, test_payment_moves_money_through_the_switch |
| SW-4.7 | pass | test_bad_signatures |
| SW-4.8 | pass | test_bad_signatures |
| SW-4.9 | pass | test_inactive_participant_is_refused, test_bad_signatures |
| SW-4.10 | pass | test_bad_signatures |
| SW-4.11 | pass | test_bad_signatures |
| SW-4.12 | pass | test_sw_4_12_known_key_is_served_from_the_cache_for_300_seconds, test_sw_4_12_unknown_kid_refetches_keys_once, test_sw_4_12_unknown_kid_is_refused_after_one_refetch_and_not_refetched_within_30s, test_sw_4_12_a_key_no_cached_key_verifies_refetches_even_under_a_known_kid |
| SW-4.13 | pass | test_sw_4_13_the_bank_signs_only_with_a_key_it_publishes |
| SW-4.15 | pass | test_trust_registry_down_is_502 |
| SW-5.2 | pass | test_payment_moves_money_through_the_switch, test_reconciler_reposts_when_the_switch_never_got_it |
| SW-5.4 | pass | test_sw_5_4_a_repeated_payment_sends_the_same_bytes_and_key[domestic], test_sw_5_4_a_repeated_payment_sends_the_same_bytes_and_key[cross_border] |
| SW-5.8 | pass | test_credit_adds_money_and_is_idempotent_on_payment_id, test_money_in_is_asked_of_the_core_and_lands_once, test_debit_holds_the_money_and_capture_takes_it, test_release_gives_the_held_money_back |
| SW-5.9 | pass | test_switch_409_and_idempotency_422_keep_the_payment_pending, test_ambiguous_4xx_is_confirmed_with_a_switch_get |
| SW-6.1 | pass | test_payment_moves_money_through_the_switch, test_bad_amounts_are_422 |
| SW-6.3 | pass | test_bad_amounts_are_422, test_credit_refusals_leave_the_ledger_alone |
| SW-6.5 | pass | test_sw_6_5_amounts_are_held_as_integer_minor_units |
| SW-6.6 | pass | test_sw_6_6_the_bank_picks_a_uuid_for_each_payment_and_request |
| SW-6.7 | pass | test_sw_6_7_expires_at_is_sent_as_an_rfc_3339_time_with_an_offset |
| SW-6.9 | pass | test_other_payment_input_errors |
| SW-6.10 | pass | test_credit_adds_money_and_is_idempotent_on_payment_id, test_unicode_note_round_trips |
| SW-7.8 | pass | test_sw_7_8_the_banks_payment_carries_no_payer_or_credential |
| SW-7.9 | pass | test_cross_border_quote_then_payment_books_fee |
| SW-7.15 | pass | test_reconciler_reposts_a_payment_the_switch_still_calls_pending_once_per_30s, test_reading_a_pending_payment_resolves_it |
| SW-7.26 | pass | test_approving_pays_the_payee_and_makes_them_known |
| SW-8.1 | pass | test_lookup_unknown_address_is_404, test_bad_signatures, test_lookup_hides_internal_accounts |
| SW-8.2 | pass | test_credit_to_a_provider_address_finds_the_account_by_the_reference, test_credit_carries_fx_and_request_id |
| SW-8.3 | pass | test_credit_adds_money_and_is_idempotent_on_payment_id, test_credit_refusals_leave_the_ledger_alone |
| SW-8.4 | pass | test_debit_holds_the_money_and_capture_takes_it, test_debit_refusals, test_a_debit_is_a_hold_at_the_core_then_a_capture |
| SW-8.5 | pass | test_debit_holds_the_money_and_capture_takes_it, test_debit_refusals |
| SW-8.6 | pass | test_release_gives_the_held_money_back, test_debit_holds_the_money_and_capture_takes_it, test_debit_refusals, test_sw_8_6_the_switch_always_says_why_and_to_which_country |
| SW-8.7 | pass | test_incoming_request_from_a_stranger_is_flagged_first, test_expired_request_is_refused_on_delivery, test_delivering_the_same_request_twice_keeps_one |
| SW-8.8 | pass | test_switch_reports_the_outcome_of_my_request, test_payee_cancel_clears_the_payers_inbox, test_a_request_answered_through_the_banks_app_ends_the_copy_in_the_banks_inbox |
| SW-8.9 | pass | test_linking_needs_the_pin_and_gives_a_reference_only_that_provider_can_use, test_balance_and_unlink |
| SW-10.1 | pass | test_sw_10_1_every_call_to_the_switch_waits_at_most_10_seconds |
| SW-10.3 | pass | test_switch_timeout_transport_and_5xx_stay_pending_with_the_hold, test_switch_4xx_rejection_releases_the_hold, test_switch_409_and_idempotency_422_keep_the_payment_pending, test_reconciler_releases_a_payment_the_switch_failed |
| SW-10.4 | pass | test_ambiguous_4xx_is_confirmed_with_a_switch_get |
| SW-10.6 | pass | test_reconciler_reposts_a_payment_the_switch_still_calls_pending_once_per_30s, test_reconciler_reposts_when_the_switch_never_got_it, test_reconciler_leaves_pending_when_the_switch_is_unsure_or_down, test_the_reconciler_never_posts_a_providers_payment_itself |
| SW-10.7 | pass | test_money_in_is_asked_of_the_core_and_lands_once, test_debit_holds_the_money_and_capture_takes_it |
| SW-11.1 | pass | test_incoming_request_from_a_stranger_is_flagged_first, test_create_request_switch_timeout_keeps_it_pending_and_retry_reuses_the_id |
| SW-13.1 | pass | test_unsigned_call_is_refused, test_credit_refusals_leave_the_ledger_alone |
| SW-13.2 | pass | test_credit_refusals_leave_the_ledger_alone |
| SW-13.3 | pass | test_sw_13_3_error_messages_carry_no_pin_token_or_personal_data |
OCI-PAY-3 — 17 of 17 pass
| PSP-7.4 | pass | test_a_token_the_bank_does_not_trust_or_with_no_phone_is_refused, test_only_access_tokens_are_accepted, test_untrusted_issuer_c_rejected_without_network_call, test_token_checks |
| PSP-7.5 | pass | test_the_bank_finds_accounts_by_the_phone_the_identity_vouches_for, test_a_token_the_bank_does_not_trust_or_with_no_phone_is_refused |
| PSP-7.6 | pass | test_multi_issuer_accepts_a_and_b_and_caches_separately, test_linking_needs_the_pin_and_gives_a_reference_only_that_provider_can_use |
| PSP-8.3 | pass | test_the_bank_finds_accounts_by_the_phone_the_identity_vouches_for |
| PSP-8.4 | pass | test_the_bank_finds_accounts_by_the_phone_the_identity_vouches_for, test_linking_needs_the_pin_and_gives_a_reference_only_that_provider_can_use |
| PSP-8.8 | pass | test_linking_needs_the_pin_and_gives_a_reference_only_that_provider_can_use |
| PSP-8.9 | pass | test_linking_needs_the_pin_and_gives_a_reference_only_that_provider_can_use, test_old_pin_message_and_bad_pin_format, test_pin_nonce_cannot_be_replayed, test_wrong_pin_then_lockout_then_expiry |
| PSP-8.10 | pass | test_linking_needs_the_pin_and_gives_a_reference_only_that_provider_can_use, test_linking_tells_the_address_the_bank_issued |
| PSP-8.12 | pass | test_balance_and_unlink, test_debit_refusals |
| PSP-8.13 | pass | test_linking_needs_the_pin_and_gives_a_reference_only_that_provider_can_use |
| PSP-8.15 | pass | test_linking_needs_the_pin_and_gives_a_reference_only_that_provider_can_use, test_balance_and_unlink |
| PSP-8.16 | pass | test_balance_and_unlink |
| PSP-9.1 | pass | test_balance_and_unlink |
| PSP-9.2 | pass | test_balance_and_unlink |
| PSP-9.3 | pass | test_balance_and_unlink |
| PSP-15.5 | pass | test_a_request_answered_through_the_banks_app_ends_the_copy_in_the_banks_inbox |
| PSP-15.6 | pass | test_a_request_answered_through_the_banks_app_ends_the_copy_in_the_banks_inbox |
ocitrust-api · registry
oci-org/ocitrust-api at 8be04fb, run 2026-11-30 : 51 tests, 0 failed. Against OCI-WALLET-1 0.1.0.
Message models — 4 of 4 calls match the spec
The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.
| GET /v1/doc-types | match | |
| GET /v1/doc-types/{country}/{doc_type} | match | |
| GET /v1/participants | match | |
| PUT /v1/doc-types/{country}/{doc_type} | match |
OCI-WALLET-1 — 12 of 13 pass · 1 to do
| WDOC-3.5 | untested | At most one home: home is one nullable column (sql/migrations/004 · trust.participants.home; app/routers/participants.py · ParticipantOut.home). No test asserts it as a rule. What a participant with no home can do is addressed to the exchange. |
| WDOC-3.1 | pass | test_wdoc_3_1_the_four_document_kinds_are_accepted_and_carry_the_participant_fields, test_document_participants_and_their_home_exchange |
| WDOC-3.4 | pass | test_home_is_only_for_issuers_wallets_and_requesters, test_document_participants_and_their_home_exchange |
| WDOC-3.6 | pass | test_document_participants_and_their_home_exchange |
| WDOC-3.10 | pass | test_document_participants_and_their_home_exchange, test_seed_matches_contract |
| WDOC-4.1 | pass | test_the_same_type_code_is_separate_in_each_country, test_a_malformed_type_is_rejected |
| WDOC-4.2 | pass | test_a_malformed_type_is_rejected |
| WDOC-4.5 | pass | test_only_a_document_issuer_of_that_country_can_be_accredited, test_wdoc_4_5_a_refused_issuer_leaves_the_type_as_it_was |
| WDOC-4.6 | pass | test_replacing_a_type_replaces_its_issuers |
| WDOC-4.7 | pass | test_changing_a_type_needs_the_admin_token, test_wdoc_4_7_reading_needs_no_token_and_a_write_without_a_configured_token_is_503 |
| WDOC-4.11 | pass | test_wdoc_4_11_a_country_code_is_upper_cased_in_a_path_and_in_a_query, test_a_malformed_type_is_rejected |
| WDOC-4.12 | pass | test_an_unknown_type_is_not_found, test_a_country_registers_a_document_type_and_who_may_issue_it |
| WDOC-4.13 | pass | test_wdoc_4_13_a_write_answers_the_type_with_its_issuers_in_id_order_each_once, test_a_country_registers_a_document_type_and_who_may_issue_it, test_replacing_a_type_replaces_its_issuers |
ociwallet-api · wallet provider
oci-org/ociwallet-api at 9551e4d, run 2026-11-30 : 148 tests, 0 failed. Against OCI-WALLET-1 0.1.0, OCI-WALLET-2 0.1.0, OCI-WALLET-3 0.1.0.
Message models — 2 of 2 calls match the spec
The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.
| POST /exchange/v1/hello | match | |
| POST /exchange/v1/push | match |
OCI-WALLET-1 — 37 of 42 pass · 5 to do
| WDOC-3.3 | untested | The wallet's id is configuration (PARTICIPANT, app/config.py); app/people.py · provider takes the provider name by dropping the `wallet:` prefix. Nothing checks the id's form. |
| WDOC-4.10 | untested | app/registry.py · doc_types caches a country's list for 60 seconds and raises 502 TRUST_REGISTRY_UNAVAILABLE when it cannot be fetched, which fails documents.verify. The test fake has no way to take the type list down. |
| WDOC-8.7 | diverge | The second sentence is not met for a pushed document. A pushed document is stored with the status `active` and status_at at the epoch (app/wallet.py · receive, _keep), so the next list or open asks the issuer. Until an answer arrives it is shown as `active`: when the issuer cannot be reached, GET /v1/documents shows `status: active` with no sign that it was never heard, and GET /v1/documents/{id} shows `status: active` with `check.status_asked: false` (app/wallet.py · _ask_status returns the stored status). There is no 'not yet heard' status. A push over a record already held as `revoked` also sets it back to `active`. For a document the wallet fetched, the kept status is the issuer's own answer and the clause holds. |
| WDOC-9.4 | untested | The printable copy is only ever stored and served as a file (app/wallet.py · _keep, file). `check` comes from documents.verify on the signed document alone (app/wallet.py · detail). No test asserts that a PDF is never treated as verified. |
| WDOC-10.6 | untested | No /v1 route takes a wallet address: everything a person holds is reached by their sign-in (app/people.py · current_person). A push to an address only adds a document (app/wallet.py · receive). |
| WDOC-3.5 | pass | test_without_an_active_home_exchange_it_calls_nobody, test_wdoc_3_5_a_wallet_with_no_home_exchange_is_reached_by_nobody |
| WDOC-3.8 | pass | test_a_suspended_issuers_documents_are_not_accepted, test_the_catalogue_is_the_countrys_types_with_their_active_issuers |
| WDOC-3.9 | pass | test_wdoc_3_9_a_registry_that_cannot_be_read_fails_the_check, test_an_issuer_that_cannot_be_reached_leaves_what_was_last_heard, test_wex_4_8_a_registry_or_keys_that_cannot_be_fetched_refuse_the_call |
| WDOC-4.8 | pass | test_a_valid_signature_is_not_enough_the_issuer_must_be_accredited_for_the_type, test_wdoc_5_9_the_type_is_looked_up_in_the_issuers_country |
| WDOC-5.1 | pass | test_junk_is_not_a_document, test_a_document_that_does_not_check_out_is_not_kept, test_wex_5_4_a_push_takes_only_a_well_formed_uri_and_address, test_wdoc_5_2_a_uri_gives_the_issuer_the_type_and_the_id |
| WDOC-5.2 | pass | test_wdoc_5_2_a_uri_gives_the_issuer_the_type_and_the_id |
| WDOC-5.3 | pass | test_wdoc_5_3_a_uri_is_compared_as_an_exact_string |
| WDOC-5.9 | pass | test_wdoc_5_9_the_type_is_looked_up_in_the_issuers_country |
| WDOC-6.12 | pass | test_wdoc_6_12_the_wallet_keeps_the_exact_signed_text |
| WDOC-7.1 | pass | test_junk_is_not_a_document |
| WDOC-7.2 | pass | test_a_suspended_issuers_documents_are_not_accepted, test_wdoc_7_2_the_issuer_must_be_a_registered_active_document_issuer |
| WDOC-7.3 | pass | test_a_valid_signature_is_not_enough_the_issuer_must_be_accredited_for_the_type |
| WDOC-7.4 | pass | test_a_document_signed_by_anyone_but_its_issuer_is_not_genuine, test_a_changed_document_is_not_genuine, test_junk_is_not_a_document |
| WDOC-7.5 | pass | test_a_document_must_be_the_one_asked_for |
| WDOC-7.6 | pass | test_a_document_must_be_the_one_asked_for, test_wdoc_7_6_the_iss_claim_must_be_the_issuer_in_the_uri |
| WDOC-7.7 | pass | test_a_document_must_be_the_one_asked_for |
| WDOC-7.8 | pass | test_a_document_that_does_not_check_out_is_not_kept, test_a_pushed_document_is_checked_like_any_other, test_a_document_whose_issuer_lost_its_accreditation_is_shown_as_not_genuine |
| WDOC-7.9 | pass | test_an_expired_document_says_so, test_an_expired_document_is_genuine_and_expired, test_wdoc_7_9_an_exp_that_is_not_a_number_is_past_and_no_exp_does_not_expire |
| WDOC-7.10 | pass | test_a_rotated_document_key_is_picked_up_by_one_refetch |
| WDOC-7.11 | pass | test_wdoc_7_11_keys_that_cannot_be_fetched_are_not_a_verdict, test_wdoc_3_9_a_registry_that_cannot_be_read_fails_the_check, test_an_issuer_that_cannot_be_reached_leaves_what_was_last_heard |
| WDOC-7.12 | pass | The issuer is asked on every open and on a list for anything heard more than 60 seconds ago. What is shown when a pushed document's issuer has never answered is the divergence recorded at WDOC-8.7 and WAL-11.7. test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_a_pushed_document_lands_in_the_persons_wallet |
| WDOC-7.13 | pass | The checks run again on every open (GET /v1/documents/{id}). The list (GET /v1/documents) does not run them and carries no `check`; it shows the status only. test_a_document_whose_issuer_lost_its_accreditation_is_shown_as_not_genuine, test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands |
| WDOC-8.4 | pass | test_status_is_asked_of_the_issuer_not_read_from_the_copy, test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands |
| WDOC-8.5 | pass | test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands |
| WDOC-8.8 | pass | test_the_list_asks_again_only_about_what_it_has_not_heard_of_lately, test_an_issuer_that_cannot_be_reached_leaves_what_was_last_heard |
| WDOC-9.5 | pass | test_fetch_refuses_an_answer_that_does_not_check_out, test_a_pushed_document_is_checked_like_any_other, test_wal_11_6_a_printable_copy_that_is_broken_or_too_large_is_dropped |
| WDOC-10.1 | pass | What the wallet accepts as an address. The handles it gives are made lower case from the same characters (app/people.py · _assign_handle); no test checks every given address against the pattern. test_an_address_nobody_has, test_wex_5_4_a_push_takes_only_a_well_formed_uri_and_address |
| WDOC-10.2 | pass | The wallet's side: it answers only for addresses at its own provider name, and takes no call when it is not an active participant. Mapping an address to a participant is the exchange's. test_an_address_nobody_has, test_everyone_gets_an_address_and_no_two_people_the_same, test_a_suspended_or_unregistered_service_serves_nobody |
| WDOC-10.3 | pass | test_wdoc_10_3_the_registrys_address_suffix_is_not_read |
| WDOC-10.4 | pass | test_everyone_gets_an_address_and_no_two_people_the_same, test_an_address_nobody_has |
| WDOC-10.5 | pass | A capital letter is refused, and a handle is looked up as the exact string (app/wallet.py · receive). test_an_address_nobody_has |
| WDOC-11.1 | pass | test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one, test_once_connected_issuers_are_asked_by_the_number, test_wal_5_11_a_number_comes_only_from_a_connect |
| WDOC-11.2 | pass | The wallet's side of the rule (app/wallet.py · _theirs), applied to a fetched document. test_wdoc_11_2_the_number_decides_when_both_sides_have_one |
| WDOC-11.3 | pass | test_wdoc_11_3_otherwise_the_name_decides, test_a_document_that_does_not_check_out_is_not_kept |
| WDOC-11.4 | pass | test_wdoc_11_4_numbers_are_compared_without_spaces |
| WDOC-11.5 | pass | test_wdoc_11_5_names_are_compared_without_case_or_extra_spaces |
| WDOC-11.7 | pass | test_a_document_that_does_not_check_out_is_not_kept, test_wdoc_11_2_the_number_decides_when_both_sides_have_one |
OCI-WALLET-2 — 38 of 40 pass · 2 to do
| WEX-4.12 | untested | The wallet's answers are plain JSON with no signature (app/routers/exchange_api.py), and it reads its home exchange's answers without looking for one (app/finder.py · _ask). |
| WEX-14.3 | untested | A MAY. The wallet never repeats a call itself (app/finder.py · _ask makes one call); the person asks again, and a status that was not heard is asked again at the next list or open (app/wallet.py · _ask_status). |
| WEX-3.1 | pass | test_the_home_exchange_is_answered, test_moving_to_another_exchange_changes_who_may_call |
| WEX-3.4 | pass | test_the_home_exchange_is_answered |
| WEX-3.5 | pass | test_anyone_but_the_home_exchange_is_refused, test_it_cannot_call_itself |
| WEX-3.6 | pass | test_anyone_but_the_home_exchange_is_refused, test_only_the_home_exchange_may_push |
| WEX-3.9 | pass | test_anyone_but_the_home_exchange_is_refused, test_only_the_home_exchange_may_push |
| WEX-3.10 | pass | test_its_calls_go_to_its_home_exchange_signed, test_without_an_active_home_exchange_it_calls_nobody |
| WEX-3.11 | pass | The wallet's side: which exchange is its home follows the registry. The two MUSTs are the exchanges'. test_moving_to_another_exchange_changes_who_may_call |
| WEX-4.1 | pass | test_an_unsigned_call_is_refused, test_only_the_home_exchange_may_push, test_health_and_keys |
| WEX-4.2 | pass | test_its_calls_go_to_its_home_exchange_signed, test_a_suspended_or_unknown_caller_is_refused |
| WEX-4.3 | pass | test_a_signature_for_a_different_request_is_refused, test_its_calls_go_to_its_home_exchange_signed |
| WEX-4.4 | pass | test_a_suspended_or_unregistered_service_serves_nobody |
| WEX-4.5 | pass | test_someone_elses_key_does_not_verify, test_a_rotated_key_is_picked_up_by_one_refetch |
| WEX-4.6 | pass | test_wex_4_6_the_checks_are_made_in_order, test_an_unsigned_call_is_refused, test_a_signature_for_a_different_request_is_refused, test_an_old_or_future_signature_is_refused, test_a_suspended_or_unregistered_service_serves_nobody, test_a_suspended_or_unknown_caller_is_refused, test_someone_elses_key_does_not_verify, test_a_changed_body_does_not_verify, test_anyone_but_the_home_exchange_is_refused, test_a_signed_body_that_is_not_a_hello_is_a_validation_error |
| WEX-4.7 | pass | test_the_signature_is_checked_before_the_body |
| WEX-4.8 | pass | test_wex_4_8_a_registry_or_keys_that_cannot_be_fetched_refuse_the_call |
| WEX-4.9 | pass | Participants and document types are cached 60 seconds, a key set 300 seconds (app/signing.py, app/registry.py); the test asserts the key cache and its single refetch. test_a_rotated_key_is_picked_up_by_one_refetch |
| WEX-4.11 | pass | The wallet reads and sends no Idempotency-Key; the test asserts a repeated push keeps one document. test_a_pushed_document_lands_in_the_persons_wallet |
| WEX-5.1 | pass | test_its_calls_go_to_its_home_exchange_signed, test_find_asks_the_home_exchange_and_keeps_only_what_was_asked_for |
| WEX-5.2 | pass | test_wex_5_2_an_error_is_a_code_and_a_message |
| WEX-5.3 | pass | test_a_signed_body_that_is_not_a_hello_is_a_validation_error, test_wex_5_3_a_push_with_a_member_the_call_does_not_define_is_refused |
| WEX-5.4 | pass | What the wallet accepts on a push. What it sends in a find or a fetch is checked on the way in by app/schemas.py · FindIn, UriIn. test_wex_5_4_a_push_takes_only_a_well_formed_uri_and_address, test_an_address_nobody_has |
| WEX-5.5 | pass | test_fetch_refuses_an_answer_that_does_not_check_out, test_wal_10_9_a_status_answer_that_is_not_one_is_no_answer |
| WEX-5.6 | pass | test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one, test_once_connected_issuers_are_asked_by_the_number, test_wal_5_14_and_5_15_disconnecting_keeps_the_documents_and_asks_by_name_only |
| WEX-6.1 | pass | As receiver. As caller it sends a fresh secrets.token_urlsafe(12) (app/greet.py · greet). test_a_signed_body_that_is_not_a_hello_is_a_validation_error |
| WEX-6.2 | pass | test_the_home_exchange_is_answered |
| WEX-6.3 | pass | test_check_greets_the_home_exchange, test_wex_6_3_a_hello_passes_only_when_every_part_of_the_answer_is_as_expected |
| WEX-8.1 | pass | The wallet as the caller of /v1/find. test_find_asks_the_home_exchange_and_keeps_only_what_was_asked_for, test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one |
| WEX-8.2 | pass | The first sentence. Refusing a find without `person` is the exchange's. test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one |
| WEX-8.10 | pass | The wallet as the caller of /v1/find: it sends an empty `search` only with `person.national_id`. Passing it on is the exchange's. test_wal_8_10_an_empty_search_is_sent_only_for_a_connected_person |
| WEX-9.1 | pass | The wallet as the caller of /v1/fetch: it sends `uri` and `person`. Refusing a fetch without `person` is the exchange's. test_keeping_a_document_fetches_checks_and_stores_it, test_fetch_returns_a_verified_document_and_its_printable_copy |
| WEX-10.1 | pass | The wallet as the caller of /v1/status: it sends `uri` and nothing else. Refusing a `person` is the exchange's. test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands |
| WEX-11.16 | pass | test_only_the_home_exchange_may_push, test_a_pushed_document_lands_in_the_persons_wallet |
| WEX-11.17 | pass | test_a_pushed_document_lands_in_the_persons_wallet |
| WEX-11.18 | pass | test_an_address_nobody_has, test_a_pushed_document_is_checked_like_any_other, test_a_connected_person_is_not_sent_someone_elses_document, test_wal_11_4_an_expired_pushed_document_is_refused_and_nothing_is_kept |
| WEX-14.2 | pass | app/finder.py · _ask reads the status and the error body, never the message: 200 is an answer, 403/404/410/422/502 with an error body is passed on with its code, everything else is 502 EXCHANGE_UNAVAILABLE. A 409 or a 503 from the exchange is therefore answered as EXCHANGE_UNAVAILABLE. test_a_refusal_from_the_issuer_or_the_exchange_reaches_the_person_as_given, test_an_exchange_that_fails_is_unavailable |
| WEX-14.4 | pass | The wallet's side: a document it already holds, sent again, is one copy. The rest is the issuer's. test_a_pushed_document_lands_in_the_persons_wallet |
| WEX-15.1 | pass | As the caller of /v1/find, /v1/fetch and /v1/status. The wallet never calls /v1/push. test_a_refusal_from_the_issuer_or_the_exchange_reaches_the_person_as_given |
| WEX-15.2 | pass | The wallet's half. Turning it into WALLET_UNAVAILABLE is the exchange's. test_wex_15_2_issuer_keys_that_cannot_be_fetched_on_a_push_are_issuer_unavailable |
OCI-WALLET-3 — 77 of 83 pass · 6 to do
| WAL-4.5 | untested | A handle is made once, from the email address or the name the provider's identity gave, the first time the person is seen and before any connect (app/people.py · _assign_handle, current_person). The national ID number is never an input. |
| WAL-8.5 | untested | Carried out by the wallet app (ociwallet-app). This server gives it what it shows: the name in GET /v1/me and each issuer's name in GET /v1/doc-types (app/routers/people_api.py · me, doc_types). |
| WAL-10.4 | untested | The wallet reports only what its own check found and keeps the signed text unchanged (app/wallet.py · detail, _keep). No /v1 route hands the signed document itself to the person: GET /v1/documents/{id} returns the certificate read from it, so a person cannot yet pass the signed text to someone else to check. |
| WAL-11.7 | diverge | A pushed document is stored with the status `active` and status_at at the epoch (app/wallet.py · receive, _keep), so the next list or open asks the issuer. Until an answer arrives it is shown as `active`: when the issuer cannot be reached, GET /v1/documents shows `status: active` with no sign that it was never heard, and GET /v1/documents/{id} shows `status: active` with `check.status_asked: false` (app/wallet.py · _ask_status returns the stored status). There is no 'not yet heard' status. A push over a record already held as `revoked` also sets it back to `active`. What the clause asks and the code does do: the issuer is asked at the next list or open (tests/test_national.py::test_a_pushed_document_lands_in_the_persons_wallet asserts that call). |
| WAL-11.10 | untested | The refusals are fixed sentences (app/wallet.py · receive) or the verification's reason (app/documents.py · verify), which names the issuer's standing or the document type and nothing about the person. No test reads the messages for this. |
| WAL-12.5 | untested | An upload is stored with source `uploaded` and no URI, issuer or status (app/wallet.py · upload); the table's CHECK ties `issued` to a URI, a signed document and a status (sql/migrations/002); no route changes a document's source. No test tries a file that claims to be an issued document. |
| WAL-3.1 | pass | test_a_signed_in_person_is_who_their_identity_says, test_a_call_without_a_good_sign_in_is_refused |
| WAL-3.2 | pass | test_a_call_without_a_good_sign_in_is_refused, test_an_identity_that_cannot_be_reached_is_not_a_bad_sign_in |
| WAL-3.3 | pass | test_a_signed_in_person_is_who_their_identity_says, test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one |
| WAL-3.4 | pass | test_one_persons_wallet_is_invisible_to_another |
| WAL-3.5 | pass | GET /v1/me returns the name. Showing it on the search page is the app's. test_a_signed_in_person_is_who_their_identity_says |
| WAL-4.1 | pass | test_everyone_gets_an_address_and_no_two_people_the_same, test_a_signed_in_person_is_who_their_identity_says |
| WAL-4.2 | pass | test_everyone_gets_an_address_and_no_two_people_the_same |
| WAL-4.3 | pass | Asserts the email part, the added number and the name with dots. The cut to 30 characters is not asserted. test_everyone_gets_an_address_and_no_two_people_the_same |
| WAL-4.4 | pass | GET /v1/me returns `address`. Showing it is the app's. test_a_signed_in_person_is_who_their_identity_says |
| WAL-5.1 | pass | test_a_wallet_that_offers_no_national_identity, test_a_signed_in_person_is_who_their_identity_says |
| WAL-5.2 | pass | test_connecting_sends_the_person_to_the_identity_with_their_address, test_wal_5_4_a_new_start_discards_the_old_one_and_a_start_lasts_ten_minutes |
| WAL-5.3 | pass | The nonce also travels in the address the browser is sent to, as WAL-5.2 requires of the authorization request. test_wal_5_3_the_verifier_stays_with_the_server |
| WAL-5.4 | pass | test_the_wallet_learns_the_number_from_the_identity_itself, test_a_connection_belongs_to_the_person_who_started_it, test_wal_5_4_a_new_start_discards_the_old_one_and_a_start_lasts_ten_minutes |
| WAL-5.5 | pass | test_the_wallet_learns_the_number_from_the_identity_itself |
| WAL-5.6 | pass | Asserts the ID token's signature, iss, aud, exp and nonce, then that userinfo is asked with the access token, that its `sub` must be the ID token's, and that the number is read from userinfo only. A missing `sub` in the ID token and the single refetch of the identity's keys are in app/national.py · _id_claims and are not asserted. test_an_answer_that_does_not_check_out_connects_nothing, test_wal_5_6_the_number_is_fetched_from_userinfo_with_the_access_token, test_wal_5_6_a_userinfo_answer_for_another_sub_is_refused |
| WAL-5.7 | pass | test_an_answer_that_does_not_check_out_connects_nothing, test_wal_5_7_userinfo_failures |
| WAL-5.8 | pass | test_the_wallet_learns_the_number_from_the_identity_itself, test_one_national_identity_is_one_person_here |
| WAL-5.9 | pass | Kept by a unique index on the identity and the number as text with runs of spaces made one (sql/migrations/003, app/national.py · finish). The same number written with different spacing by the identity would not collide. test_one_national_identity_is_one_person_here |
| WAL-5.10 | pass | test_the_wallet_learns_the_number_from_the_identity_itself |
| WAL-5.11 | pass | test_wal_5_11_a_number_comes_only_from_a_connect |
| WAL-5.12 | pass | test_once_connected_issuers_are_asked_by_the_number, test_a_connected_person_is_not_sent_someone_elses_document, test_wdoc_11_2_the_number_decides_when_both_sides_have_one |
| WAL-5.13 | pass | test_disconnecting_forgets_the_number_and_keeps_the_documents |
| WAL-5.14 | pass | test_wal_5_14_and_5_15_disconnecting_keeps_the_documents_and_asks_by_name_only |
| WAL-5.15 | pass | test_wal_5_14_and_5_15_disconnecting_keeps_the_documents_and_asks_by_name_only, test_disconnecting_forgets_the_number_and_keeps_the_documents |
| WAL-5.17 | pass | app/people.py · current_person chooses the identity by the token's unverified `iss`, then checks the token in full against it (ES256, typ at+jwt, iss, client_id in aud, sub, exp). The single refetch of the identity's keys is shared with the wallet's own identity and is not asserted for this one. test_wal_5_17_a_national_token_is_taken_only_from_that_identity_and_for_this_client, test_wal_5_17_a_token_from_an_unknown_issuer_is_refused |
| WAL-5.18 | pass | test_wal_5_18_the_first_sign_in_needs_the_scope, test_wal_5_18_a_userinfo_answer_for_another_sub_is_refused, test_wal_5_18_an_identity_with_no_number_for_the_person_signs_nobody_in, test_wal_5_18_userinfo_failures |
| WAL-5.19 | pass | A person who disconnects and then signs in with the national identity is not found by the number any more: a new person is made (app/national.py · signed_in). test_wal_5_19_a_person_who_connected_earlier_is_the_same_wallet, test_wal_5_19_a_connect_records_who_the_person_is_at_the_identity |
| WAL-5.20 | pass | test_wal_5_20_a_new_person_arrives_connected, test_wal_5_20_first_calls_that_arrive_together_make_one_person |
| WAL-5.21 | pass | test_wal_5_21_a_later_sign_in_needs_neither_the_scope_nor_userinfo, test_wal_5_19_a_connect_records_who_the_person_is_at_the_identity |
| WAL-5.22 | pass | test_wal_5_22_a_person_who_signs_in_with_it_cannot_disconnect_it, test_wal_5_22_a_person_with_their_own_account_can_and_is_forgotten_at_the_identity |
| WAL-5.23 | pass | The card's type is NATIONAL_ID_CARD_TYPE (IDCRD) and its issuers the registry's for the country; the search is `number` and `date_of_birth`. The 1.5 s between looks is not asserted (the tests wait 0 s). test_wal_5_23_the_id_card_is_collected_by_a_find_and_kept, test_wal_5_23_a_person_who_connected_earlier_gets_the_card_too, test_wal_5_23_a_card_not_issued_yet_is_looked_for_four_times_and_no_failure_reaches_the_person |
| WAL-8.1 | pass | test_the_catalogue_is_the_countrys_types_with_their_active_issuers |
| WAL-8.2 | pass | test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one, test_once_connected_issuers_are_asked_by_the_number, test_keeping_a_document_fetches_checks_and_stores_it |
| WAL-8.3 | pass | test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one, test_wal_5_11_a_number_comes_only_from_a_connect |
| WAL-8.4 | pass | test_someone_whose_identity_gives_no_name_cannot_ask_issuers |
| WAL-8.6 | pass | test_find_asks_the_home_exchange_and_keeps_only_what_was_asked_for, test_its_calls_go_to_its_home_exchange_signed, test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_keeping_a_document_fetches_checks_and_stores_it |
| WAL-8.7 | pass | test_find_asks_the_home_exchange_and_keeps_only_what_was_asked_for |
| WAL-8.8 | pass | test_find_asks_for_the_signed_in_person_by_the_identitys_name_never_a_typed_one, test_keeping_a_document_fetches_checks_and_stores_it |
| WAL-8.9 | pass | Two failures are answered with other codes than EXCHANGE_UNAVAILABLE: a wallet with no active home exchange answers 503 NO_HOME_EXCHANGE (app/exchange.py · home), and a registry that cannot be read answers 502 TRUST_REGISTRY_UNAVAILABLE (app/signing.py · participants). Neither is in the spec's table for this call. test_a_refusal_from_the_issuer_or_the_exchange_reaches_the_person_as_given, test_an_exchange_that_fails_is_unavailable, test_a_document_that_does_not_check_out_is_not_kept |
| WAL-8.10 | pass | test_wal_8_10_an_empty_search_is_sent_only_for_a_connected_person |
| WAL-8.11 | pass | test_wal_8_11_every_issuer_of_every_type_is_asked_at_once, test_wal_8_11_no_more_than_six_issuers_are_asked_at_the_same_moment |
| WAL-9.1 | pass | test_fetch_returns_a_verified_document_and_its_printable_copy, test_fetch_refuses_an_answer_that_does_not_check_out, test_keeping_a_document_fetches_checks_and_stores_it |
| WAL-9.2 | pass | test_fetch_refuses_an_answer_that_does_not_check_out, test_a_document_that_does_not_check_out_is_not_kept |
| WAL-9.3 | pass | test_a_document_that_does_not_check_out_is_not_kept, test_wdoc_11_2_the_number_decides_when_both_sides_have_one, test_wdoc_11_3_otherwise_the_name_decides |
| WAL-9.4 | pass | The list's columns (name, number, dates, issuer name) are copies taken from the verified certificate when the document was kept (app/wallet.py · _keep); `certificate` and `holder` are read from the signed text each time. test_wdoc_6_12_the_wallet_keeps_the_exact_signed_text, test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands |
| WAL-9.5 | pass | test_fetch_returns_a_verified_document_and_its_printable_copy, test_fetch_refuses_an_answer_that_does_not_check_out, test_keeping_a_document_fetches_checks_and_stores_it |
| WAL-9.6 | pass | test_keeping_it_again_refreshes_it_and_does_not_duplicate, test_keeping_a_document_fetches_checks_and_stores_it |
| WAL-9.7 | pass | test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_keeping_it_again_refreshes_it_and_does_not_duplicate |
| WAL-9.8 | pass | Asserts no document and no history entry. That no file is left is by construction (the file is written inside the keeping transaction, after every check) and is not asserted. test_a_document_that_does_not_check_out_is_not_kept |
| WAL-10.1 | pass | The server reports the three results separately (`check.genuine`, `status`, `check.status_asked`); showing 'valid' is the app's. Point 3 is not met for a pushed document whose issuer has not answered yet: see WAL-11.7. test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_a_document_whose_issuer_lost_its_accreditation_is_shown_as_not_genuine, test_a_valid_signature_is_not_enough_the_issuer_must_be_accredited_for_the_type |
| WAL-10.2 | pass | test_a_document_that_does_not_check_out_is_not_kept, test_a_pushed_document_is_checked_like_any_other, test_a_document_whose_issuer_lost_its_accreditation_is_shown_as_not_genuine |
| WAL-10.3 | pass | test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_a_document_whose_issuer_lost_its_accreditation_is_shown_as_not_genuine, test_an_issuer_that_cannot_be_reached_leaves_what_was_last_heard, test_an_expired_document_is_genuine_and_expired |
| WAL-10.5 | pass | test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands |
| WAL-10.6 | pass | app/wallet.py · listing asks about at most 20 documents in one listing (_ASK_AT_ONCE), as the clause allows. test_the_list_asks_again_only_about_what_it_has_not_heard_of_lately |
| WAL-10.7 | pass | test_the_list_asks_again_only_about_what_it_has_not_heard_of_lately |
| WAL-10.8 | pass | Asserted for an open (`check.status_asked: false`). The list keeps and shows the last status but has no such flag; it carries only `status_at`, when the status was last heard. For a pushed document never yet heard about, the status shown is the assumed `active`: see WAL-11.7. test_an_issuer_that_cannot_be_reached_leaves_what_was_last_heard |
| WAL-10.9 | pass | test_wal_10_9_a_status_answer_that_is_not_one_is_no_answer, test_status_is_asked_of_the_issuer_not_read_from_the_copy |
| WAL-10.10 | pass | test_a_change_seen_by_two_reads_at_once_is_recorded_once, test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands |
| WAL-10.11 | pass | test_the_list_asks_again_only_about_what_it_has_not_heard_of_lately, test_keeping_it_again_refreshes_it_and_does_not_duplicate |
| WAL-11.1 | pass | test_only_the_home_exchange_may_push |
| WAL-11.2 | pass | test_an_address_nobody_has |
| WAL-11.3 | pass | test_a_pushed_document_is_checked_like_any_other |
| WAL-11.4 | pass | test_wal_11_4_an_expired_pushed_document_is_refused_and_nothing_is_kept, test_wex_4_8_a_registry_or_keys_that_cannot_be_fetched_refuse_the_call |
| WAL-11.5 | pass | test_a_connected_person_is_not_sent_someone_elses_document |
| WAL-11.6 | pass | test_a_pushed_document_is_checked_like_any_other, test_wal_11_6_a_printable_copy_that_is_broken_or_too_large_is_dropped |
| WAL-11.8 | pass | A document the person already kept by looking for it stays `received: false` when it is pushed later (app/wallet.py · _keep sets pushed_at only on a new record). test_a_pushed_document_lands_in_the_persons_wallet, test_a_document_the_person_found_is_not_marked_received |
| WAL-11.9 | pass | test_a_pushed_document_lands_in_the_persons_wallet |
| WAL-12.1 | pass | test_an_upload_is_kept_as_the_persons_own_unverified_file |
| WAL-12.2 | pass | test_an_upload_is_kept_as_the_persons_own_unverified_file |
| WAL-12.3 | pass | test_an_upload_must_be_a_real_pdf_or_image_of_a_sane_size, test_an_upload_is_kept_as_the_persons_own_unverified_file |
| WAL-12.4 | pass | test_wal_12_4_an_upload_is_recorded_in_history |
| WAL-13.1 | pass | test_opening_a_document_checks_it_again_and_asks_the_issuer_how_it_stands, test_removing_a_document_removes_its_file_and_is_remembered, test_wal_13_2_an_event_says_when_and_what_and_never_the_number, test_wal_12_4_an_upload_is_recorded_in_history |
| WAL-13.2 | pass | test_wal_13_2_an_event_says_when_and_what_and_never_the_number |
| WAL-13.3 | pass | The limit of 200 events is not asserted. test_one_persons_wallet_is_invisible_to_another, test_removing_a_document_removes_its_file_and_is_remembered |
| WAL-13.4 | pass | Asserted for an issued document. An upload goes through the same code (app/wallet.py · remove). test_removing_a_document_removes_its_file_and_is_remembered |
| WAL-13.5 | pass | test_wal_13_5_removing_tells_nobody_and_the_document_can_be_kept_again |
| WAL-13.6 | pass | The tests assert the content type, `no-store` and that another person gets 404. The header sent is `Cache-Control: private, no-store`. test_keeping_a_document_fetches_checks_and_stores_it, test_an_upload_is_kept_as_the_persons_own_unverified_file, test_one_persons_wallet_is_invisible_to_another |
ociwallet-exchange-api · document exchange
oci-org/ociwallet-exchange-api at 46f650d, run 2026-11-30 : 166 tests, 0 failed. Against OCI-WALLET-1 0.1.0, OCI-WALLET-2 0.1.0.
Message models — 4 of 10 calls match the spec · 6 without a model in the code
The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.
| POST /peer/v1/fetch | no model |
|
| POST /peer/v1/find | no model |
|
| POST /peer/v1/hello | match | |
| POST /peer/v1/push | match | |
| POST /peer/v1/status | no model |
|
| POST /v1/fetch | no model |
|
| POST /v1/find | no model |
|
| POST /v1/hello | match | |
| POST /v1/push | match | |
| POST /v1/status | no model |
|
OCI-WALLET-1 — 14 of 14 pass
| WDOC-3.5 | pass | test_an_issuer_with_no_active_home_exchange_cannot_be_reached, test_wdoc_3_5_a_participant_with_no_home_makes_no_document_call, test_wex_11_6_a_wallet_with_no_active_home_exchange_cannot_be_reached |
| WDOC-3.6 | pass | test_another_exchange_is_a_peer_in_the_same_country_or_another, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange |
| WDOC-3.8 | pass | test_a_suspended_or_unknown_caller_is_refused, test_a_suspended_issuer_is_not_found, test_an_address_at_no_wallet_provider, test_an_issuer_with_no_active_home_exchange_cannot_be_reached |
| WDOC-3.9 | pass | The 60-second cache (app/signing.py · participants, app/net.py · get_json) is not asserted; the MUST is. test_the_registry_being_down_is_not_the_callers_fault |
| WDOC-4.1 | pass | test_an_issuer_is_only_asked_for_types_it_is_accredited_for, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange, test_a_malformed_call_is_a_validation_error |
| WDOC-4.8 | pass | test_an_issuer_is_only_asked_for_types_it_is_accredited_for, test_who_may_push_what |
| WDOC-4.10 | pass | The 60-second cache (app/registry.py · doc_types) is not asserted; the MUST is. test_wdoc_4_10_document_types_that_cannot_be_read_fail_the_check |
| WDOC-5.1 | pass | test_a_malformed_call_is_a_validation_error |
| WDOC-5.2 | pass | test_a_call_for_a_member_issuer_goes_straight_to_it, test_a_push_from_another_exchange_is_delivered_to_a_member_wallet |
| WDOC-5.9 | pass | test_an_issuer_is_only_asked_for_types_it_is_accredited_for, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange |
| WDOC-6.12 | pass | test_a_document_passes_through_untouched, test_a_push_for_a_member_wallet_goes_straight_to_it |
| WDOC-10.1 | pass | test_an_address_at_no_wallet_provider |
| WDOC-10.2 | pass | test_a_push_for_a_member_wallet_goes_straight_to_it, test_an_address_at_no_wallet_provider |
| WDOC-10.3 | pass | test_wdoc_10_3_address_suffix_plays_no_part_in_finding_a_wallet |
OCI-WALLET-2 — 77 of 80 pass · 3 to do
| WEX-4.6 | untested | app/signing.py · verify makes checks 1 to 7 in this order, auth.signed the relation then the body, and routers/members.py the member's kind last. Each refusal has a test; no one test asserts the whole order. |
| WEX-4.11 | untested | No route reads an Idempotency-Key header (app/routers/members.py, app/routers/peers.py). No test asserts it. |
| WEX-12.3 | untested | docx.calls is the only table (sql/migrations/001_exchange.sql, 002_calls_about.sql) and app/audit.py · record the only write. No test asserts that nothing else is written. |
| WEX-3.1 | pass | test_wex_3_1_the_relation_comes_from_the_registry_never_from_the_request, test_a_member_that_moves_to_another_exchange_is_no_longer_served |
| WEX-3.2 | pass | test_a_member_is_answered_and_the_call_is_logged, test_a_caller_with_no_business_here_is_refused |
| WEX-3.3 | pass | test_another_exchange_is_a_peer_in_the_same_country_or_another |
| WEX-3.5 | pass | test_a_caller_with_no_business_here_is_refused, test_it_cannot_call_itself |
| WEX-3.6 | pass | test_a_caller_with_no_business_here_is_refused, test_a_member_cannot_use_the_peer_door_nor_a_peer_the_members, test_who_may_push_what |
| WEX-3.7 | pass | test_only_a_wallet_finds_and_fetches |
| WEX-3.8 | pass | test_who_may_push_what |
| WEX-3.11 | pass | test_a_member_that_moves_to_another_exchange_is_no_longer_served, test_wex_3_11_a_member_that_moves_here_is_served_with_no_other_step |
| WEX-4.1 | pass | Beyond the two paths the clause names, this service also answers without OCI-Signature: POST /admin/v1/check (admin bearer token, app/routers/admin.py), GET /api/health (an alias) and GET /docs (app/docs_page.py). None is a path of WEX-3.6. test_wex_4_1_every_path_needs_a_signature, test_health_and_keys |
| WEX-4.2 | pass | test_a_suspended_or_unknown_caller_is_refused, test_wex_4_10_a_call_passed_on_is_signed_again_by_the_exchange_for_the_next_receiver |
| WEX-4.3 | pass | test_a_signature_for_a_different_request_is_refused, test_wex_4_3_the_configured_address_is_used_only_when_the_registry_lists_none |
| WEX-4.4 | pass | test_an_exchange_that_is_suspended_or_unregistered_serves_nobody |
| WEX-4.5 | pass | test_someone_elses_key_does_not_verify, test_a_rotated_key_is_picked_up_by_one_refetch |
| WEX-4.7 | pass | Holds for the signature and the relation. A member of the wrong kind (an issuer at /v1/find, a wallet at /v1/push) is told what was wrong with its body before it is told 403: see WEX-4.6. test_the_signature_is_checked_before_the_body |
| WEX-4.8 | pass | test_the_registry_being_down_is_not_the_callers_fault, test_wex_4_8_a_key_set_that_cannot_be_fetched_refuses_the_call |
| WEX-4.9 | pass | The test asserts the cached key set and the single refetch after 30 seconds. The 60-second cache of participants and document types (app/signing.py · participants, app/registry.py · doc_types) and the 300-second life of a key set are not asserted. test_a_rotated_key_is_picked_up_by_one_refetch |
| WEX-4.10 | pass | test_wex_4_10_a_call_passed_on_is_signed_again_by_the_exchange_for_the_next_receiver |
| WEX-4.12 | pass | test_wex_4_12_answers_are_not_signed |
| WEX-5.1 | pass | test_wex_5_1_every_call_is_a_post, test_wex_5_3_a_member_the_call_does_not_define_is_refused_and_not_passed_on, test_a_signed_body_that_is_not_a_hello_is_a_validation_error |
| WEX-5.2 | pass | test_wex_5_2_every_error_has_the_one_body |
| WEX-5.3 | pass | test_a_signed_body_that_is_not_a_hello_is_a_validation_error, test_a_malformed_call_is_a_validation_error, test_wex_5_3_a_member_the_call_does_not_define_is_refused_and_not_passed_on |
| WEX-5.4 | pass | The two length limits (100 and 127) are implied by the patterns, which allow at most 90 and 127 characters. test_a_malformed_call_is_a_validation_error, test_an_address_at_no_wallet_provider |
| WEX-5.6 | pass | test_a_malformed_call_is_a_validation_error, test_wex_5_6_a_person_is_a_name_and_perhaps_a_number_within_their_lengths |
| WEX-6.1 | pass | test_a_signed_body_that_is_not_a_hello_is_a_validation_error |
| WEX-6.2 | pass | test_wex_6_2_a_hello_is_answered_with_nonce_you_relation_me_and_the_time, test_a_member_is_answered_and_the_call_is_logged |
| WEX-6.3 | pass | test_check_greets_its_members_and_every_other_exchange_with_signed_calls, test_wex_6_3_a_hello_answered_with_anything_unexpected_has_not_passed |
| WEX-6.4 | pass | test_a_member_is_answered_and_the_call_is_logged, test_wex_6_4_a_hello_is_logged_with_no_issuer_and_no_type |
| WEX-7.1 | pass | test_a_call_for_a_member_issuer_goes_straight_to_it |
| WEX-7.2 | pass | test_an_unknown_issuer_is_not_found, test_a_suspended_issuer_is_not_found |
| WEX-7.3 | pass | test_an_issuer_is_only_asked_for_types_it_is_accredited_for |
| WEX-7.4 | pass | test_a_call_for_a_member_issuer_goes_straight_to_it |
| WEX-7.5 | pass | test_a_call_for_another_exchanges_issuer_goes_through_that_exchange, test_an_issuer_with_no_active_home_exchange_cannot_be_reached |
| WEX-7.6 | pass | test_a_peers_call_is_delivered_only_to_a_member_here, test_wex_10_3_a_peers_status_is_delivered_only_to_a_member_issuer |
| WEX-7.7 | pass | test_wex_7_7_an_exchange_checks_the_issuer_itself_when_a_peer_calls |
| WEX-7.8 | pass | test_wex_7_8_the_issuers_home_is_read_from_the_registry_on_each_call |
| WEX-7.9 | pass | test_a_call_for_a_member_issuer_goes_straight_to_it, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange, test_wex_4_10_a_call_passed_on_is_signed_again_by_the_exchange_for_the_next_receiver |
| WEX-7.10 | pass | test_a_person_may_carry_a_national_id_and_it_is_passed_on, test_a_call_for_a_member_issuer_goes_straight_to_it, test_wex_7_10_a_null_national_id_is_not_passed_on |
| WEX-7.11 | pass | test_the_issuers_own_refusal_is_passed_on_unchanged, test_a_document_passes_through_untouched, test_wex_14_6_the_second_hops_unknown_is_unknown_and_its_refusal_is_a_refusal |
| WEX-7.12 | pass | test_an_issuer_that_fails_is_unavailable_not_the_callers_fault, test_wex_14_6_the_second_hops_unknown_is_unknown_and_its_refusal_is_a_refusal |
| WEX-7.13 | pass | test_a_document_passes_through_untouched |
| WEX-8.1 | pass | test_a_malformed_call_is_a_validation_error, test_wex_8_1_search_is_at_most_ten_members_each_a_string |
| WEX-8.2 | pass | The exchange's half: a find without `person` is refused. Setting `person` is the wallet's. test_a_malformed_call_is_a_validation_error |
| WEX-8.3 | pass | test_a_call_for_a_member_issuer_goes_straight_to_it, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange, test_an_issuer_that_fails_is_unavailable_not_the_callers_fault |
| WEX-8.4 | pass | test_a_peers_call_is_delivered_only_to_a_member_here, test_a_call_for_another_exchanges_issuer_goes_through_that_exchange |
| WEX-8.10 | pass | The exchange's half: it passes an empty search on and adds nothing. What is answered is the issuer's. test_wex_8_10_an_empty_search_with_a_national_id_is_passed_on_as_it_is |
| WEX-9.1 | pass | test_a_malformed_call_is_a_validation_error |
| WEX-9.2 | pass | test_a_call_for_a_member_issuer_goes_straight_to_it, test_the_issuers_own_refusal_is_passed_on_unchanged, test_an_issuer_that_fails_is_unavailable_not_the_callers_fault |
| WEX-9.3 | pass | test_wex_9_3_a_peers_fetch_is_delivered_to_a_member_issuer_and_answered_unchanged, test_a_peers_call_is_delivered_only_to_a_member_here |
| WEX-10.1 | pass | test_a_malformed_call_is_a_validation_error |
| WEX-10.2 | pass | test_a_call_for_a_member_issuer_goes_straight_to_it |
| WEX-10.3 | pass | test_wex_10_3_a_peers_status_is_delivered_only_to_a_member_issuer |
| WEX-11.1 | pass | test_wex_11_1_a_push_as_large_as_the_clause_allows_passes_the_signature_check |
| WEX-11.2 | pass | test_who_may_push_what |
| WEX-11.3 | pass | test_who_may_push_what |
| WEX-11.4 | pass | test_a_push_for_a_member_wallet_goes_straight_to_it, test_an_address_at_no_wallet_provider |
| WEX-11.5 | pass | test_a_push_for_a_member_wallet_goes_straight_to_it |
| WEX-11.6 | pass | test_a_push_for_another_exchanges_wallet_goes_through_that_exchange, test_wex_11_6_a_wallet_with_no_active_home_exchange_cannot_be_reached |
| WEX-11.7 | pass | test_a_push_for_a_member_wallet_goes_straight_to_it, test_wex_11_7_a_push_is_passed_on_as_received_with_pdf_null_when_none_was_sent |
| WEX-11.8 | pass | The test's `document` is `aaa.bbb.ccc`, which is no signed document, and it is delivered. test_a_push_for_a_member_wallet_goes_straight_to_it |
| WEX-11.9 | pass | test_a_push_for_a_member_wallet_goes_straight_to_it, test_a_push_for_another_exchanges_wallet_goes_through_that_exchange |
| WEX-11.10 | pass | test_the_wallets_refusal_reaches_the_issuer_and_a_failure_does_not, test_wex_11_10_the_wallets_refusal_reaches_the_issuer_with_its_status_code_and_message |
| WEX-11.11 | pass | test_the_wallets_refusal_reaches_the_issuer_and_a_failure_does_not, test_wex_11_11_any_other_outcome_of_a_push_is_unknown |
| WEX-11.12 | pass | test_a_push_from_another_exchange_is_delivered_to_a_member_wallet, test_wex_11_12_a_peers_push_is_answered_as_a_members |
| WEX-11.13 | pass | test_who_may_push_what |
| WEX-11.14 | pass | test_wex_11_14_an_exchange_checks_a_peers_push_itself |
| WEX-11.15 | pass | test_a_push_never_takes_two_hops |
| WEX-12.1 | pass | The tests read docx.calls, which is the only table this service has (sql/migrations). test_the_log_never_holds_what_was_searched_for_or_which_document, test_the_log_holds_neither_the_address_nor_the_document |
| WEX-12.2 | pass | test_wex_12_2_no_part_of_an_answer_is_stored |
| WEX-12.4 | pass | test_wex_12_4_the_exchanges_own_errors_name_no_document_search_value_person_or_handle |
| WEX-13.1 | pass | test_a_call_for_a_member_issuer_goes_straight_to_it, test_a_push_from_another_exchange_is_delivered_to_a_member_wallet, test_wex_13_1_a_call_is_logged_before_it_is_routed_so_a_failed_route_is_still_in_the_log |
| WEX-13.2 | pass | An entry also has a serial `id`, the row's own number. test_wex_13_2_a_log_entry_holds_the_caller_relation_method_path_issuer_type_and_time_and_no_more, test_wex_6_4_a_hello_is_logged_with_no_issuer_and_no_type, test_a_call_for_a_member_issuer_goes_straight_to_it, test_a_push_for_a_member_wallet_goes_straight_to_it |
| WEX-13.3 | pass | test_the_log_never_holds_what_was_searched_for_or_which_document, test_the_log_holds_neither_the_address_nor_the_document, test_wex_12_2_no_part_of_an_answer_is_stored |
| WEX-13.4 | pass | test_wex_13_4_a_call_refused_before_routing_is_not_logged, test_a_caller_with_no_business_here_is_refused, test_only_a_wallet_finds_and_fetches |
| WEX-14.1 | pass | test_wex_14_1_an_onward_call_is_made_once |
| WEX-14.5 | pass | The 15-second wait (app/signing.py · signed_post) is not asserted; a timeout answered as unknown is. test_an_issuer_that_fails_is_unavailable_not_the_callers_fault, test_wex_11_11_any_other_outcome_of_a_push_is_unknown |
| WEX-14.6 | pass | test_wex_14_6_the_second_hops_unknown_is_unknown_and_its_refusal_is_a_refusal |
| WEX-15.2 | pass | The exchange's half. The wallet's 502 ISSUER_UNAVAILABLE is the wallet's. test_wex_15_2_a_wallet_that_could_not_check_a_pushed_document_is_an_unknown_outcome |
ociwallet-issuer-api · issuer connector
oci-org/ociwallet-issuer-api at f2bc6d9, run 2026-11-30 : 157 tests, 0 failed. Against OCI-WALLET-1 0.1.0, OCI-WALLET-2 0.1.0.
Message models — 4 of 4 calls match the spec
The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.
| POST /exchange/v1/fetch | match | |
| POST /exchange/v1/find | match | |
| POST /exchange/v1/hello | match | |
| POST /exchange/v1/status | match |
OCI-WALLET-1 — 49 of 51 pass · 2 to do
| WDOC-5.8 | untested | Not enforced. app/service.py · issue makes a random 12-character id when staff give none, but a doc_id staff choose is not compared with any national_id in issued_to, and the tests' own example id is the licence number without spaces. |
| WDOC-9.3 | untested | app/documents.py · sign_qr makes the token and tests/test_documents.py::test_the_qr_code_is_signed_and_ties_the_paper_to_the_document asserts its typ, its ES256 signature by the document key and its exact claims. No test reads the QR code out of the PDF (app/documents.py · pdf draws it), and none asserts the header is exactly alg, typ, kid. |
| WDOC-3.2 | pass | test_wdoc_3_2_an_id_that_is_not_issuer_name_makes_no_uri |
| WDOC-3.5 | pass | test_wdoc_3_5_an_issuer_with_no_home_calls_nobody_and_is_reached_by_nobody, test_without_an_active_home_exchange_it_calls_nobody |
| WDOC-3.6 | pass | test_moving_to_another_exchange_changes_who_may_call |
| WDOC-3.7 | pass | test_wdoc_3_7_an_issuer_with_no_country_is_accredited_for_nothing, test_wdoc_4_8_a_type_counts_only_in_the_issuers_own_country |
| WDOC-3.8 | pass | test_a_suspended_or_unknown_caller_is_refused, test_without_an_active_home_exchange_it_calls_nobody |
| WDOC-3.9 | pass | test_wdoc_3_9_when_the_participant_list_cannot_be_read_the_check_fails |
| WDOC-4.1 | pass | test_a_malformed_document_is_not_issued, test_wdoc_4_8_a_type_counts_only_in_the_issuers_own_country, test_wex_5_4_a_document_type_is_five_capital_letters |
| WDOC-4.3 | pass | test_find_matches_every_field_given |
| WDOC-4.4 | pass | test_find_matches_every_field_given |
| WDOC-4.8 | pass | test_an_issuer_issues_only_the_types_it_is_accredited_for, test_find_is_only_for_types_the_issuer_is_accredited_for, test_wdoc_4_8_a_type_counts_only_in_the_issuers_own_country |
| WDOC-4.9 | pass | test_an_issuer_issues_only_the_types_it_is_accredited_for, test_the_type_specific_data_must_fit_the_types_schema |
| WDOC-4.10 | pass | test_wdoc_4_10_when_the_type_list_cannot_be_read_the_check_fails |
| WDOC-4.14 | pass | test_wdoc_4_14_an_empty_search_finds_the_documents_that_record_the_persons_number, test_wdoc_4_14_a_document_that_records_no_number_is_not_found_by_an_empty_search, test_wdoc_4_14_an_empty_search_without_a_national_id_is_refused, test_wdoc_4_14_a_search_that_gives_any_field_is_as_before, test_wdoc_4_14_a_revoked_document_is_not_found_by_an_empty_search_and_a_suspended_one_is, test_wdoc_4_14_a_type_with_no_required_field_is_still_never_searched_by_name_alone |
| WDOC-5.1 | pass | test_a_uri_names_issuer_type_and_id, test_a_malformed_uri_is_a_validation_error, test_wex_5_4_a_uri_has_the_one_shape_at_fetch_and_at_status |
| WDOC-5.2 | pass | test_a_uri_names_issuer_type_and_id |
| WDOC-5.3 | pass | test_wdoc_5_3_a_uri_is_compared_as_an_exact_string |
| WDOC-5.4 | pass | test_the_same_id_is_not_issued_twice, test_an_issued_document_is_the_certificate_signed_by_the_issuer |
| WDOC-5.5 | pass | test_without_an_id_the_issuer_makes_a_random_one |
| WDOC-5.6 | pass | test_suspend_restore_and_revoke, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so |
| WDOC-5.7 | pass | test_a_document_is_found_and_fetched_only_by_the_person_it_was_issued_to |
| WDOC-5.9 | pass | test_wdoc_4_8_a_type_counts_only_in_the_issuers_own_country |
| WDOC-6.1 | pass | test_an_issued_document_is_the_certificate_signed_by_the_issuer, test_wdoc_6_1_a_member_with_no_value_is_left_out |
| WDOC-6.2 | pass | test_an_issued_document_is_the_certificate_signed_by_the_issuer |
| WDOC-6.3 | pass | test_a_malformed_document_is_not_issued |
| WDOC-6.4 | pass | test_a_malformed_document_is_not_issued |
| WDOC-6.5 | pass | test_an_issued_document_is_the_certificate_signed_by_the_issuer |
| WDOC-6.6 | pass | test_an_issued_document_is_the_certificate_signed_by_the_issuer |
| WDOC-6.7 | pass | test_an_issued_document_is_the_certificate_signed_by_the_issuer, test_wdoc_6_11_the_document_key_is_published_beside_the_call_key |
| WDOC-6.8 | pass | test_wdoc_6_1_a_member_with_no_value_is_left_out, test_an_issued_document_is_the_certificate_signed_by_the_issuer |
| WDOC-6.9 | pass | test_wdoc_6_9_exp_is_the_end_of_the_last_day, test_wdoc_6_1_a_member_with_no_value_is_left_out |
| WDOC-6.10 | pass | test_wdoc_6_11_the_document_key_is_published_beside_the_call_key, test_its_calls_go_to_its_home_exchange_signed |
| WDOC-6.11 | pass | test_wdoc_6_11_the_document_key_is_published_beside_the_call_key, test_health_and_keys |
| WDOC-6.12 | pass | test_wdoc_6_12_a_signed_document_is_never_changed |
| WDOC-8.1 | pass | test_an_issued_document_is_the_certificate_signed_by_the_issuer, test_suspend_restore_and_revoke |
| WDOC-8.2 | pass | test_suspend_restore_and_revoke, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so |
| WDOC-8.3 | pass | test_suspend_restore_and_revoke |
| WDOC-8.4 | pass | test_suspend_restore_and_revoke, test_only_the_home_exchange_may_find_fetch_or_ask_status |
| WDOC-8.5 | pass | test_wdoc_8_5_a_status_answer_names_nobody_and_needs_nobody |
| WDOC-8.6 | pass | test_suspend_restore_and_revoke, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so |
| WDOC-9.1 | pass | test_the_printable_copy_is_a_pdf_in_the_issuers_storage, test_nothing_is_on_record_if_the_printable_copy_cannot_be_stored |
| WDOC-9.2 | pass | test_wdoc_9_2_the_printable_copy_shows_the_document_and_says_it_is_a_copy |
| WDOC-9.5 | pass | test_wdoc_9_5_a_document_whose_copy_is_gone_is_still_sent_without_it, test_a_document_is_pushed_to_a_wallet_address_through_the_home_exchange |
| WDOC-10.1 | pass | test_what_cannot_be_pushed, test_wex_5_4_a_wallet_address_has_the_one_shape |
| WDOC-11.2 | pass | test_a_document_that_records_a_national_id_is_matched_on_the_number |
| WDOC-11.3 | pass | test_a_document_without_a_number_is_matched_on_the_name_whatever_the_wallet_knows, test_a_document_that_records_a_national_id_is_matched_on_the_number |
| WDOC-11.4 | pass | test_a_document_that_records_a_national_id_is_matched_on_the_number |
| WDOC-11.5 | pass | test_a_document_is_found_and_fetched_only_by_the_person_it_was_issued_to |
| WDOC-11.6 | pass | test_a_document_is_found_and_fetched_only_by_the_person_it_was_issued_to, test_a_document_that_records_a_national_id_is_matched_on_the_number, test_wex_9_4_another_issuers_uri_a_missing_document_and_someone_elses_are_answered_alike |
| WDOC-11.8 | pass | test_a_document_that_records_a_national_id_is_matched_on_the_number |
OCI-WALLET-2 — 43 of 44 pass · 1 to do
| WEX-14.2 | untested | app/service.py · push passes 403, 404, 409, 410 and 422 on as given and treats every other answer, any 502 included, as unknown (502 EXCHANGE_UNAVAILABLE); it never reads a message. No test asserts the classes. |
| WEX-3.1 | pass | test_anyone_but_the_home_exchange_is_refused, test_moving_to_another_exchange_changes_who_may_call |
| WEX-3.4 | pass | test_the_home_exchange_is_answered, test_moving_to_another_exchange_changes_who_may_call |
| WEX-3.5 | pass | test_anyone_but_the_home_exchange_is_refused, test_it_cannot_call_itself |
| WEX-3.6 | pass | test_anyone_but_the_home_exchange_is_refused, test_only_the_home_exchange_may_find_fetch_or_ask_status |
| WEX-3.9 | pass | test_anyone_but_the_home_exchange_is_refused, test_only_the_home_exchange_may_find_fetch_or_ask_status |
| WEX-3.10 | pass | test_its_calls_go_to_its_home_exchange_signed, test_without_an_active_home_exchange_it_calls_nobody, test_a_document_is_pushed_to_a_wallet_address_through_the_home_exchange |
| WEX-3.11 | pass | test_moving_to_another_exchange_changes_who_may_call |
| WEX-4.1 | pass | test_an_unsigned_call_is_refused, test_only_the_home_exchange_may_find_fetch_or_ask_status, test_health_and_keys |
| WEX-4.2 | pass | test_its_calls_go_to_its_home_exchange_signed, test_a_suspended_or_unknown_caller_is_refused |
| WEX-4.3 | pass | test_a_signature_for_a_different_request_is_refused, test_wex_4_3_the_configured_address_is_used_only_when_the_registry_lists_none, test_its_calls_go_to_its_home_exchange_signed |
| WEX-4.4 | pass | test_a_suspended_or_unregistered_service_serves_nobody, test_wex_4_4_a_service_that_is_not_in_the_registry_serves_nobody |
| WEX-4.5 | pass | test_someone_elses_key_does_not_verify, test_a_rotated_key_is_picked_up_by_one_refetch |
| WEX-4.6 | pass | test_wex_4_6_the_checks_are_made_in_order_and_the_first_failure_is_answered, test_an_unsigned_call_is_refused, test_an_old_or_future_signature_is_refused, test_a_signature_for_a_different_request_is_refused, test_a_suspended_or_unknown_caller_is_refused, test_a_changed_body_does_not_verify, test_a_signed_body_that_is_not_a_hello_is_a_validation_error |
| WEX-4.7 | pass | test_the_signature_is_checked_before_the_body |
| WEX-4.8 | pass | test_wex_4_8_when_the_registry_or_the_callers_keys_cannot_be_fetched_the_call_is_refused |
| WEX-4.9 | pass | test_a_rotated_key_is_picked_up_by_one_refetch |
| WEX-4.11 | pass | test_wex_4_11_a_push_carries_no_idempotency_key |
| WEX-4.12 | pass | test_wex_4_12_answers_are_not_signed_and_the_document_carries_its_issuers_signature |
| WEX-5.1 | pass | test_wex_5_1_every_call_is_a_post |
| WEX-5.2 | pass | test_wex_5_2_every_error_has_the_one_body |
| WEX-5.3 | pass | test_wex_5_3_a_member_the_call_does_not_define_is_refused, test_a_signed_body_that_is_not_a_hello_is_a_validation_error |
| WEX-5.4 | pass | test_wex_5_4_a_document_type_is_five_capital_letters, test_wex_5_4_a_uri_has_the_one_shape_at_fetch_and_at_status, test_wex_5_4_a_wallet_address_has_the_one_shape, test_a_malformed_uri_is_a_validation_error, test_what_cannot_be_pushed |
| WEX-5.5 | pass | test_suspend_restore_and_revoke |
| WEX-5.6 | pass | test_wex_5_6_person_is_a_name_and_perhaps_a_number_and_nothing_else, test_wex_5_6_a_name_of_120_and_a_number_of_40_characters_are_taken, test_a_document_is_found_and_fetched_only_by_the_person_it_was_issued_to |
| WEX-6.1 | pass | test_a_signed_body_that_is_not_a_hello_is_a_validation_error, test_wex_6_2_the_answer_to_a_hello, test_wex_6_3_a_hello_passes_only_when_every_part_of_the_answer_is_as_expected |
| WEX-6.2 | pass | test_wex_6_2_the_answer_to_a_hello, test_the_home_exchange_is_answered |
| WEX-6.3 | pass | test_wex_6_3_a_hello_passes_only_when_every_part_of_the_answer_is_as_expected, test_check_greets_the_home_exchange |
| WEX-8.5 | pass | test_wex_5_3_a_member_the_call_does_not_define_is_refused, test_find_says_what_it_found_and_no_more |
| WEX-8.6 | pass | test_find_is_only_for_types_the_issuer_is_accredited_for, test_wex_9_5_an_issuer_that_is_no_longer_accredited_neither_sends_nor_answers_status |
| WEX-8.7 | pass | test_find_takes_only_the_types_search_fields |
| WEX-8.8 | pass | test_find_matches_every_field_given, test_a_document_is_found_and_fetched_only_by_the_person_it_was_issued_to, test_suspend_restore_and_revoke |
| WEX-8.9 | pass | test_find_says_what_it_found_and_no_more, test_wex_8_9_a_found_document_with_no_expiry_says_null, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so |
| WEX-8.10 | pass | test_wdoc_4_14_an_empty_search_finds_the_documents_that_record_the_persons_number, test_wdoc_4_14_an_empty_search_without_a_national_id_is_refused, test_wdoc_4_14_a_search_that_gives_any_field_is_as_before |
| WEX-9.4 | pass | test_wex_9_4_another_issuers_uri_a_missing_document_and_someone_elses_are_answered_alike, test_a_document_that_is_not_this_issuers_is_not_found |
| WEX-9.5 | pass | test_wex_9_5_an_issuer_that_is_no_longer_accredited_neither_sends_nor_answers_status |
| WEX-9.6 | pass | test_suspend_restore_and_revoke, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so |
| WEX-9.7 | pass | test_wdoc_9_5_a_document_whose_copy_is_gone_is_still_sent_without_it, test_wdoc_6_12_a_signed_document_is_never_changed, test_suspend_restore_and_revoke |
| WEX-10.4 | pass | test_wdoc_8_5_a_status_answer_names_nobody_and_needs_nobody, test_wdoc_8_6_a_suspended_document_is_still_found_and_says_so, test_suspend_restore_and_revoke |
| WEX-10.5 | pass | test_a_document_that_is_not_this_issuers_is_not_found, test_wex_9_5_an_issuer_that_is_no_longer_accredited_neither_sends_nor_answers_status |
| WEX-11.1 | pass | test_a_document_is_pushed_to_a_wallet_address_through_the_home_exchange, test_wdoc_9_5_a_document_whose_copy_is_gone_is_still_sent_without_it |
| WEX-11.19 | pass | test_wex_11_19_a_push_is_delivered_only_on_a_200_that_names_the_wallet, test_a_document_is_pushed_to_a_wallet_address_through_the_home_exchange |
| WEX-14.4 | pass | test_a_push_the_wallet_refuses_is_said_as_it_was_given, test_wex_11_19_a_push_is_delivered_only_on_a_200_that_names_the_wallet, test_wex_4_11_a_push_carries_no_idempotency_key |
| WEX-15.1 | pass | test_wex_15_1_the_wallets_and_a_peer_exchanges_codes_reach_the_issuers_staff, test_a_push_the_wallet_refuses_is_said_as_it_was_given |
wren-api · payment app
oci-org/wren-api at e94b91e, run 2026-11-29 : 175 tests, 0 failed. Against OCI-PAY-1 0.1.0, OCI-PAY-2 0.1.0, OCI-PAY-3 0.1.0.
Message models — 4 of 4 calls match the spec (2 more lenient than the spec)
The request and response models in the code, field by field, against the spec's message tables: fields missing or extra, required the same way, same type and allowed values.
| POST /switch/v1/collect-requests | lenient |
|
| POST /switch/v1/collect-requests/{request_id}/status | match | |
| POST /switch/v1/payments/received | lenient |
|
| POST /switch/v1/resolve | match |
OCI-PAY-1 — 19 of 19 pass
| ADDR-4.1 | pass | test_resolve_answers_a_switch_with_the_bank_and_the_reference |
| ADDR-4.2 | pass | test_addr_4_2_an_invalid_address_is_refused_before_any_lookup, test_addr_4_2_a_valid_address_of_200_characters_is_looked_up |
| ADDR-4.4 | pass | test_addresses_are_unique_and_can_be_pointed_at_another_account |
| ADDR-4.5 | pass | test_addresses_are_unique_and_can_be_pointed_at_another_account, test_a_deployment_names_itself_and_may_offer_only_some_banks |
| ADDR-4.6 | pass | test_addr_4_6_an_address_is_the_chosen_name_never_made_from_the_account |
| ADDR-6.1 | pass | test_linking_stores_the_banks_reference_and_never_an_account_number, test_resolve_answers_a_switch_with_the_bank_and_the_reference |
| ADDR-6.2 | pass | test_addresses_are_unique_and_can_be_pointed_at_another_account |
| ADDR-6.3 | pass | test_addr_6_3_one_account_may_carry_several_addresses |
| ADDR-6.4 | pass | test_addresses_are_unique_and_can_be_pointed_at_another_account |
| ADDR-6.5 | pass | test_addresses_are_unique_and_can_be_pointed_at_another_account |
| ADDR-6.6 | pass | test_balance_is_asked_of_the_bank_and_disconnect_frees_the_address |
| ADDR-6.7 | pass | test_a_banks_own_app_uses_the_address_the_bank_issued |
| ADDR-6.8 | pass | test_addr_6_8_a_payment_to_a_wren_address_credits_the_bank_account_and_wren_holds_no_money |
| ADDR-7.4 | pass | test_resolve_answers_a_switch_with_the_bank_and_the_reference |
| ADDR-8.3 | pass | test_resolve_answers_a_switch_with_the_bank_and_the_reference |
| ADDR-9.6 | pass | test_addr_9_6_verified_is_passed_on_and_nothing_hangs_on_it |
| ADDR-10.2 | pass | test_addr_10_2_a_lookup_answer_is_passed_on_as_given_and_not_retried |
| ADDR-12.1 | pass | test_resolve_answers_a_switch_with_the_bank_and_the_reference |
| ADDR-12.4 | pass | test_addr_12_4_the_payees_assurance_is_shown_and_not_taken_as_proof |
OCI-PAY-2 — 33 of 33 pass
| SW-3.2 | pass | test_sw_3_2_participant_ids_are_compared_as_exact_strings, test_sw_3_2_sw_4_6_wren_signs_as_its_own_participant_id |
| SW-3.5 | pass | test_sw_3_5_wren_builds_switch_urls_from_the_registry_base_url, test_psp_3_6_sw_3_5_htu_is_checked_against_wrens_configured_base_url |
| SW-3.6 | pass | test_health_and_keys_are_public |
| SW-3.7 | pass | test_sw_3_7_sw_4_9_a_caller_that_is_not_active_is_refused |
| SW-3.8 | pass | test_sw_3_8_the_participant_list_is_used_for_at_most_60_seconds |
| SW-4.1 | pass | test_only_a_switch_may_ask, test_a_payment_goes_to_the_switch_with_the_account_reference_and_the_pin |
| SW-4.2 | pass | test_sw_4_2_only_a_detached_compact_jws_is_accepted, test_sw_4_2_what_wren_sends_is_detached_and_signs_the_exact_body |
| SW-4.3 | pass | test_resolve_answers_a_switch_with_the_bank_and_the_reference, test_only_a_switch_may_ask |
| SW-4.4 | pass | test_sw_4_4_any_alg_but_eddsa_is_refused, test_sw_4_4_a_key_that_is_not_ed25519_is_refused, test_sw_4_4_wren_signs_with_eddsa_and_publishes_an_ed25519_key |
| SW-4.5 | pass | test_sw_4_5_a_header_missing_a_member_is_refused, test_sw_4_5_a_header_member_of_the_wrong_type_is_refused, test_sw_4_5_wren_sends_exactly_the_six_members_with_their_types |
| SW-4.6 | pass | test_sw_3_2_sw_4_6_wren_signs_as_its_own_participant_id |
| SW-4.7 | pass | test_sw_4_7_psp_14_3_a_signature_for_another_method_or_url_is_refused, test_sw_4_7_htu_is_the_base_url_and_path_without_the_query, test_sw_4_7_wren_puts_the_method_and_the_full_url_in_what_it_signs |
| SW-4.8 | pass | test_sw_4_8_psp_14_4_an_iat_more_than_120_seconds_off_is_signature_expired, test_sw_4_8_psp_14_4_an_iat_within_120_seconds_is_accepted |
| SW-4.9 | pass | test_sw_4_9_a_caller_not_in_the_registry_is_refused, test_sw_3_7_sw_4_9_a_caller_that_is_not_active_is_refused |
| SW-4.11 | pass | test_only_a_switch_may_ask |
| SW-4.12 | pass | test_sw_4_12_the_jwk_set_is_cached_and_a_rotated_key_is_fetched_once, test_sw_4_12_a_signature_no_cached_key_verifies_fetches_the_set_again |
| SW-4.13 | pass | test_sw_4_13_psp_3_1_the_key_wren_signs_with_is_the_one_it_publishes |
| SW-4.15 | pass | test_sw_4_15_without_the_registry_or_the_keys_a_call_is_refused_with_502 |
| SW-5.2 | pass | test_sw_5_2_psp_5_3_psp_5_4_payments_and_requests_carry_their_own_uuid_as_the_key, test_sw_5_2_the_apps_own_idempotency_key_is_at_most_200_characters |
| SW-5.4 | pass | test_sw_5_4_a_payment_is_never_posted_twice_it_is_read_instead |
| SW-5.9 | pass | test_sw_5_9_psp_5_7_i_already_have_this_is_unknown_not_failed |
| SW-6.1 | pass | test_asking_someone_for_money_and_hearing_how_it_ended, test_a_payment_goes_to_the_switch_with_the_account_reference_and_the_pin |
| SW-6.2 | pass | test_sw_6_2_another_currency_is_refused_as_a_validation_error |
| SW-6.3 | pass | test_sw_6_3_an_amount_that_is_not_positive_or_has_too_many_digits_is_refused, test_sw_6_3_wren_sends_amounts_in_the_switch_form |
| SW-6.5 | pass | test_sw_6_5_amounts_are_held_as_integer_minor_units |
| SW-6.6 | pass | test_sw_6_6_wren_chooses_uuids_and_requires_them_from_the_switch |
| SW-6.7 | pass | test_sw_6_7_times_are_rfc_3339_with_an_offset |
| SW-6.9 | pass | test_sw_6_9_a_note_is_at_most_140_characters |
| SW-6.10 | pass | test_sw_6_10_wren_sends_utf_8_json, test_sw_6_10_psp_14_9_members_wren_does_not_know_are_ignored |
| SW-11.1 | pass | test_a_request_from_someone_arrives_is_approved_by_paying_or_declined, test_asking_someone_for_money_and_hearing_how_it_ended |
| SW-13.1 | pass | test_linking_stores_the_banks_reference_and_never_an_account_number, test_what_cannot_be_paid |
| SW-13.2 | pass | test_sw_13_2_a_malformed_body_is_a_validation_error_after_the_signature, test_sw_13_2_a_body_that_is_not_json_is_refused_for_its_signature_first |
| SW-13.3 | pass | test_sw_13_3_messages_carry_no_pin_token_or_other_persons_data |
OCI-PAY-3 — 74 of 74 pass
| PSP-3.1 | pass | test_psp_3_1_psp_3_2_without_its_own_entry_and_country_wren_calls_no_switch, test_psp_3_1_wren_serves_the_key_its_registry_entry_points_at, test_sw_4_13_psp_3_1_the_key_wren_signs_with_is_the_one_it_publishes |
| PSP-3.2 | pass | test_psp_3_1_psp_3_2_without_its_own_entry_and_country_wren_calls_no_switch |
| PSP-3.5 | pass | test_health_and_keys_are_public |
| PSP-3.6 | pass | test_psp_3_6_sw_3_5_htu_is_checked_against_wrens_configured_base_url |
| PSP-4.1 | pass | test_connecting_asks_the_switch_of_the_banks_country_and_passes_the_sign_in_on, test_addresses_are_unique_and_can_be_pointed_at_another_account |
| PSP-4.2 | pass | test_connecting_asks_the_switch_of_the_banks_country_and_passes_the_sign_in_on |
| PSP-4.4 | pass | test_connecting_asks_the_switch_of_the_banks_country_and_passes_the_sign_in_on, test_addresses_are_unique_and_can_be_pointed_at_another_account |
| PSP-5.1 | pass | test_connecting_asks_the_switch_of_the_banks_country_and_passes_the_sign_in_on, test_a_payment_goes_to_the_switch_with_the_account_reference_and_the_pin |
| PSP-5.3 | pass | test_sw_5_2_psp_5_3_psp_5_4_payments_and_requests_carry_their_own_uuid_as_the_key |
| PSP-5.4 | pass | test_sw_5_2_psp_5_3_psp_5_4_payments_and_requests_carry_their_own_uuid_as_the_key |
| PSP-5.5 | pass | test_psp_5_5_connect_and_balance_calls_carry_no_idempotency_key |
| PSP-5.7 | pass | test_no_answer_from_the_switch_stays_pending_and_is_asked_about_later, test_sw_5_9_psp_5_7_i_already_have_this_is_unknown_not_failed |
| PSP-6.1 | pass | test_connecting_asks_the_switch_of_the_banks_country_and_passes_the_sign_in_on, test_addresses_are_unique_and_can_be_pointed_at_another_account |
| PSP-6.3 | pass | test_connecting_asks_the_switch_of_the_banks_country_and_passes_the_sign_in_on, test_a_payment_goes_to_the_switch_with_the_account_reference_and_the_pin |
| PSP-6.7 | pass | test_psp_6_7_a_relayed_payment_or_request_carries_the_key_of_the_call_itself |
| PSP-6.8 | pass | test_psp_6_8_a_foreign_read_is_a_signed_relay_post_with_body_null |
| PSP-7.1 | pass | test_other_tokens_are_refused, test_a_sign_in_from_an_accepted_identity_becomes_a_user_once |
| PSP-7.2 | pass | test_the_same_person_through_another_client_is_the_same_user, test_an_older_user_arriving_through_a_new_client_gets_the_email_too |
| PSP-7.3 | pass | test_connecting_asks_the_switch_of_the_banks_country_and_passes_the_sign_in_on |
| PSP-7.7 | pass | test_psp_7_7_a_bank_that_does_not_accept_the_sign_in_is_shown_as_such |
| PSP-8.1 | pass | test_connecting_asks_the_switch_of_the_banks_country_and_passes_the_sign_in_on |
| PSP-8.5 | pass | test_linking_stores_the_banks_reference_and_never_an_account_number |
| PSP-8.7 | pass | test_a_payment_goes_to_the_switch_with_the_account_reference_and_the_pin, test_linking_stores_the_banks_reference_and_never_an_account_number |
| PSP-8.11 | pass | test_balance_is_asked_of_the_bank_and_disconnect_frees_the_address, test_a_payment_goes_to_the_switch_with_the_account_reference_and_the_pin, test_linking_stores_the_banks_reference_and_never_an_account_number |
| PSP-8.14 | pass | test_linking_stores_the_banks_reference_and_never_an_account_number |
| PSP-8.16 | pass | test_balance_is_asked_of_the_bank_and_disconnect_frees_the_address |
| PSP-8.17 | pass | test_balance_is_asked_of_the_bank_and_disconnect_frees_the_address |
| PSP-8.18 | pass | test_psp_8_18_provider_not_allowed_asks_the_person_to_connect_again, test_psp_8_18_provider_not_allowed_ends_the_link |
| PSP-9.1 | pass | test_balance_is_asked_of_the_bank_and_disconnect_frees_the_address, test_the_home_screen_gets_one_account_with_its_balance_and_addresses |
| PSP-9.3 | pass | test_balance_is_asked_of_the_bank_and_disconnect_frees_the_address |
| PSP-9.4 | pass | test_psp_9_4_a_balance_is_asked_of_the_bank_each_time_and_never_kept |
| PSP-10.1 | pass | test_addresses_are_unique_and_can_be_pointed_at_another_account |
| PSP-10.2 | pass | test_addresses_are_unique_and_can_be_pointed_at_another_account |
| PSP-10.4 | pass | test_balance_is_asked_of_the_bank_and_disconnect_frees_the_address |
| PSP-10.5 | pass | test_addresses_are_unique_and_can_be_pointed_at_another_account |
| PSP-11.1 | pass | test_a_payment_goes_to_the_switch_with_the_account_reference_and_the_pin |
| PSP-11.5 | pass | test_a_payment_goes_to_the_switch_with_the_account_reference_and_the_pin, test_a_banks_own_app_uses_the_address_the_bank_issued |
| PSP-11.6 | pass | test_what_cannot_be_paid |
| PSP-11.7 | pass | test_what_cannot_be_paid |
| PSP-11.8 | pass | test_a_payment_abroad_needs_its_quote_and_carries_the_fee, test_what_cannot_be_paid |
| PSP-11.11 | pass | test_a_wrong_pin_is_asked_again_and_leaves_no_payment |
| PSP-11.12 | pass | test_no_answer_from_the_switch_stays_pending_and_is_asked_about_later |
| PSP-12.1 | pass | test_no_answer_from_the_switch_stays_pending_and_is_asked_about_later |
| PSP-12.3 | pass | test_no_answer_from_the_switch_stays_pending_and_is_asked_about_later |
| PSP-13.1 | pass | test_asking_someone_for_money_and_hearing_how_it_ended |
| PSP-13.2 | pass | test_psp_13_2_a_request_is_for_the_persons_own_address_in_its_accounts_currency |
| PSP-13.3 | pass | test_psp_13_3_a_request_carries_the_assurance_the_bank_gave_at_link |
| PSP-13.5 | pass | test_asking_someone_for_money_and_hearing_how_it_ended |
| PSP-13.6 | pass | test_a_request_from_someone_arrives_is_approved_by_paying_or_declined |
| PSP-13.7 | pass | test_a_request_from_someone_arrives_is_approved_by_paying_or_declined |
| PSP-13.8 | pass | test_a_request_from_someone_arrives_is_approved_by_paying_or_declined |
| PSP-14.1 | pass | test_only_a_switch_may_ask |
| PSP-14.2 | pass | test_only_a_switch_may_ask, test_resolve_answers_a_switch_with_the_bank_and_the_reference |
| PSP-14.3 | pass | test_sw_4_7_psp_14_3_a_signature_for_another_method_or_url_is_refused |
| PSP-14.4 | pass | test_sw_4_8_psp_14_4_an_iat_more_than_120_seconds_off_is_signature_expired, test_sw_4_8_psp_14_4_an_iat_within_120_seconds_is_accepted |
| PSP-14.5 | pass | test_money_that_arrives_shows_in_history |
| PSP-14.6 | pass | test_resolve_answers_a_switch_with_the_bank_and_the_reference, test_balance_is_asked_of_the_bank_and_disconnect_frees_the_address |
| PSP-14.7 | pass | test_psp_14_7_resolve_is_answered_while_wrens_own_call_is_open |
| PSP-14.8 | pass | test_a_request_from_someone_arrives_is_approved_by_paying_or_declined |
| PSP-14.9 | pass | test_sw_6_10_psp_14_9_members_wren_does_not_know_are_ignored |
| PSP-14.10 | pass | test_psp_14_10_a_status_is_answered_with_its_id_and_status |
| PSP-14.11 | pass | test_a_request_answered_at_the_bank_stops_waiting_in_its_app, test_asking_someone_for_money_and_hearing_how_it_ended |
| PSP-14.12 | pass | test_money_that_arrives_shows_in_history |
| PSP-14.13 | pass | test_money_that_arrives_shows_in_history |
| PSP-14.14 | pass | test_psp_14_14_wren_learns_how_its_payments_ended_by_reading_them |
| PSP-15.1 | pass | test_a_banks_own_app_uses_the_address_the_bank_issued |
| PSP-15.2 | pass | test_a_banks_own_app_uses_the_address_the_bank_issued |
| PSP-16.1 | pass | test_psp_16_1_wren_holds_no_money_and_is_never_the_account_of_a_payment |
| PSP-16.2 | pass | test_psp_16_2_a_pin_message_is_passed_on_never_stored_or_logged, test_psp_16_2_the_pin_encrypting_route_is_absent_without_wren_dev |
| PSP-16.3 | pass | test_psp_16_3_every_call_wren_makes_goes_to_its_switch |
| PSP-16.4 | pass | test_connecting_asks_the_switch_of_the_banks_country_and_passes_the_sign_in_on, test_resolve_answers_a_switch_with_the_bank_and_the_reference |
| PSP-16.5 | pass | test_linking_stores_the_banks_reference_and_never_an_account_number |
| PSP-16.6 | pass | test_addresses_are_unique_and_can_be_pointed_at_another_account, test_a_banks_own_app_uses_the_address_the_bank_issued |
| PSP-16.7 | pass | test_psp_16_7_the_sign_in_token_goes_only_to_the_home_switch_for_connect_and_to_its_issuer |
From suite 0.1.0 (suite-v0.1.0, 32d2061) of the OCI protocols: each implementation's claims are in its own repository (conformance.json), and the results in conformance/results.