@corridor/partners, PajPartner) is built against Paj’s public API v2 OpenAPI specification and implements the partner interface.
Why Paj
- Naira both ways: offramp (USDC → NGN to a bank account) and onramp (NGN into a virtual account → USDC).
- Settles on Solana, where most of its USDC liquidity sits. Base appears in Paj’s API but is not live for Corridor yet, and the adapter refuses Base orders rather than send one Paj cannot fill.
- Signed webhooks with a timestamped HMAC scheme.
- Zcash on the roadmap:
ZCASHalready appears in Paj’s chain enum (not yet open), a future path for shielded payouts straight to naira.
Mapping
Requests authenticate with an
x-api-key header. The Corridor Reference rides in Paj’s description / userExternalId fields and is echoed back on webhooks.
Status normalisation
The payout lifecycle
Mock partner
For testnet, a Paj-shaped mock implements the same lifecycle and signs its webhooks with the same scheme, delivered over real HTTP to Corridor’s webhook server. The mock observes real Solana devnet funding when the devnet vault holds USDC.Going live needs a Paj business API key. No code changes: the registry selects
PajPartner instead of the mock.