Collect by bank transfer (on-ramp)

Your customer pays by local bank transfer. You receive USDC.

Fully server to server. BXNK gives you bank details and a reference; when the money arrives it's matched, converted and credited to your balance as USDC.

Before you start

  • Ask your BXNK contact to switch on each currency (for example EUR, GBP, USD). We set up a receiving account per currency.
  • Register a webhook. Bank transfers are asynchronous.

Flow

#StepCall
1Check enabled currenciesGET /account-currencies?type=deposit β†’ use entries with canDeposit and isEnabled true
2(Optional) show a USDC estimatePOST /fx/quote
3Create the paymentPOST /payments with paymentMethod: "bank_transfer"
4Show bank details and referenceFrom data.instructions
5Receive payment.completedWebhook, or GET /payments/{paymentId}
6USDC creditedGET /psp/balances/assets

Create the payment

POST /api/v1/product-apis/payments
Authorization: Bearer <accessToken>
Idempotency-Key: order-1001-create
{
  "amount": 100,
  "currency": "EUR",
  "paymentMethod": "bank_transfer",
  "orderReference": "ORDER-1001",
  "customerReference": "CUSTOMER-42"
}

The response contains instructions.bankDetails (fields vary by rail: IBAN for SEPA, sort code and account number for UK, routing and account number for US) and instructions.reference.

🚧

Always check data.status

A valid request returns 201 even if the transfer can't be set up. In that case status is failed with a declineReason. Only show bank details when status is created.

Show the customer

  • Every field in instructions.bankDetails, exactly as returned. Loop over the fields rather than hard-coding a layout.
  • The amount and currency.
  • The reference, with a clear instruction that it must go in the transfer message.

Prefer not to build the screen? Add "useHostedPaymentPage": true and redirect to hostedPaymentUrl.

Statuses

StatusMeaning
createdBank details issued
processingWaiting for the transfer
completedCorrect amount received. USDC credited shortly after
failedCouldn't be set up, or not accepted (for example overpaid)
expiredHosted-page payments with expiryTime only
πŸ“˜

failed and expired aren't always final

Late transfers and resolved overpayments move to completed. Always handle payment.completed.

Wrong amounts

  • Underpaid: stays processing.
  • Overpaid: failed with declineReason: "overpaid", held for review, and can still complete.

AUD by PayID

Customers in Australia can pay in AUD by PayID from their own bank. This runs on BXNK's hosted checkout, because the customer verifies their identity before the bank details are issued. Ask your BXNK contact to switch on AUD.

Create the payment

POST /api/v1/product-apis/payments
Authorization: Bearer ***
Idempotency-Key: order-1004-aud
{
  "amount": 150,
  "currency": "AUD",
  "paymentMethod": "bank_transfer",
  "useHostedPaymentPage": true,
  "customerReference": "customer-123",
  "successUrl": "https://example.com/success",
  "failureUrl": "https://example.com/failure",
  "metadata": {
    "asset": "USDC",
    "network": "eth",
    "customerEmail": "[email protected]",
    "customerName": "Olivia Smith",
    "customerBirthDate": "1985-06-15",
    "country": "AU",
    "billingStreet1": "1 Martin Place",
    "billingCity": "Sydney",
    "billingPostcode": "2000"
  }
}
FieldNotes
useHostedPaymentPageMust be true
metadata.asset / networkThe stablecoin you receive. From GET /on-ramp-networks
Customer detailsName, email, date of birth, country and address
Idempotency-KeyRequired

Redirect the customer to data.hostedPaymentUrl. Confirm the result with webhooks or GET /payments/{paymentId}.

What the customer does

  1. Verifies their identity with an ID document and a selfie. Australian customers always verify on their first payment; approved customers skip it on later payments with the same email, MID and environment.
  2. Pays by PayID from their banking app, using the PayID and reference shown on the page. The reference must go in the transfer description.
🚧

Tell your customer before they pay

The transfer must come from a bank account in the customer's own name, and should be sent straight away: the PayID and reference are valid for a limited time.

After the page has issued them, instructions.bankDetails.payId and instructions.reference are also returned by GET /payments/{paymentId}.

Limits are listed under local bank methods. Statuses and webhooks are the same as above.

Named accounts

Instead of shared bank details plus a reference, you can receive into account details in your own (or your client's) name:

CurrencyNamed accountThird-party funds accepted
EURβœ…βœ… (subject to source-of-funds rules)
USDβœ…βœ… (subject to source-of-funds rules)
AEDβœ…βœ… (subject to source-of-funds rules)
GBPβœ…First-party only

Named accounts are issued per client and per currency after KYB. Ask your BXNK contact to switch on the currencies you need.


Did this page help you?