Get Payment Link & Transactions

Get a payment links & transactions

/ request
GET https://staging-eagle.kongapay.com/request/payment-service/get-payment-request?identifier={{identifier}}

This endpoint allows you to get all the payment links and transactions on your account.

# Headers

Name
Type
Description

Integration-Secret-Key

string

Unique integration key for merchant

Content-Type

string

Set value to application/json

Response

```
{
  "status": "success",
  "message": "Get Payment Request And Charges Attached request successful",
  "data": {
    "status": "success",
    "data": {
      "id": 366,
      "identifier": "PCB3Y",
      "merchant_id": null,
      "integration_id": 8,
      "title": "Point2",
      "description": "Send many many ",
      "amount": null,
      "status": "completed",
      "reusable": null,
      "url": "https://staging-kongapay-pg.kongapay.com/pay/PCB3Y",
      "callback_url": null,
      "success_message": null,
      "expires_at": "2025-04-03T13:22:00.000Z",
      "created_at": "2025-04-02T13:23:16.000Z",
      "updated_at": "2025-04-02T13:23:16.000Z",
      "totalAmount": 113578,
      "charges": [
        {
          "id": 24295,
          "amount": 56789,
          "merchant_id": null,
          "integration_id": 8,
          "identifier": "CH_202542122435_0QULV",
          "reference": null,
          "customer_id": "fad@mailinator.com",
          "email": "fad@mailinator.com",
          "phone": "08024681357",
          "livemode": 1,
          "currency": "566",
          "description": "Send many many ",
          "logo_url": null,
          "callback": "https://staging.kongapay.com",
          "merchant_channel_config": null,
          "status": "completed",
          "successful": 1,
          "channel_id": 1,
          "service": "kongapay",
          "source": "web_sdk",
          "original_amount": 56789,
          "otp_count": null,
          "otp_last_sent": null,
          "merchant_name": "Joe Leo",
          "created_at": "2025-04-02T13:24:56.000Z",
          "updated_at": "2025-04-02T14:29:29.000Z",
          "charge_info_id": 20859,
          "settled": 1,
          "discount_info": null,
          "metadata": [
            {
              "name": "sphinx_keyboard",
              "value": "655c69c0-da81-424f-8339-064a76833fa0"
            },
            {
              "name": "sphinx_user",
              "value": "{\"userId\":\"56517\",\"userType\":\"client\",\"name\":\"JOHN DOE\",\"email\":\"fad@mailinator.com\",\"phone\":\"2348024681357\",\"accountNumber\":\"1001688918\"}"
            },
            {
              "name": "customer_name",
              "value": "JOHN DOE"
            },
            {
              "name": "customer_phone",
              "value": "2348024681357"
            },
            {
              "name": "customer_email",
              "value": "fad@mailinator.com"
            }
          ],
          "merchant_reference": "PR-PCB3Y-LZ3L7"
        },
        {
          "id": 24296,
          "amount": 56789,
          "merchant_id": null,
          "integration_id": 8,
          "identifier": "CH_202542133146_D9M9F",
          "reference": null,
          "customer_id": "fad@mailinator.com",
          "email": "fad@mailinator.com",
          "phone": "08024681357",
          "livemode": 1,
          "currency": "566",
          "description": "Send many many ",
          "logo_url": null,
          "callback": "https://staging.kongapay.com",
          "merchant_channel_config": null,
          "status": "completed",
          "successful": 1,
          "channel_id": 1,
          "service": "kongapay",
          "source": "web_sdk",
          "original_amount": 56789,
          "otp_count": null,
          "otp_last_sent": null,
          "merchant_name": "Joe Leo",
          "created_at": "2025-04-02T14:32:00.000Z",
          "updated_at": "2025-04-02T14:34:51.000Z",
          "charge_info_id": 20860,
          "settled": 1,
          "discount_info": null,
          "metadata": [
            {
              "name": "sphinx_keyboard",
              "value": "82480301-9a37-4e8c-8b97-19a0753781f7"
            },
            {
              "name": "sphinx_user",
              "value": "{\"userId\":\"56517\",\"userType\":\"client\",\"name\":\"JOHN DOE\",\"email\":\"fad@mailinator.com\",\"phone\":\"2348024681357\",\"accountNumber\":\"1001688918\"}"
            },
            {
              "name": "customer_name",
              "value": "JOHN DOE"
            },
            {
              "name": "customer_phone",
              "value": "2348024681357"
            },
            {
              "name": "customer_email",
              "value": "fad@mailinator.com"
            }
          ],
          "merchant_reference": "PR-PCB3Y-7364I"
        }
      ],
      "chargeInfo": [
        {
          "id": 20859,
          "merchant_reference": "PR-PCB3Y-LZ3L7",
          "amount": 56789,
          "merchant_id": null,
          "integration_id": 8,
          "livemode": 1,
          "currency": "566",
          "description": "Send many many ",
          "logo_url": null,
          "callback": "https://staging.kongapay.com",
          "customer_id": "fad@mailinator.com",
          "email": "fad@mailinator.com",
          "phone": "08024681357",
          "merchant_channel_config": null,
          "merchant_name": "Joe Leo",
          "original_amount": null,
          "otp_count": null,
          "otp_last_sent": null,
          "status": "success",
          "created_at": "2025-04-02T13:24:35.000Z",
          "transaction_amount_limit": null,
          "discount_amount": null,
          "discount_info": null,
          "discounted": 0,
          "payment_request_id": 366,
          "charges": [
            {
              "id": 24295,
              "amount": 56789,
              "merchant_id": null,
              "integration_id": 8,
              "identifier": "CH_202542122435_0QULV",
              "reference": null,
              "customer_id": "fad@mailinator.com",
              "email": "fad@mailinator.com",
              "phone": "08024681357",
              "livemode": 1,
              "currency": "566",
              "description": "Send many many ",
              "logo_url": null,
              "callback": "https://staging.kongapay.com",
              "merchant_channel_config": null,
              "status": "completed",
              "successful": 1,
              "channel_id": 1,
              "service": "kongapay",
              "source": "web_sdk",
              "original_amount": 56789,
              "otp_count": null,
              "otp_last_sent": null,
              "merchant_name": "Joe Leo",
              "created_at": "2025-04-02T13:24:56.000Z",
              "updated_at": "2025-04-02T14:29:29.000Z",
              "charge_info_id": 20859,
              "settled": 1,
              "discount_info": null,
              "chargeMetadata": [
                {
                  "id": 37223,
                  "charge_id": 24295,
                  "name": "sphinx_keyboard",
                  "value": "655c69c0-da81-424f-8339-064a76833fa0",
                  "visible": null,
                  "created_at": "2025-04-02T13:24:57.000Z",
                  "updated_at": "2025-04-02T13:24:57.000Z"
                },
                {
                  "id": 37224,
                  "charge_id": 24295,
                  "name": "sphinx_user",
                  "value": "{\"userId\":\"56517\",\"userType\":\"client\",\"name\":\"JOHN DOE\",\"email\":\"fad@mailinator.com\",\"phone\":\"2348024681357\",\"accountNumber\":\"1001688918\"}",
                  "visible": null,
                  "created_at": "2025-04-02T13:25:09.000Z",
                  "updated_at": "2025-04-02T13:25:09.000Z"
                },
                {
                  "id": 37225,
                  "charge_id": 24295,
                  "name": "customer_name",
                  "value": "JOHN DOE",
                  "visible": null,
                  "created_at": "2025-04-02T13:25:09.000Z",
                  "updated_at": "2025-04-02T13:25:09.000Z"
                },
                {
                  "id": 37226,
                  "charge_id": 24295,
                  "name": "customer_phone",
                  "value": "2348024681357",
                  "visible": null,
                  "created_at": "2025-04-02T13:25:09.000Z",
                  "updated_at": "2025-04-02T13:25:09.000Z"
                },
                {
                  "id": 37227,
                  "charge_id": 24295,
                  "name": "customer_email",
                  "value": "fad@mailinator.com",
                  "visible": null,
                  "created_at": "2025-04-02T13:25:09.000Z",
                  "updated_at": "2025-04-02T13:25:09.000Z"
                }
              ]
            }
          ]
        },
        {
          "id": 20860,
          "merchant_reference": "PR-PCB3Y-7364I",
          "amount": 56789,
          "merchant_id": null,
          "integration_id": 8,
          "livemode": 1,
          "currency": "566",
          "description": "Send many many ",
          "logo_url": null,
          "callback": "https://staging.kongapay.com",
          "customer_id": "fad@mailinator.com",
          "email": "fad@mailinator.com",
          "phone": "08024681357",
          "merchant_channel_config": null,
          "merchant_name": "Joe Leo",
          "original_amount": null,
          "otp_count": null,
          "otp_last_sent": null,
          "status": "success",
          "created_at": "2025-04-02T14:31:46.000Z",
          "transaction_amount_limit": null,
          "discount_amount": null,
          "discount_info": null,
          "discounted": 0,
          "payment_request_id": 366,
          "charges": [
            {
              "id": 24296,
              "amount": 56789,
              "merchant_id": null,
              "integration_id": 8,
              "identifier": "CH_202542133146_D9M9F",
              "reference": null,
              "customer_id": "fad@mailinator.com",
              "email": "fad@mailinator.com",
              "phone": "08024681357",
              "livemode": 1,
              "currency": "566",
              "description": "Send many many ",
              "logo_url": null,
              "callback": "https://staging.kongapay.com",
              "merchant_channel_config": null,
              "status": "completed",
              "successful": 1,
              "channel_id": 1,
              "service": "kongapay",
              "source": "web_sdk",
              "original_amount": 56789,
              "otp_count": null,
              "otp_last_sent": null,
              "merchant_name": "Joe Leo",
              "created_at": "2025-04-02T14:32:00.000Z",
              "updated_at": "2025-04-02T14:34:51.000Z",
              "charge_info_id": 20860,
              "settled": 1,
              "discount_info": null,
              "chargeMetadata": [
                {
                  "id": 37228,
                  "charge_id": 24296,
                  "name": "sphinx_keyboard",
                  "value": "82480301-9a37-4e8c-8b97-19a0753781f7",
                  "visible": null,
                  "created_at": "2025-04-02T14:32:00.000Z",
                  "updated_at": "2025-04-02T14:32:00.000Z"
                },
                {
                  "id": 37229,
                  "charge_id": 24296,
                  "name": "sphinx_user",
                  "value": "{\"userId\":\"56517\",\"userType\":\"client\",\"name\":\"JOHN DOE\",\"email\":\"fad@mailinator.com\",\"phone\":\"2348024681357\",\"accountNumber\":\"1001688918\"}",
                  "visible": null,
                  "created_at": "2025-04-02T14:32:46.000Z",
                  "updated_at": "2025-04-02T14:32:46.000Z"
                },
                {
                  "id": 37230,
                  "charge_id": 24296,
                  "name": "customer_name",
                  "value": "JOHN DOE",
                  "visible": null,
                  "created_at": "2025-04-02T14:32:46.000Z",
                  "updated_at": "2025-04-02T14:32:46.000Z"
                },
                {
                  "id": 37231,
                  "charge_id": 24296,
                  "name": "customer_phone",
                  "value": "2348024681357",
                  "visible": null,
                  "created_at": "2025-04-02T14:32:46.000Z",
                  "updated_at": "2025-04-02T14:32:46.000Z"
                },
                {
                  "id": 37232,
                  "charge_id": 24296,
                  "name": "customer_email",
                  "value": "fad@mailinator.com",
                  "visible": null,
                  "created_at": "2025-04-02T14:32:47.000Z",
                  "updated_at": "2025-04-02T14:32:47.000Z"
                }
              ]
            },
            {
              "id": 24297,
              "amount": 56789,
              "merchant_id": null,
              "integration_id": 8,
              "identifier": "CH_202542133246_1TQSV",
              "reference": null,
              "customer_id": "fad@mailinator.com",
              "email": "fad@mailinator.com",
              "phone": "08024681357",
              "livemode": 1,
              "currency": "566",
              "description": "Send many many ",
              "logo_url": null,
              "callback": "https://staging.kongapay.com",
              "merchant_channel_config": null,
              "status": "completed",
              "successful": 1,
              "channel_id": 1,
              "service": "kongapay",
              "source": "web_sdk",
              "original_amount": 56789,
              "otp_count": null,
              "otp_last_sent": null,
              "merchant_name": "Joe Leo",
              "created_at": "2025-04-02T14:32:57.000Z",
              "updated_at": "2025-04-02T14:33:45.000Z",
              "charge_info_id": 20860,
              "settled": 1,
              "discount_info": null,
              "chargeMetadata": [
                {
                  "id": 37233,
                  "charge_id": 24297,
                  "name": "sphinx_keyboard",
                  "value": "02f0eca0-3fca-4868-b1c7-e6073db374b4",
                  "visible": null,
                  "created_at": "2025-04-02T14:32:57.000Z",
                  "updated_at": "2025-04-02T14:32:57.000Z"
                },
                {
                  "id": 37234,
                  "charge_id": 24297,
                  "name": "sphinx_user",
                  "value": "{\"userId\":\"56517\",\"userType\":\"client\",\"name\":\"JOHN DOE\",\"email\":\"fad@mailinator.com\",\"phone\":\"2348024681357\",\"accountNumber\":\"1001688918\"}",
                  "visible": null,
                  "created_at": "2025-04-02T14:33:16.000Z",
                  "updated_at": "2025-04-02T14:33:16.000Z"
                },
                {
                  "id": 37235,
                  "charge_id": 24297,
                  "name": "customer_name",
                  "value": "JOHN DOE",
                  "visible": null,
                  "created_at": "2025-04-02T14:33:16.000Z",
                  "updated_at": "2025-04-02T14:33:16.000Z"
                },
                {
                  "id": 37236,
                  "charge_id": 24297,
                  "name": "customer_phone",
                  "value": "2348024681357",
                  "visible": null,
                  "created_at": "2025-04-02T14:33:16.000Z",
                  "updated_at": "2025-04-02T14:33:16.000Z"
                },
                {
                  "id": 37237,
                  "charge_id": 24297,
                  "name": "customer_email",
                  "value": "fad@mailinator.com",
                  "visible": null,
                  "created_at": "2025-04-02T14:33:16.000Z",
                  "updated_at": "2025-04-02T14:33:16.000Z"
                }
              ]
            }
          ]
        }
      ]
    }
  },
  "request_id": 1411835
}
```

Last updated