OCI-PAY · conformance
Does the running demo do what the specs say?
The switch, a bank's connector and the payment app each state, for every requirement of the four OCI-PAY specs, how they meet it, and their own tests are run. A requirement is a pass only when a named test asserts it and passed. The rest are listed openly: they are the work still to do. The specs →
| Implementation | OCI-PAY-1 | OCI-PAY-2 | OCI-PAY-3 | OCI-PAY-4 |
|---|---|---|---|---|
| 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 | — |
| 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.
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 |
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.