GET
/
payments
/
{id}
curl --request GET \
  --url https://api.pay.staging.mynkwa.com/payments/{id} \
  --header 'X-API-Key: <api-key>'
{
  "amount": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "currency": "<string>",
  "description": "<string>",
  "fee": 123,
  "id": "<string>",
  "merchantId": 123,
  "paymentType": "collection",
  "phoneNumber": "<string>",
  "status": "pending",
  "telecomOperator": "mtn",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string
required

ID of payment to fetch

Response

200
application/json

Payment retrieved successfully

The response is of type object.