Create Payment
POST
Charge a customer's payment method.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
amountintegerrequiredAmount in cents. `2500` = $25.00.
currencystringrequiredThree-letter ISO currency code.
customer_idstringrequiredID of the customer to charge.
descriptionstringInternal note attached to the payment.
Response
application/json
Payment created
idstringPayment ID. Starts with `pay_`.
amountintegerAmount in cents.
currencystringThree-letter ISO currency code.
status"succeeded" | "pending" | "failed"Current payment status.
Allowed values:
"succeeded" | "pending" | "failed"customerobjectcustomer.idstringCustomer ID. Starts with `cus_`.
customer.emailstringCustomer email address.
created_atstring<date-time>