GET
/
payments
/
{id}
cURL
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<uuid>
required

ID of payment to fetch

Response

Payment retrieved successfully

amount
integer
createdAt
string<date-time>
currency
string
description
string
fee
integer
id
string
merchantId
integer
paymentType
enum<string>
Available options:
collection,
disbursement
phoneNumber
string
status
enum<string>
Available options:
pending,
success,
failed,
canceled
telecomOperator
enum<string>
Available options:
mtn,
orange
updatedAt
string<date-time>