Payment: Create

Creates a payment for a given amount and currency.

There are two ways to create payment:

  • For one-time payment, you can pass payment_details with payment method type and additional attributes.
  • For recurring payment, you can pass customer's ID via customer attribute. Customer's saved payment method will be used for the payment.

Note that either payment_details or customer is required for the payment. However, both of them should not be given at the same time.

🚧

PCI-DSS Warning

Using this endpoint to create credit card payments requires PCI-DSS compliance. You will need to send your PCI-DSS certification documents to us during onboarding if you plan on passing credit card details directly to this endpoint.

Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!