[Deprecated] Get Order

This API is designed to retrieve order details using a unique Transaction ID, allowing developers and merchants to obtain specific information related to individual orders.

getByTransactionId

GET /api/v1/external/orders/getByTransactionId

This API is designed to retrieve order details using a unique Transaction ID, allowing developers and merchants to obtain specific information related to individual orders.

Query Parameters

{
    "status": "success",
    "data": {
        "id": "109094a9-6a14-42f3-ae13-165c8c401638",
        "merchantTransactionId": "dshcucfhweedhbdvsyssdse7fc6sd9a14",
        "type": "buy",
        "status": "created",
        "amount": 0.5,
        "currency": "EUR",
        "baseCurrency": "EUR",
        "baseCurrencyAmount": 0.5,
        "exchangeRate": 1,
        "cryptocurrency": "USDT",
        "cryptocurrencyAmount": 0.5275597197602768,
        "cryptoExchangeRate": 1.0551194395205536,
        "redirectUrl": ""
    }
}

Response Fields:

Usage:

To retrieve details of an order, construct the URL with the required Transaction ID and send a GET request with a valid Access Token in the Authorization header.

Considerations:

  • Ensure that the Access Token is valid and has the necessary permissions to access this endpoint.

  • Verify that the Transaction ID is correctly specified in the request parameter.

Conclusion:

The GetOrderByID API provides a robust and secure means for developers and merchants to retrieve detailed and specific information related to orders, aiding in efficient order management and oversight within the RampNow ecosystem.

Last updated