Skip to navigation

Reject payment

View as Markdown
Record the customer's rejection of a payment, so the agent cannot complete it.

Authentication

x-api-keystring
Your API key, using a test key for the sandbox and a live key for production.

Path parameters

idstringRequired
Unique identifier of the resource.

Request

This endpoint expects an object.
reasonstringOptional<=500 characters
Why the customer rejected the payment.

Response

Rejection recorded.
messagestring
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error