Transactions

Here we have the APIs which will help us with the management of transactions.

Get By Reference

This endpoint provides the capability to get transactions by our system-generated transaction reference.

URL
{baseUrl}/developer/loadtransactionbytxref?txRef=
REQUEST
curl --location --request GET 
'{baseUrl}/developer/loadtransactionbytxref?txRef=SSP638486096826968883093D' \
--header 'Content-Type: application/json' \
--header 'Authorization: bearer_token'
SUCCESS RESPONSE
{
    "ResponseCode": "00",
    "ResponseMessage": "Successful",
    "Data": [
        {
            "Id": 13393,
            "TxRef": "SSP638486096826968883093D",
            "Amount": 6500.0000,
            "Fee": 6.0000,
            "SourceCurrency": "USD",
            "TargetCurrency": "USD",
            "ChargedAmount": 6506.0000,
            "Rate": 1.0000,
            "Status": "Pending",
            "DateCreated": "2024-04-13T12:57:44",
            "DateUpdated": "2024-04-13T12:57:44",
            "RecipientId": -1,
            "OwnerId": 1,
            "SecurityQuestion": "",
            "SecurityAnswer": "",
            "ChargeRoute": "FullCard",
            "BatchId": null,
            "TransactionType": null,
            "Spread": 0.0000
        }
    ]
}

Get By User Reference

This endpoint provides the capability to get transactions by user-generated transaction reference.

Get User Transactions

This endpoint provides the capability to get all user transactions

Last updated