🚀 New Feature: Bulk Payouts! Send funds to multiple beneficiaries in a single request. Check the guide
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://sandboxapi.me-cash.com/v1/transaction/{transactionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "transaction fetched successfully",
"status": "success",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"remark": "<string>",
"reason": "<string>",
"referenceNumber": "<string>",
"type": "<string>",
"state": "<string>",
"quote": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": {
"currency": "<string>",
"country": "<string>",
"amount": 123
},
"target": {
"currency": "<string>",
"country": "<string>",
"amount": 123
},
"rate": 123,
"fee": {
"amount": 123
}
},
"recipient": {
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"relationship": "<string>",
"type": "<string>",
"account": {
"sortCode": "<string>",
"accountNumber": "<string>"
},
"paymentChannel": "<string>",
"currency": "<string>",
"country": "<string>"
},
"created": "2023-11-07T05:31:56Z",
"processed": "2023-11-07T05:31:56Z"
}
}Retrieves details of a specific transaction by its ID.
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://sandboxapi.me-cash.com/v1/transaction/{transactionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "transaction fetched successfully",
"status": "success",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"remark": "<string>",
"reason": "<string>",
"referenceNumber": "<string>",
"type": "<string>",
"state": "<string>",
"quote": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": {
"currency": "<string>",
"country": "<string>",
"amount": 123
},
"target": {
"currency": "<string>",
"country": "<string>",
"amount": 123
},
"rate": 123,
"fee": {
"amount": 123
}
},
"recipient": {
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"relationship": "<string>",
"type": "<string>",
"account": {
"sortCode": "<string>",
"accountNumber": "<string>"
},
"paymentChannel": "<string>",
"currency": "<string>",
"country": "<string>"
},
"created": "2023-11-07T05:31:56Z",
"processed": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://developer.me-cash.com/llms.txt
Use this file to discover all available pages before exploring further.
Payout
pending - Awaiting processingprocessing - Being processedcompleted - Successfully sentfailed - Processing failedDeposit
pending - Awaiting confirmationconfirmed - Payment confirmedcompleted - Successfully creditedTransfer
pending - Awaiting processingcompleted - Successfully transferredPending
Processing
Completed
Failed
Cancelled
The unique identifier of the transaction
Was this page helpful?