Collect by card, Apple Pay and Google Pay

Card and wallet payments settled in USDC, with identity checks only when needed.

BXNK hosted checkout

You create the payment S2S. The customer completes identity checks (only if needed) and pays on BXNK's secure checkout. You confirm the result S2S.

Create the payment

POST /api/v1/product-apis/payments
Authorization: Bearer <accessToken>
Idempotency-Key: order-1003-card
{
  "amount": 30,
  "currency": "EUR",
  "paymentMethod": "card",
  "cardPaymentType": "native_on_ramp",
  "useHostedPaymentPage": true,
  "customerReference": "customer-123",
  "successUrl": "https://example.com/success",
  "failureUrl": "https://example.com/failure",
  "metadata": {
    "asset": "USDC",
    "network": "eth",
    "paymentMethodId": "debit-credit-card",
    "customerEmail": "[email protected]",
    "customerName": "Jane Doe",
    "customerBirthDate": "1990-05-21",
    "country": "AE",
    "billingStreet1": "Sheikh Zayed Road 21",
    "billingCity": "Dubai",
    "billingPostcode": "00000"
  }
}
FieldNotes
metadata.paymentMethodIddebit-credit-card or apple-pay
metadata.asset / networkFrom GET /on-ramp-networks
Customer detailsName, email, date of birth, country and address are required. state is required for US customers
Idempotency-KeyRequired

Redirect the customer to data.hostedPaymentUrl. Confirm the result with webhooks or GET /payments/{paymentId}. The success redirect alone is not proof of payment.

Returning customers

When the same customer email pays again on the same MID and environment, BXNK reuses their approved identity. The response returns requiresKyc: false, and the customer goes straight to payment.

Apple Pay

Set paymentMethodId to apple-pay. Available in Safari on iPhone, iPad and Mac with a card in Apple Wallet.

🚧

Don't send card data

Never send card number, expiry, CVV or card brand. Card details are captured in a PCI DSS Level 1 environment and never touch your servers.


Did this page help you?