Check Orders

Get order information

You can make a "check-orders" request to check the payment status of multiple orders.

If there is a list of orders and from these one or more are not found, this API call will not return data for the order_ids that were not found

curl --location --request POST 'https://sandbox.fcfpay.com/api/v2/check-orders' \
--header 'Authorization: Bearer YOUR_SANDBOX_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "order_ids": ["Test123","3x101","Test12"]
}'

Check Order

POST https://merchant.fcfpay.com/api/v2/check-order

Query Parameters

NameTypeDescription

order_ids*

array

The Order IDs you want to check

{
    "success": true,
    "data": {
        "Test123": {
            "order_id": "Test123",
            "user_id": "1",
            "order_amount": 0,
            "total_fiat_amount": "54.75",
            "fiat_currency": "EUR",
            "txs": [
                {
                    "deposited": true,
                    "txid": "0x278859d371bd6084963db80ba066fc891fe006047b0dc5c4929efff35918052c",
                    "confirm_blocks": 24,
                    "status": "deposited",
                    "amount_usd": "33.89",
                    "fiat_amount": "33.10",
                    "fiat_currency": "EUR",
                    "amount": "150000000000000000",
                    "currency": "BSC",
                    "fees": "210000000000000",
                    "decimal": 18,
                    "fee_decimal": 18,
                    "date": "Jul 05 2022 03:02:35"
                },
                {
                    "deposited": true,
                    "txid": "0x2d54bfbfaf5fcd36a3ebb2400809b08d72defce9f121b3d30cb0bad57d23377c",
                    "confirm_blocks": 22,
                    "status": "deposited",
                    "amount_usd": "22.47",
                    "fiat_amount": "21.94",
                    "fiat_currency": "EUR",
                    "amount": "100000000000000000",
                    "currency": "BSC",
                    "fees": "210000000000000",
                    "decimal": 18,
                    "fee_decimal": 18,
                    "date": "Jul 05 2022 03:02:35"
                }
            ]
        },
        "3x101": {
            "order_id": "3x101",
            "user_id": "1",
            "order_amount": 0,
            "total_fiat_amount": 0,
            "fiat_currency": "USD",
            "txs": []
        }
    },
    "message": "Successfully fetched."
2

Last updated