Skip to main content
DELETE
/
3p
/
api
/
v2
/
transactions
/
{uuid}
Cancel a transaction ( STABLE )
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

Sanctum token-based authentication using the Bearer scheme. This is provided by the GrailPay Customer 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