PaymentIntent
- actionnullablerequired
Next action required from the customer.
nullwhen the intent has transitioned to a terminal state (succeeded,failed,canceled) or is still ininitiated. Discriminated by thetypefield.Redirect the customer to
urlto complete payment with the provider. Used byneteller-paysafe,paysafecard-trustpayments,card-rillpay,openbanking-rillpay, andopenbanking-paidby.- typeDiscriminatorenumconst:redirectrequiredvalues
- redirect
- expiresType: stringFormat: date-time
At requiredTimestamp after which the redirect URL is no longer valid
- methodType: stringenumrequired
HTTP method to use when redirecting
values- G
E T - P
O S T
- urlType: stringFormat: urirequired
Absolute URL to redirect the customer to
- amountType: string
Pattern: ^\d+\.\d{4}$requiredPayment amount as a fixed-precision decimal string
- cancellationType: string nullable
Reason requiredReason when status is
canceled - createdType: stringFormat: date-time
At requiredTimestamp when the payment intent was created
- currencyType: stringrequired
Three-letter ISO 4217 currency code
- expiresType: stringFormat: date-time nullable
At requiredTimestamp when the intent should expire, when known
- idType: stringFormat: uuidrequired
Unique identifier for the payment intent
- latestType: object nullable
Failure requiredLatest failure details when status is
failed- propertyType: anything
Name
- merchantType: string
Customer Id requiredYour customer identifier provided when creating the intent
- merchantType: stringFormat: uuid
Id requiredYour merchant account identifier
- merchantType: string
Reference requiredYour unique order or transaction reference provided when creating the intent
- paymentType: stringFormat: uuid nullable
Id requiredIdentifier of the associated payment. Null until a payment is created for this intent.
- paymentType: string
Method Id requiredPayment method identifier in "method-provider" format
- providerType: string nullable
Reference requiredReference assigned by the payment provider. Null until the provider returns a reference.
- statusType: stringenumrequired
Current lifecycle status of the payment intent:
initiated- intent created, no customer action available yetrequires_action- customer needs to complete an action (redirect or pay via requisites)processing- payment is being processed by the providersucceeded- payment is confirmed completefailed- intent failed (e.g. provider error, customer rejection)canceled- intent was canceled or expired without payment
values- initiated
- requires
_action - processing
- succeeded
- failed
- canceled