Skip to main content
POST
/
payments
/
reject
Reject Payment
curl --request POST \
  --url https://api.usepooler.com/payments/reject \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'
Reject a pending payment transaction. This endpoint allows you to cancel a payment that was initiated but not yet confirmed.

Overview

Use this endpoint to reject a payment that is in pending status. This is useful if you need to cancel a payment before it’s executed.

Request Body

reason
string
Optional reason for rejecting the payment

Response

Returns a success response indicating the payment has been rejected.

Authorizations

Authorization
string
header
required

Bearer token authentication. Include your API key in the Authorization header as: Bearer {your_api_key}

Body

application/json
reason
string

Reason for rejecting the payment

Response

200

Payment rejected successfully