Skip to content
Developer
Sign inSign up

Card payments

Accept Visa, Mastercard and American Express cards through hosted checkout.

Ask AI about this page

Visa, Mastercard and American Express cards run through the same payments, hosted checkout and webhooks as crypto, so your integration uses the same payment statuses for both. To accept them:

  • Enable cards in Settings, under Payments.
  • Create a payment or a payment link.
  • Send your customer to its URL.

At checkout

  • Checkout opens a secure payment page, where the customer reviews the total and completes any required identity checks.
  • Card details are entered there and are never sent to your integration.
  • Available payment methods depend on the customer's location and the payment amount.
  • Checkout updates automatically and takes the customer to their receipt or your success page.

Payment attempts

Checkout handles unsuccessful attempts and offers another try when available. Use payment.failed and failure_code to handle a payment that couldn't complete.

A card approval alone doesn't mean the payment is complete. Fulfill the order after your server receives and verifies payment.succeeded, then reads the payment to confirm its status and amount.

Deposit

  • You receive the payment in a supported coin and network.
  • Its settlement field records the destination, amount and transaction.
  • Its method.rail is card whether the customer paid by card, Apple Pay or Google Pay.
  • Fees are recorded on your fee statement.

Failure codes

CodeMeaning
region_unsupportedCard payments are unavailable in the customer's region.
route_timeoutThe card payment did not complete in time.

Next steps