Errors

In addition to the Errors applicable to all API endpoints, the following errors are specific to creating a payment:

status code error code description
404 order.not-found No order was found meeting the requirements. Make sure to use the right orderId and API key. test objects can only be accessed using test keys and live object with live keys.
409 order.cannot-capture No payment can be created. The error message will include the reason. Common reasons include: the order was already captured or the order expired.
409 payment.excessive-amount The payment exceeds the order's amount available for capture
Language
Authorization
Header
Click Try It! to start a request and see the response here!