Get Transaction

Endpoint to get a single transaction. This endpoint will return a data of a particular transaction.

Get transaction endpoint

GET https://surtii.com/api/v1/business/transaction/:transaction_id

Path Parameters

Name
Type
Description

transaction_id*

String

{{transaction_id}}

Headers

Name
Type
Description

Authorization*

String

Bearer {{api_key}}

{
    "status": true,
    "code": 200,
    "message": "Transaction retrieved",
    "data": {
        "transactions": {
            "paga": {
                "amount": 7348.44,
                "accountNumber": "1937159393",
                "ussdShortCode": "*737*000*724+59255414#"
            },
            "payaza": {
                "account_number": "",
                "transaction_amount": 0,
                "transactionFeeAmount": 0,
                "transactionPayableAmount": 0
            },
            "user_type": "customer",
            "transaction_id": "625c97b43b210cb4dda94f9b",
            "user_id": "612ff7edb89c8a7a7adca174",
            "amount": 11.3,
            "amount_in_fiat": 7263,
            "withdrawal_fee": 1,
            "address": "TFf9KXJSWFVbCKAenoReEjSHCeiGoAoFzG",
            "hash": "",
            "link": "https://www.payment.scalex.africa/?r=628226208902236",
            "coin_type": "USDT_TRC_20",
            "type": "payout",
            "status": "failed",
            "createdAt": "2022-04-17T22:41:56.809Z",
            "updatedAt": "2022-04-18T01:45:01.131Z"
        }
    }
}

Last updated