Skip to main content
POST
Create intent for widget redirect

Authorizations

Authorization
string
header
required

access_token returned by the /auth/v1/oauth2/tokens API call.

Body

application/json

Payment intent request payload

Request payload for BUY_VDA transaction type

buyer
object
required

Details of the customer purchasing the item. Either email or wallet or both must be present.

currency
enum<string>
required

Currency of the item.

Available options:
USD,
EUR
Example:

"USD"

idempotency_key
string
required

A unique value provided to ensure the operation is idempotent.

Maximum string length: 1000
Example:

"idempotency-key-1"

items
object[]
required
Required array length: 1 element
transaction_type
enum<string>
required

Transaction type for buying Virtual Digital Assets, e.g. game currency.

Available options:
BUY_VDA
reference
string

Optional merchant-provided reference.

Maximum string length: 100
Example:

"44cda1bb-2625-4acf-9d84-0cb78589e9a6"

Response

Create intent redirect response

data
object
required