Void an authorization

Changed on
post/paypal/authorizations/{id}/void

Request

  • Base URL
    https://gateway.pmnts-sandbox.io/v1.0
  • URL
    https://gateway.pmnts-sandbox.io/v1.0/paypal/authorizations/{id}/void
  • Auth
    HTTP basic

Path parameters

idstring required

ID of the authorization to be voided.

Response

200

successfulboolean
testboolean

Example response

{
  "successful": true,
  "response": {
    "id": "071-PPA-6CQGSNJFKJ1UQF9J",
    "amount": 12000,
    "decimal_amount": 120,
    "captured_amount": 199,
    "successful": true,
    "currency": "AUD",
    "transaction_id": "071-PPA-6CQGSNJFKJ1UQF9J",
    "transaction_date": "2020-08-31T08:10:52+10:00",
    "message": "Approved",
    "status": "Voided",
    "reference": "ref_12345_612515",
    "order": "071-PPO-ZVCVMDEFCBX86RX2"
  },
  "test": true
}

Changes