Fetching orders

Returns a list of orders associated with your account. The orders are sorted in descending order by creation time, with a default page size of 5.

curl --location 'https://sandbox-api.transfi.com/v2/orders/?limit=100' \
--header 'Accept: application/json' \
--header 'MID: ABCDEF_NA_NA' \
--header 'Authorization: Basic 0=='
{
    "orders": [
 			{
        "orderId": "OR-1234567890123456781",
        "type": "payout",
        "depositCurrency": "USDT",
        "depositAmount": 58.343312,
        "withdrawCurrency": "EUR",
        "withdrawAmount": 50,
        "status": "fund_settled",
        "recipientName": {
            "firstName": "john",
            "lastName": "doe"
        },
        "mid": "ABCDEF_NA_NA",
        "fees": {
            "processingFee": 0,
            "fixedFee": {
                "totalFixedFees": 0,
                "totalFixedTfFees": 0,
                "totalFixedCxFees": 0,
                "fixedFeesCurrency": "EUR",
                "fixedFeeDetails": {
                    "baseFeeFixedRate": 0,
                    "tfFeeFixedRate": 0,
                    "cxFeeFixedRate": 0,
                    "currency": ""
                }
            },
            "feeMode": "percentage"
        },
        "partnerContext": {
            "testfield1": "1234",
            "testfield2": "5678"
        },
        "partnerId": "order-12345",
        "bankTxnId": [],
        "exchangeRate": 0.857,
        "userId": "UX-12345678912345678"
      },
      {
        "orderId": "OR-1234567890123456789",
        "type": "payout",
        "depositCurrency": "USDT",
        "depositAmount": 58.343312,
        "withdrawCurrency": "EUR",
        "withdrawAmount": 50,
        "status": "fund_settled",
        "recipientName": {
            "firstName": "john",
            "lastName": "doe"
        },
        "mid": "ABCDEF_NA_NA",
        "fees": {
            "processingFee": 0,
            "fixedFee": {
                "totalFixedFees": 0,
                "totalFixedTfFees": 0,
                "totalFixedCxFees": 0,
                "fixedFeesCurrency": "EUR",
                "fixedFeeDetails": {
                    "baseFeeFixedRate": 0,
                    "tfFeeFixedRate": 0,
                    "cxFeeFixedRate": 0,
                    "currency": ""
                }
            },
            "feeMode": "percentage"
        },
        "partnerContext": {
            "testfield1": "1234",
            "testfield2": "5678"
        },
        "partnerId": "order-12345",
        "bankTxnId": [],
        "exchangeRate": 0.857,
        "userId": "UX-12345678912345678"
      },
    ],
    "total": 2,
    "pages": 1
}

Returns the data of a specific order.

curl --location 'https://sandbox-api.transfi.com/v2/orders/OR-1234567890123456789' \
--header 'Accept: application/json' \
--header 'MID: ABCDEF_NA_NA' \
--header 'Authorization: Basic 0=='
{
    "data": {
        "orderId": "OR-1234567890123456789",
        "type": "payout",
        "depositCurrency": "USDT",
        "depositAmount": 58.343312,
        "withdrawCurrency": "EUR",
        "withdrawAmount": 50,
        "status": "fund_settled",
        "recipientName": {
            "firstName": "john",
            "lastName": "doe"
        },
        "mid": "ABCDEF_NA_NA",
        "fees": {
            "processingFee": 0,
            "fixedFee": {
                "totalFixedFees": 0,
                "totalFixedTfFees": 0,
                "totalFixedCxFees": 0,
                "fixedFeesCurrency": "EUR",
                "fixedFeeDetails": {
                    "baseFeeFixedRate": 0,
                    "tfFeeFixedRate": 0,
                    "cxFeeFixedRate": 0,
                    "currency": ""
                }
            },
            "feeMode": "percentage"
        },
        "partnerContext": {
            "testfield1": "1234",
            "testfield2": "5678"
        },
        "partnerId": "order-12345",
        "bankTxnId": [],
        "exchangeRate": 0.857,
        "userId": "UX-12345678912345678"
    }
}