Fetch Payment

Get the details of a payment.

GET /payments/{id}

Parameters

Name
Description
Data Type
Required?

id

Payment session id Example: 2315fca8-9aec-42ee-8bee-a9d10add170e

String

Yes

Responses

Code
Description

200

Payment Details

404

Not Found

{
  "data": {
    "amount": 10000,
    "cancellation_reason": null,
    "correlation_id": "a3f53cea-e05a-11ee-8a6d-8a7019bc5d83",
    "currency": "NGN",
    "customer": {
      "billing_address": {
        "city": "Torphy",
        "country": "NG",
        "line1": "46259 Brekke Adella Rapids",
        "line2": "Suite 304",
        "state": "River",
        "zip_code": "53292"
      },
      "email": "greg_gleichner@hansen.net",
      "first_name": "Murray Inc",
      "id": "53380ca0-b29d-4dd4-8732-8fd518f4a394",
      "last_name": "",
      "phone_number": "+2348023321025"
    },
    "date": "2024-03-12T10:23:59.750724Z",
    "description": "Test",
    "id": "a3f53772-e05a-11ee-9444-8a7019bc5d83",
    "metadata": {
      "order": {
        "identifier": "Veniam quaerat dolor?",
        "items": [
          {
            "name": "Small Rubber Shoes",
            "type": "digital"
          }
        ]
      }
    },
    "mode": "test",
    "payment_method": {
      "account_name": "Carrie Romaguera Sr.",
      "account_number": "34521736",
      "account_type": "savings",
      "bank_name": "Conn Group",
      "id": "1e140102-3ddc-41d1-aaaf-b101cd195377",
      "type": "bank_account"
    },
    "reference": "Possimus rerum.",
    "status": "pending"
  }
}

Last updated