POST
/
v2
/
remittances
/
fail-enqueued
/
{remittanceId}
Cancel enqueued remittance
curl --request POST \
  --url https://api.sandbox.pawapay.io/v2/remittances/fail-enqueued/{remittanceId} \
  --header 'Authorization: Bearer <token>'
{
"remittanceId": "f4401bd2-1568-4140-bf2d-eb77d2b2b639",
"status": "ACCEPTED"
}
Cancels a remittance that is currently in the ENQUEUED status.
  • The payment will be moved to FAILED status.
  • The payment will have the failure code MANUALLY_CANCELLED.
  • If you have configured callbacks, a callback will be sent.

Authorizations

Authorization
string
header
required

Path Parameters

remittanceId
string<uuid>
required

The id of the remittance that you are performing this operation on.

Required string length: 36

Response

Request has been processed by pawaPay

remittanceId
string<uuid>
required

The unique ID for this payment in pawaPay as specified by you during initiation.

Required string length: 36
Example:

"f4401bd2-1568-4140-bf2d-eb77d2b2b639"

status
enum<string>
required

Possible initiation statuses:

  • ACCEPTED - The action request has been accepted by pawaPay for processing.
  • REJECTED - The action request has been rejected by pawaPay. See failureReason for details.
Available options:
ACCEPTED,
REJECTED
failureReason
object

The reason for the failure for this action

Example:

"Deposit with ID \\#f4401bd2-1568-4140-bf2d-eb77d2b2b639 not found"