Skip to main content
DELETE
/
3p
/
api
/
v2
/
transactions
/
{uuid}
Cancel a transaction ( SUNSETTING )
curl --request DELETE \
  --url https://api.grailpay.com/3p/api/v2/transactions/{uuid} \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Transaction cancelled.",
  "data": null,
  "errors": null,
  "error_code": null
}

Authorizations

Authorization
string
header
required

Token-based authentication using Authorization: Bearer <YOUR_API_KEY> provided by the GrailPay Support Team.

Path Parameters

uuid
string
required

UUID of the transaction to cancel

Response

Transaction canceled successfully

status
boolean
Example:

true

message
string
Example:

"Transaction cancelled."

data
object
Example:

null

errors
string
Example:

null

error_code
string
Example:

null