Cross-border payouts

Pay a person or a business abroad, in their local currency, from your own USDC balance, or (once KwiikPay has switched it on for you) from your own GBP, EUR or USD balance.

This is for business customers, paying for themselves or (once KwiikPay has switched it on for you) for their own end customers. It is switched on per customer by KwiikPay staff: until your account is switched on, every route here answers 404 cross_border_not_enabled, and so does a key that was not created with the cross-border scopes (the two cases look the same on purpose). Ask your KwiikPay contact to switch your account on. Paying for your end customers is a further switch: see Paying for an end customer.

Every route is under /api/v1/partner/customers/{customerId}/cross-border/..., and customerId must be the customer your key belongs to (or, once paying for end customers is switched on for you, one of your own end customers: see below). All bodies and fields are snake_case. Successful answers use the usual envelope { "success": true, "status_code": 200, "message": "...", "data": { ... } }.

What it does

Your business pays a person or a business abroad, in their local currency, from the USDC balance your KwiikPay account holds. You do not need a bank account in the destination country. A payment spends USDC you already hold.

The flow is always the same:

  1. Read the corridors you can use, and the fields a recipient needs for one route.
  2. Save the recipient. A new recipient is reviewed by our team before it can be paid. You can follow its status by polling or by webhook.
  3. When the recipient is ready, ask for a quote. A quote lasts about 30 seconds.
  4. Pay the quote. Follow the payment by polling or by webhook.

Unless paying for end customers is switched on for you, you can only pay for your own account, and an end customer's id (a sub-customer you onboarded) answers 404 on these routes.

What you must know before you build

Scopes

Scope Allows
cross-border:read Corridors, recipient fields, reading recipients, reading payments
cross-border-recipients:write Saving and removing recipients
cross-border-payments:write Asking for a quote and paying it

cross_border:read, cross_border:recipients:write and cross_border:payments:write are accepted spellings of the same scopes. A key that can pay cannot add a recipient, and a key that can add a recipient cannot pay it. Use a key created by the customer that pays: a key for the whole tenant is refused with 403 cross_border_subject_key_required.

Create the key in your dashboard (Settings, API). The three cross-border scopes appear there only once KwiikPay has switched your account on, and a request to create a key with them before that is refused with a plain message. A key that lacks the scope a route needs is answered with 404 cross_border_not_enabled, not 403.

Limits

Route Limit
GET recipient-requirements 30 a minute
POST recipients 20 a minute, and 100 new recipients in 24 hours (429 cross_border_recipient_limit_reached; reusing a saved recipient is not counted)
POST quotes 60 a minute
Others The usual 600 a minute

Routes

GET corridors

?country=NG&currency=NGN (both optional).

{
  "corridors": [
    {
      "country": "NG", "currency": "NGN", "method": "BANK-TRANSFER",
      "recipient_types": ["BUSINESS", "INDIVIDUAL"],
      "amount_limits": { "min": "2600", "max": "30000000", "currency": "NGN" }
    }
  ],
  "purposes": [ { "code": "PMT001", "label": "PMT001" } ],
  "default_purpose": "PMT001"
}

Only routes switched on for you are listed.

GET recipient-requirements

?country=NG&currency=NGN&method=BANK-TRANSFER&recipient_type=INDIVIDUAL

{
  "country": "NG", "currency": "NGN", "method": "BANK-TRANSFER", "recipient_type": "INDIVIDUAL",
  "fields": [
    { "name": "RECIPIENT_LEGAL_NAME", "group": "account", "type": "TEXT", "required": true, "values": null },
    { "name": "BANK_NAME", "group": "account", "type": "TEXT", "required": true, "values": ["Bank A", "Bank B"] },
    { "name": "ACCOUNT_NUMBER", "group": "account", "type": "TEXT", "required": true, "values": null },
    { "name": "BENEFICIARY_ADDRESS", "group": "travel_rule", "type": "ADDRESS", "required": true, "values": null }
  ],
  "schema_hash": "9f3b2c1d8a7e6054",
  "cached_until": "2026-11-13T12:05:00+00:00"
}

The list is kept for a few minutes (cached_until). schema_hash changes when the fields change. A field with values must be one of them. An ADDRESS field is sent in the address object of the recipient.

POST recipients

