Skip to main content
POST
Create payment

Authorizations

Authorization
string
header
required

Organization API key using Authorization: Bearer sk_....

Body

application/json

Request body for creating a direct payment.

input
object
required

Response

Payment created

Created payment with optional attempt result and customer details.

payment
object
required

A payment record for a completed or pending transaction.

attempt
object | null
required

The payment attempt result, if makeAttempt was true.

customer
object
required

The customer details.