Skip to main content
POST
Start a card purchase
Provider sandbox on this deployment. Our backend targets the card provider’s sandbox: no card is charged and no real transfer settles. Known limits: a purchase never reaches completed (it stops at processing), the settlement asset is the sandbox’s, not production’s (read cryptoCurrency from GET /v1/config), and the EUR window is unpublished (GET /v1/card/limits says window: unpublished). Every response says which environment answered in its environment field.

Authorizations

Authorization
string
header
required

Your API key, issued by us and shown once at creation.

Body

application/json

Asset and chain come from the deployment's fixed corridor; there is no field to choose them.

email
string
required

Buyer email from the card form.

Pattern: ^[^\s@]+@[^\s@]+\.[^\s@]+$
Example:

"buyer@example.com"

address
string
required

The user's EVM wallet - the non-custodial destination.

Pattern: ^0x[0-9a-fA-F]{40}$
Example:

"0x1111111111111111111111111111111111111111"

fiatCurrency
string
required

ISO 4217 code to charge in. Must be one of the deployment's supported fiat currencies (see GET /v1/card/currencies); others are refused.

Pattern: ^[A-Za-z]{3}$
Example:

"EUR"

fiatAmount
string
required

Fiat to spend, decimal string in major units, greater than zero.

Pattern: ^\d+(\.\d+)?$
Example:

"100"

billingAddress
object
required
birthday
string
required

Date of birth, ISO YYYY-MM-DD.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"1990-01-31"

returnUrl
string

Where the hosted card page sends the user afterwards.

Example:

"https://example.com/return"

Response

Ready to pay, or verification still pending.

environment
enum<string>
required

Which environment answered. sandbox: at least one money upstream is the provider's sandbox - no real money moves there, and the card corridor is the sandbox's asset (read GET /v1/config), not the documented production one. production: every configured upstream is real. Derived from the configured upstream hosts at boot, never a flag.

Available options:
sandbox,
production
Example:

"sandbox"

status
string
required
Allowed value: "ready"
redirectUrl
string
required

Provider-hosted card entry page. Redirect the user here.

transactionId
string
required

Provider transaction id to poll status with.