Create payment
Creates a new payment intent for the specified organization and livemode.
It processes the provided data and stores the payment intent details.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The amount to be charged, specified in the smallest currency unit (e.g., cents).
The ID of the checkout session associated with the payment intent.
The ID of the customer associated with the payment intent. Can be null if no customer is associated.
Additional metadata for the payment group. This can be used to store additional information about the payment intent in a key-value pair format.
The status of the payment intent.
CANCELED
, PROCESSING
, REQUIRES_PAYMENT_METHOD
, REQUIRES_CONFIRMATION
, REQUIRES_ACTION
, REQUIRES_CAPTURE
, SUCCEEDED
, REFUNDED
, PARTIALLY_REFUNDED
, CASHBACK_SENT
The ID of the payment group associated with the payment intent. Can be null if no payment group is associated.
A unique string chosen by you to reconcile the payment intent with your internal systems. Useful for linking the payment intent to internal records.
Response
The amount to be charged, specified in the smallest currency unit (e.g., cents).
The ID of the checkout session associated with the payment intent.
The ID of the customer associated with the payment intent. Can be null if no customer is associated.
Additional metadata for the payment group. This can be used to store additional information about the payment intent in a key-value pair format.
The status of the payment intent.
CANCELED
, PROCESSING
, REQUIRES_PAYMENT_METHOD
, REQUIRES_CONFIRMATION
, REQUIRES_ACTION
, REQUIRES_CAPTURE
, SUCCEEDED
, REFUNDED
, PARTIALLY_REFUNDED
, CASHBACK_SENT
The ID of the payment group associated with the payment intent. Can be null if no payment group is associated.
A unique string chosen by you to reconcile the payment intent with your internal systems. Useful for linking the payment intent to internal records.