{
  "country": "NG", "currency": "NGN", "method": "BANK-TRANSFER", "recipient_type": "INDIVIDUAL",
  "fields": { "RECIPIENT_LEGAL_NAME": "Jane Doe", "BANK_NAME": "Bank A", "ACCOUNT_NUMBER": "0123456789" },
  "address": { "street": "1 Marina", "city": "Lagos", "state_province": null, "postal_code": null, "country": "NG" }
}

Answer:

{
  "recipient": {
    "id": "6f1c0a52-0000-0000-0000-000000000001", "status": "under_review", "ready_to_pay": false,
    "display_name": "Jane Doe", "recipient_type": "INDIVIDUAL", "country": "NG", "currency": "NGN",
    "method": "BANK-TRANSFER", "masked_account": "****6789",
    "created_at": "2026-11-13T12:00:00+00:00", "updated_at": "2026-11-13T12:00:00+00:00"
  },
  "reused": false
}

Saving the same recipient again returns it with reused: true; it keeps its review, and gains any travel-rule values it lacked. A property the request does not define is refused (422 cross_border_request_invalid, issue code unknown_field). A removed recipient cannot be saved again here: 409 cross_border_recipient_removed.

GET recipients, GET recipients/

GET recipients?country=NG&limit=100&page=1 returns { "recipients": [...], "pagination": { "current_page", "last_page", "per_page", "total" } }, newest change first. Removed recipients are not listed. DELETE answers { "recipient_id": "...", "removed": true }.

POST quotes

{ "recipient_id": "6f1c0a52-0000-0000-0000-000000000001", "destination_amount": "2500", "reference": "invoice-1" }

Send only recipient_id. The route comes from the recipient. Typed recipient details are refused.

{
  "quote": {
    "id": "b2e4d1c0-0000-0000-0000-000000000002", "recipient_id": "6f1c0a52-0000-0000-0000-000000000001",
    "expires_at": "2026-11-13T12:00:30+00:00", "replayed": false,
    "destination": { "amount": "2500", "currency": "NGN", "country": "NG", "method": "BANK-TRANSFER" },
    "rate": "1600.5",
    "source": { "amount": { "amount": "25.500000", "asset": "USDC", "decimals": 6 }, "max_amount": { "amount": "25.755000", "asset": "USDC", "decimals": 6 } },
    "fees": {
      "kwiikpay_fee": { "amount": "10.255000", "asset": "USDC", "decimals": 6 },
      "network_fee": { "amount": "0.500000", "asset": "USDC", "decimals": 6 },
      "network_fee_included_in_source": true
    },
    "total_debit": { "amount": "35.755000", "asset": "USDC", "decimals": 6 },
    "max_total_debit": { "amount": "36.010000", "asset": "USDC", "decimals": 6 },
    "settlement_estimate": { "min": 1, "max": 5, "unit": "minutes" }
  }
}

total_debit is source plus our fee. max_total_debit is the most that is held until the payment settles; whatever is not pulled is released.

source_currency is optional (USDC, GBP, EUR or USD). Omitted, or USDC, the quote is the one above, with no extra field.

POST payments

{ "quote_id": "b2e4d1c0-0000-0000-0000-000000000002", "recipient_id": "6f1c0a52-0000-0000-0000-000000000001", "purpose": "PMT001", "reference": "invoice-1" }

recipient_id must be the recipient the quote was made for. transparency is optional; only { "purpose": "...", "relationship": "OwnFunds" } or "NotProvided" is accepted, because you pay from your own balance.

{
  "payment": {
    "id": "c3a5e2d1-0000-0000-0000-000000000003", "quote_id": "b2e4d1c0-0000-0000-0000-000000000002",
    "recipient_id": "6f1c0a52-0000-0000-0000-000000000001", "status": "processing", "failure_code": null,
    "destination": { "amount": "2500", "currency": "NGN", "country": "NG", "method": "BANK-TRANSFER" },
    "quoted_source": { "amount": "25.500000", "asset": "USDC", "decimals": 6 },
    "kwiikpay_fee": { "amount": "10.255000", "asset": "USDC", "decimals": 6 },
    "held": { "amount": "36.010000", "asset": "USDC", "decimals": 6 },
    "debited": null, "released": null, "reference": "invoice-1",
    "created_at": "2026-11-13T12:00:10+00:00", "submitted_at": "2026-11-13T12:00:11+00:00", "completed_at": null,
    "updated_at": "2026-11-13T12:00:11+00:00"
  }
}

GET payments, GET payments/

