get/paypal/orders/{id}

Request

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

Path parameters

idstring required

The ID of the order.

Headers

Content-Typestring

Response

200

successfulboolean

Example response

{
  "successful": true,
  "response": {
    "id": "071-PPO-T2OBQZZEDUSYHW3M",
    "reference": "ref_12345_486873",
    "amount": 12000,
    "decimal_amount": 120,
    "successful": true,
    "message": "Approved",
    "currency": "AUD",
    "transaction_id": "071-PPO-T2OBQZZEDUSYHW3M",
    "transaction_date": "2020-08-28T15:39:16+10:00",
    "intent": "Capture",
    "paypal_reference": "ref_12345_486873",
    "invoice_id": "ref_12345_486873",
    "status": "Completed",
    "captured_amount": 120,
    "captures": [
      {
        "id": "071-PPC-VJ9ZTJP55GXSVNC6",
        "status": "Completed",
        "captured": true,
        "amount": 12000,
        "decimal_amount": 120,
        "successful": true,
        "currency": "AUD",
        "transaction_id": "071-PPC-VJ9ZTJP55GXSVNC6",
        "transaction_date": "2020-08-28T15:39:16+10:00",
        "invoice_id": "ref_12345_486873",
        "paypal_fee": 318,
        "seller_receivable_net_amount": 11682,
        "note_to_payer": "Sporting Goods",
        "is_final_capture": true
      }
    ],
    "payer": {
      "id": "SNGQ72BA8UA4W",
      "email": "test-buyer@example.com",
      "address": {
        "country_code": "AU"
      }
    },
    "payee": {
      "id": "GE53HS375QX4J",
      "email": "test-seller@example.com"
    }
  }
}

Changes