Fetch an authorization

Changed on
get/paypal/authorizations/{id}

Request

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

Path parameters

idstring required

The ID of the authorization.

Headers

Content-Typestring

Response

200

successfulboolean

Example response

{
  "successful": true,
  "response": {
    "id": "071-PPA-0R71TAD4EYV0NPRA",
    "amount": 12000,
    "decimal_amount": 120,
    "successful": true,
    "currency": "AUD",
    "transaction_id": "071-PPA-0R71TAD4EYV0NPRA",
    "transaction_date": "2020-08-21T09:33:14+10:00",
    "message": "Approved",
    "status": "Created",
    "reference": "ref_12345_603951",
    "balance_available_for_capture": 13800,
    "order": "071-PPO-SLNVOYHCWTEFWGB6"
  }
}

Changes