GET payments?status=processing&limit=100&page=1. Each payment has the shape above.

Status Meaning
processing Submitted; on its way. Includes the first moments while we collect the USDC from your balance
under_review Held for a check by our team; no action from you. A payment whose USDC movement we are still confirming also reads under_review, never failed
completed Paid. debited and released are set
failed Not completed (failure_code: payment_refused). Normally nothing was debited and everything held was released. If the payment network took the funds and then returned them short, the amount it kept is in debited and the rest of what was held is in released
returned The payment was sent and then sent back to us

held = debited + released once a payment has completed or failed.

Paying from a GBP, EUR or USD balance

A business can pay a recipient abroad from its own GBP, EUR or USD balance instead of USDC. We convert the money you pay into USDC for you, send the payout, and anything left over comes back to you as USDC.

The quote adds:

"funding": {
  "currency": "GBP", "amount": "29.01", "rate": "0.78",
  "usdc_bought": { "amount": "37.190000", "asset": "USDC", "decimals": 6 },
  "price_movement_allowance": { "amount": "0.180000", "asset": "USDC", "decimals": 6 },
  "kwiikpay_fee": { "amount": "10.255000", "asset": "USDC", "decimals": 6 }
},
"composite_rate": "86.17718"

funding.amount is what is debited, in funding.currency: usdc_bought at funding.rate, rounded up to the cent (in the example, 37.19 x 0.78 = 29.01). funding.rate is units of your currency per 1 USDC on the conversion, indicative. usdc_bought is everything the conversion buys: the payout and its price-movement buffer, our fee, the allowance and the cost of delivering the USDC to us. Whatever of it the payout does not use comes back as USDC, so price_movement_allowance is only the part of that margin sized for the market moving. composite_rate is the indicative destination currency per 1 unit of your currency. source, fees, total_debit and max_total_debit keep describing the USDC leg exactly as above, and on the quote fees.kwiikpay_fee is the same single fee as funding.kwiikpay_fee.

The payment adds:

"funding": { "currency": "GBP", "amount": "29.01", "status": "delivered", "delivered_at": "2026-11-17T12:03:00+00:00" },
"refund": { "reason": "unused_allowance", "status": "pending", "amount": { "amount": "0.180000", "asset": "USDC", "decimals": 6 }, "convert_back_available": false }

Paying for an end customer

A business can pay a recipient abroad for one of its own end customers, from its own balance: its USDC, or its GBP, EUR or USD as above. You are the payer: your balance is the one held and debited, your limits and your fee apply, and any refund or leftover comes back to you as USDC. The end customer is the originator of the payment: we send its name, address and details from the identity checks KwiikPay holds, never from your request.

Events

Subscribe with the usual webhook subscription routes (the webhook scope is separate). A subscription can name these two events only once your account is switched on; before that, naming one is refused with a plain message.

Event When
cross_border.recipient.updated A recipient's status changed. Data: recipient_id, customer_id, status, ready_to_pay, and end_customer_id for a recipient of one of your end customers. Published within a couple of minutes of the change
cross_border.payment.updated A payment changed status, including failure. Data: payment_id, quote_id, recipient_id, customer_id, status, change, failure_code, asset, decimals, kwiikpay_fee, held, debited, released, destination_amount, destination_currency, reference, and end_customer_id for a payment made for one of your end customers. For a payment funded from GBP, EUR or USD, payment_id (and resourceId) is the funded payment's id, and the data adds funding_status, funding_currency, funding_amount and, once known, refund_amount; its change can also be funding_converted, funding_delivered or refunded_to_balance (below)

A funded payment announces the status changes of its payout once the payout is made (processing, under_review, completed, failed, returned). It also announces the steps around the payout, as the same event under the same payment_id. change says which step, and status stays the payout's own word:

change status funding_status When
funding_converted processing converted Your GBP, EUR or USD has been converted to USDC for this payout
funding_delivered processing delivered The USDC is in place and we are about to send the payout
failed failed not_converted Nothing was converted, so nothing was taken (failure_code funding_not_converted)
failed failed returning The payout will not be made (our tries ran out, or a check closed), and your money is coming back as USDC (failure_code funding_returned_as_usdc)
under_review under_review under_review Our team has to look at the payment. This is also what any step reads while the movement of its USDC is not yet resolved, with no refund_amount and no failure code
refunded_to_balance completed, failed or returned completed or returned The USDC owed back is in your USDC wallet. refund_amount says how much. A payout that was paid in full, with nothing left over, has no such step

