curl --request GET \
--url https://staging.api.mavapay.co/api/v1/transaction \
--header 'X-API-KEY: <api-key>'{
"status": "success",
"data": {
"id": "10cda92f-db32-4f69-ae30-af32a0055caf",
"ref": "142a39e0bb85c45b06a9657f56156",
"hash": "89d7fd6571c8bdf4242091953553c26228dd5b7679729d20aaf2cc84f000d1bc",
"amount": 10000,
"fees": 0,
"currency": "NGN",
"type": "WITHDRAWAL",
"status": "SUCCESS",
"autopayout": true,
"createdAt": "2025-01-23T10:46:01.050Z",
"updatedAt": "2025-01-23T10:46:04.590Z",
"metadata": {
"id": "f2bf7bf8-9fe9-4afd-9ebb-cf3abae8cb19",
"merchantId": "f77986d6-75df-4979-85a9-8acedcfca392",
"merchantName": "Ricki Allardice",
"bankName": "CAPITEC BANK",
"bankAccountNumber": "1352906218",
"reference": "2bNkqVDLER7n65O7RrcV",
"customerInternalFee": 0,
"order": {
"id": "22723-5636",
"settledQuoteId": "e3d3cb1c-3206-40bb-81a9-8dfd9d69a853",
"amount": 10000,
"currency": "NGN",
"paymentMethod": "LIGHTNING",
"status": "PAID",
"quote": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"exchangeRate": 1874805.7499999998,
"usdToTargetCurrencyRate": 18.4977,
"paymentBtcDetail": "<string>",
"paymentMethod": "LIGHTNING",
"totalAmount": 6474,
"equivalentAmount": 10000,
"expiry": "2023-11-07T05:31:56Z",
"sourceCurrency": "BTCSAT",
"targetCurrency": "NGNKOBO",
"paymentCurrency": "NGNKOBO",
"customerInternalFee": 0
}
}
}
}
}curl --request GET \
--url https://staging.api.mavapay.co/api/v1/transaction \
--header 'X-API-KEY: <api-key>'{
"status": "success",
"data": {
"id": "10cda92f-db32-4f69-ae30-af32a0055caf",
"ref": "142a39e0bb85c45b06a9657f56156",
"hash": "89d7fd6571c8bdf4242091953553c26228dd5b7679729d20aaf2cc84f000d1bc",
"amount": 10000,
"fees": 0,
"currency": "NGN",
"type": "WITHDRAWAL",
"status": "SUCCESS",
"autopayout": true,
"createdAt": "2025-01-23T10:46:01.050Z",
"updatedAt": "2025-01-23T10:46:04.590Z",
"metadata": {
"id": "f2bf7bf8-9fe9-4afd-9ebb-cf3abae8cb19",
"merchantId": "f77986d6-75df-4979-85a9-8acedcfca392",
"merchantName": "Ricki Allardice",
"bankName": "CAPITEC BANK",
"bankAccountNumber": "1352906218",
"reference": "2bNkqVDLER7n65O7RrcV",
"customerInternalFee": 0,
"order": {
"id": "22723-5636",
"settledQuoteId": "e3d3cb1c-3206-40bb-81a9-8dfd9d69a853",
"amount": 10000,
"currency": "NGN",
"paymentMethod": "LIGHTNING",
"status": "PAID",
"quote": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"exchangeRate": 1874805.7499999998,
"usdToTargetCurrencyRate": 18.4977,
"paymentBtcDetail": "<string>",
"paymentMethod": "LIGHTNING",
"totalAmount": 6474,
"equivalentAmount": 10000,
"expiry": "2023-11-07T05:31:56Z",
"sourceCurrency": "BTCSAT",
"targetCurrency": "NGNKOBO",
"paymentCurrency": "NGNKOBO",
"customerInternalFee": 0
}
}
}
}
}The transaction ID to get the details for
The order ID to get the transactions for
The payment hash of the transaction to get the details for
Transaction response
"success"
Show child attributes
"10cda92f-db32-4f69-ae30-af32a0055caf"
"142a39e0bb85c45b06a9657f56156"
"89d7fd6571c8bdf4242091953553c26228dd5b7679729d20aaf2cc84f000d1bc"
10000
0
NGN, KES, BTC, ZAR WITHDRAWAL, DEPOSIT SUCCESS, PENDING, FAILED true
"2025-01-23T10:46:01.050Z"
"2025-01-23T10:46:04.590Z"
Show child attributes
"f2bf7bf8-9fe9-4afd-9ebb-cf3abae8cb19"
"f77986d6-75df-4979-85a9-8acedcfca392"
"Ricki Allardice"
"CAPITEC BANK"
"1352906218"
"2bNkqVDLER7n65O7RrcV"
0
Show child attributes
"22723-5636"
"e3d3cb1c-3206-40bb-81a9-8dfd9d69a853"
10000
NGN, KES, ZAR LIGHTNING PAID, PENDING, EXPIRED, FAILED Show child attributes
1874805.7499999998
18.4977
LIGHTNING 6474
10000
BTCSAT NGNKOBO, KESCENT, ZARCENT NGNKOBO, KESCENT, ZARCENT 0