Create a Crypto.com payment and return the payment payload (URL and optional QR code)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
A positive integer representing how much to collect in the smallest currency unit (e.g., 100 cents to collect $1.00). Refer to Pricing Currencies for the smallest unit for each currency.
100
Three-letter currency code for the payment amount (pricing currency). Must be a supported fiat currency / cryptocurrency. Refer to Pricing Currencies for the currency code.
"USD"
Valid blockchain wallet address, must be an alphanumeric string without any special characters
255"0xbF394748301603f18d953C90F0b087CBEC0E1834"
ETH, EVM, FLOW, SOL, ALGO, STARK, COSMOS, BTC, ECLIPSE, SUI, SPARK, TRON, APTOS, TON 255"An example name"
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
50"An example name"
255"An example name"
50"An example name"
255"An example name"
Crypto.com payment payload
36"95b11417-f18f-457f-8804-68e361f9164f"
A positive integer representing how much to collect in the smallest currency unit (e.g., 100 cents to collect $1.00). Refer to Pricing Currencies for the smallest unit for each currency.
2500
Three-letter currency code for the payment amount (pricing currency). Must be a supported fiat currency / cryptocurrency. Refer to Pricing Currencies for the currency code.
"USD"
The URL of the payment page that customers will navigate to in order to make the payment.
"https://js.crypto.com/sdk/payments/checkout/set_wallet?publishableKey=XXX&sdkMeta=YYY"
The status of the payment is either pending (pending payment), succeeded (payment captured), or cancelled.
"pending"
Amount in cents refunded (can be less than the amount of the payment if a partial refund was issued).
0
Time at which the object was created. Measured in seconds since the Unix epoch.
1555098161
The cryptocurrency to be collected for this payment.
The amount of cryptocurrency to be collected for this payment.
"1894.8"
ID of the customer created in Crypto.com Pay Merchant Dashboard, if exists.
"1234567890"
The URL for payment page to redirect back to when the payment becomes succeeded.
"http://YOUR_WEBSITE.com/orders/123/complete"
The URL for payment page to redirect to when the payment is failed or cancelled.
"http://YOUR_WEBSITE.com/orders/123/fail"
An arbitrary string attached to the object.
"Crypto.com Tee (Unisex)"
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
false
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Merchant provided order ID for this payment. Merchants can view the associated order ID of each payment on the Merchant Dashboard. Crypto.com Pay does not verify or guarantee the uniqueness of the values in this field.
"640cf83d-a316-4030-9878-71be1d98b737"
The name of the merchant collecting this payment.
"Crypto.com Shop"
Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
false
Time at which the payment expires. Measured in seconds since the Unix epoch.
1555098461