Get transaction

Returns an individual onramp transaction for a user.

This endpoint will retrieve an individual onramp transaction for a user based on a specified transactionId.

Note:

  • This endpoint necessitates the inclusion of the customerId parameter, as it is designed to retrieve an user's individual transactions.

  • The order status after which SGB can begin fiat-settlement is status: 6.

Get an onramp transaction from transactionId.

POST https://integration.coinmena.com/onramp-bank/api/v1/onramp/transaction

Request Body

NameTypeDescription

transactionId*

String

Onramp transaction orderId

customerId*

String

Unique id received from /kyc/url

{
    "status": 1,
    "code": 200,
    "data": {
        "transactionId": "550",
        "createdAt": "2023-11-29T01:30:08.000Z",
        "updatedAt": "2023-11-29T01:30:08.000Z",
        "fromAmount": "47",
        "toAmount": "10.1",
        "fromCurrency": "AED",
        "toCurrency": "usdc",
        "paymentMethodType": "",
        "depositAddress": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
        "status": "2",
        "transactionHash": "0x9b34a0e4897cd834847d8bbb8814eba72149f914785c406684d4f887ac"
    }
}

{
    "status": 1,
    "code": 200,
    "data": {
        "transactionId": "550",
        "createdAt": "2023-11-29T01:30:08.000Z",
        "updatedAt": "2023-11-29T01:30:08.000Z",
        "fromAmount": "47",
        "toAmount": "10.1",
        "fromCurrency": "AED",
        "toCurrency": "usdc",
        "paymentMethodType": "",
        "depositAddress": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
        "status": "2",
        "transactionHash": "0x9b34a0e4897cd834847d8bbb8814eba72149f914785c406684d4f887ac"
    }
}

Last updated