Payout Detail
Post
https://sandbox.transfersmile.com/api/payout/detail
Get Payout Detail
This endpoint allow you get payout detail.
Parameters
Header
| Content-Type* | string | application/json; chartset=UTF-8 | 
| AppId* | string | Get App ID from dashboard. | 
| Authorization* | string | SHA256($sorted_params + $app_key) | 
Body
| transaction_id* | string | transfersmile transaction id | 
| timestamp* | integer | unix timestamp, e.g. 1628512575 | 
Responses
| 200 | Payout detail successfully retrieved | 
{
    "code": 200,
    "msg": "success",
    "time": 1628569551,
    "data": {
        "reference_id": "custom_codexxxx",
        "transaction_id": "TS202108090705014iNqtxektRS",
        "user_name": "GUILHERME ALVES DE SOUZA",
        "bank_id": "EXXXXD", // only supported by pix payout.
        "amount": "0.55",
        "source_amount": "3.58",
        "settlement_amount": "0.55",
        "source_currency": "BRL",
        "arrival_amount": "0.55",
        "arrival_currency": "BRL",
        "exchange_rate": "1",
        "tax": "0.02",
        "fee": "3.01",
        "fee_user": "merchant",
        "transaction_status": "PAID",
        "create_time": 1628492701,
        "update_time": 1628495767
    }
}
| 400 | Request has expired | 
{
    "code": 4001009,
    "msg": "request has expired",
    "time": 1628512773,
    "data": {}
}
Example
curl --location --request POST 'https://sandbox.transfersmile.com/api/payout/detail' \
--header 'AppId: 94FAC**********************68548' \
--header 'Authorization: d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302' \
--header 'Content-Type: application/json' \
--data-raw '{
    "transaction_id": "TPO2108090705014iNqtxektRS",
    "timestamp": 1628569550
}'
Tip
Note: 94FAC**********************68548 is transfersmile's test merchant id for sandbox, and d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302 is authorization token associated with the test App ID.