These steps carry the same fields as the payout, from the same facts as GET payments/{id}: held is the most the quote reserved until a payout ends without ever reaching a payment, when it is 0 with no debited or released. Each step is sent at most once, usually within seconds of it happening, and an event we could not send is not sent later.

It does not announce converting (the processing payment you were given is that), or a try that the payment network refused and we are retrying. A failed that is announced is final: it is never followed by completed. An under_review may not be followed by another event. If you miss an event, or one says under_review, read the payment (GET payments/{id}).

The envelope is { "specVersion": "kwiikpay.webhooks.v1", "eventType": "...", "tenantId": "...", "resourceId": "...", "occurredAt": "...", "correlationId": "...", "data": { ... } }. Amounts in data are decimal strings in USDC. Deliveries can repeat: dedupe on X-Webhook-Id, or key on payment_id, status and change (a payout's steps can share the first two: funding_converted, funding_delivered and the first processing are all processing, and refunded_to_balance repeats the status of the event before it).

Errors

409 and 422 answers use the envelope with data: { "code", "detail", ... }; 404 and 403 answers are flat { "title", "detail", "status", "code" }. The text is fixed and plain; match on code.

Code HTTP Meaning
cross_border_not_enabled 404 Not switched on for this customer, or the key lacks the cross-border scope the route needs
cross_border_subject_key_required 403 A key for the whole tenant was used
cross_border_request_invalid 422 Missing or unknown field (issues[])
cross_border_corridor_unavailable 422 The route is not available (reason)
cross_border_use_case_not_enabled 422 This kind of payment is not available yet
cross_border_recipient_type_required 422 recipient_type must be BUSINESS or INDIVIDUAL
cross_border_recipient_invalid 422 Recipient details need correcting (issues[]: field, code, message)
cross_border_recipient_not_found 404 Not your recipient, or removed
cross_border_recipient_not_ready 409 recipient_status is under_review: pay it once its status is ready
cross_border_recipient_rejected 409 The recipient was not accepted
cross_border_recipient_removed 409 The recipient was removed
cross_border_recipient_needs_details 409 Save the recipient again with its details
cross_border_recipient_limit_reached 429 100 new recipients in 24 hours
cross_border_amount_outside_limits, cross_border_amount_below_minimum, cross_border_amount_above_cap 422 Amount not accepted
cross_border_capacity_unavailable 503 We cannot take this payment now; retry later
insufficient_balance 422 available, required, shortfall in USDC; reason wrong_network when the USDC is not on Ethereum. For a payment from GBP, EUR or USD there are no figures and reason is fiat_balance: your balance in that currency cannot cover it
cross_border_balance_unverifiable 503 Balance could not be checked; retry
cross_border_pricing_unavailable 422 Pricing is not set up for your account
cross_border_originator_details_required 422 We lack details about your account; contact support
cross_border_purpose_not_allowed 422 Use a code from corridors
cross_border_quote_not_found 404 Not your quote
cross_border_quote_expired 409 Ask for a fresh quote
cross_border_quote_already_used 409 The quote was paid or is being paid; read your payments
idempotency_key_reused 409 The key was used for a different request
cross_border_quote_unavailable 503 Try again in a moment (retryable)
cross_border_payment_refused 422 The payment was refused before it was sent; nothing was moved
cross_border_transparency_not_supported 422 Declare OwnFunds or NotProvided (for an end customer: leave it out or DirectCustomer)
end_customer_not_verified 409 The end customer in the route is yours but not onboarded and active yet; finish verifying them. Nothing was held
cross_border_payment_not_found 404 Not your payment
cross_border_unavailable 503 Cross-border payments are not available for this account right now; contact support
cross_border_request_failed 500 Something failed on our side; nothing was sent; retry (retryable)
kyc_or_kyb_not_approved 409 Your account is not approved
funding_not_available 422 Paying from this currency is not available for this account right now; nothing was taken
funding_wallet_setting_up 409 We are setting up the USDC wallet leftovers come back to; try again in a minute (retryable)
funding_needs_check 409 The payment needs a check by our team before it can be sent; nothing was taken
funding_not_converted 422 / failure_code The conversion could not be started, so nothing was taken. As a failure_code: the payment failed before anything was converted
funding_returned_as_usdc failure_code The payout was not made and your money is coming back as USDC