Payments
Create One Time Payment
Create a one-time payment for a customer.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
List of products in the cart. Must contain at least 1 and at most 100 items.
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.
Response
200 - application/json
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)
Required range:
x > 0
Optional URL to a hosted payment page
Optional list of products included in the payment