curl --request GET \
--url https://sandbox.api.fin.com/v1/transit/payment/{payment_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"payment_id": "FIN_PROVIDED_UUID",
"integration_type": "BYBIT",
"status": "PAY_INIT",
"create_time": 1740748353,
"payment_info": {
"pay_id": "01JN6AZVEMAC8H9SED6JES3QH8",
"merchant_trade_no": "841e4ba2-...-a2a45de7bd00",
"amount": "100",
"status": "PAY_INIT",
"currency": "USDT",
"currency_type": "crypto",
"expire_time": 1740751953,
"payment_time": 0
},
"settlement_info": null
}
}Retrieve payment details by payment ID
curl --request GET \
--url https://sandbox.api.fin.com/v1/transit/payment/{payment_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"payment_id": "FIN_PROVIDED_UUID",
"integration_type": "BYBIT",
"status": "PAY_INIT",
"create_time": 1740748353,
"payment_info": {
"pay_id": "01JN6AZVEMAC8H9SED6JES3QH8",
"merchant_trade_no": "841e4ba2-...-a2a45de7bd00",
"amount": "100",
"status": "PAY_INIT",
"currency": "USDT",
"currency_type": "crypto",
"expire_time": 1740751953,
"payment_time": 0
},
"settlement_info": null
}
}settlement_info field will be null until PAY_SUCCESS. The payment_time will be 0 until PAY_SUCCESS.Bearer token authentication. Obtain token from /v1/oauth/token endpoint
The unique payment identifier returned from Create Payment
Payment details retrieved successfully
Show child attributes