Create One Time Payment
Create a one-time payment for a customer.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
List of products in the cart. Must contain at least 1 and at most 100 items.
Discount Code to apply to the transaction
Whether to generate a payment link. Defaults to false if not specified.
Optional URL to redirect the customer after payment. Must be a valid URL if provided.
Tax ID in case the payment is B2B. If tax id validation fails the payment creation will fail
Response
Client secret used to load Dodo checkout SDK NOTE : Dodo checkout SDK will be coming soon
Unique identifier for the payment
Total amount of the payment in smallest currency unit (e.g. cents)
x > 0
The discount id if discount is applied
Optional URL to a hosted payment page
Optional list of products included in the payment