POST
/
refunds
/
resend-callback
Resend refund callback
curl --request POST \
  --url https://api.sandbox.pawapay.io/refunds/resend-callback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "refundId": "f4401bd2-1568-4140-bf2d-eb77d2b2b639"
}'
{
"payoutId": "f4401bd2-1568-4140-bf2d-eb77d2b2b639",
"status": "ACCEPTED"
}
Resends the callback for a refund to your configured callback URL. The refund must have reached a final state.
Please ensure your implementation of callback handling follows the guidelines in Handling callbacks.

Authorizations

Authorization
string
header
required

Body

application/json
refundId
string<uuid>
required

A UUIDv4 based ID previously specified by you, that uniquely identifies the refund.

Required string length: 36
Example:

"f4401bd2-1568-4140-bf2d-eb77d2b2b639"

Response

Request has been processed by pawaPay

refundId
string<uuid>
required

The refundId of the refund transaction.

Required string length: 36
Example:

"f4401bd2-1568-4140-bf2d-eb77d2b2b639"

status
enum<string>
required

Possible initiation statuses:

  • ACCEPTED - The manual action request has been accepted by pawaPay for processing.
  • REJECTED - The manual action request has been rejected by pawaPay. See rejectionReason for details.
  • FAILED - The manual action request has failed during submitting for processing due to internal reasons.
Available options:
ACCEPTED,
REJECTED,
FAILED
rejectionReason
string

Human-readable explanation why request has been rejected

Example:

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