Payments
A payment represents a charge to your customer's credit or debit card.
Payment object
{
"id": "pay_ck6HZUxJR598PZf0uZ",
"date": "2020-04-28",
"amount": 12.50,
"description": "Payment example via API",
"status": "processing",
"payment_date": null,
"metadata": {},
"created": "2020-04-10T13:48:55.259886-04:00",
"updated": "2020-04-10T13:48:55.259903-04:00",
"invoice": null,
"customer": null,
"currency": "CLP",
"source": {
"id": "sou_NBm22nauWP1YqUuY7G",
"amount": 12.50,
"description": null,
"return_url": null,
"status": "chargeable",
"metadata": {},
"created": "2020-04-10T18:21:02.871850-04:00",
"updated": "2020-04-10T18:21:07.124700-04:00",
"customer": null,
"gateway": "paypal",
"usage": "single",
"flow": "redirect",
"data": {
"redirect_url": "https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-ASLS84461XM815581J"
}
}
}Create a payment
Request Body
Name
Type
Description
Retrieve a payment
Path Parameters
Name
Type
Description
Destroy a payment
Path Parameters
Name
Type
Description
Authorize a payment
Path Parameters
Name
Type
Description
Request Body
Name
Type
Description
Pay a payment
Path Parameters
Name
Type
Description
Last updated
Was this helpful?
