OCI-PAY · the protocols
The rules every bank, switch and app follows
Four specifications define OCI-Pay. They were written from the running demo, so each requirement is something the reference implementation does. Where the code was silent, the spec lists an open question instead of a rule. All four are work in progress at version 0.1.0.
- OCI-PAY-1 Payment Addressing v0.1.0 · Draft
What a payment address is, who issued it, which account stands behind it, and what the payer may be told before paying.
Reference implementation: ocipay-api (resolution at the switch), wren-api (a provider's addresses), ocipay-bank-api (a bank's addresses)
- OCI-PAY-2 Payments Switch v0.1.0 · Draft
How a bank and its country's switch talk: lookups, quotes, payments, requests for money, unknown outcomes and settlement. Also the signing, idempotency, money and error rules every call on the rail shares.
Reference implementation: ocipay-api (the switch), ocipay-bank-api (a bank's connector)
- OCI-PAY-3 Payment Apps v0.1.0 · Draft
How a payment app connects a person's bank account, pays and asks for money through its one home switch, and what it must answer. It never holds money or sees a PIN.
Reference implementation: wren-api (a payment app), ocipay-api (the switch's provider endpoints), ocipay-bank-api (bank connect)
- OCI-PAY-4 Switch Link v0.1.0 · Draft
How two countries' switches talk over the link: cross-border lookups, quotes and payments at a fixed rate, requests for money, and payment apps' calls for the other country.
Reference implementation: ocipay-api (both switches run it)
Built on the core specs
From suite 0.1.0 of the OCI protocols (32d2061). How the implementations conform → · Every OCI specification →