Skip to main content
POST
Create Order Intent

Headers

X-API-KEY
string
required

API key required for authentication

Body

application/json
amount
object
required
description
string
required
Required string length: 1 - 10000
expiresAt
string<date-time>
required

ISO 8601. A UTC offset is accepted. Fractional seconds are optional.

Example:

"2024-01-15T10:30:00.000Z"

paymentMethodId
string
required
Minimum string length: 1
merchant
object

Response

201 - application/json

The order intent has been successfully created

amount
object
required
description
string
required
expiresAt
string<date-time>
required

ISO 8601. A UTC offset is accepted. Fractional seconds are optional.

Example:

"2024-01-15T10:30:00.000Z"

orderIntentId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
paymentMethodId
string
required
Minimum string length: 1
rails
object[]
required
status
enum<string>
required
Available options:
active,
cancelled,
expired
merchant
object
verificationConfig
object