Check Order Status

This endpoint allows merchants to check the current status of an order through a host-to-host request. The request can be made in JSON, XML, or HTML FORM format, and the response will be returned in the same format as the request.

POST/status/order_id

This endpoint allows merchants to check the current status of an order through a host-to-host request. The request can be made in JSON, XML, or HTML FORM format, and the response will be returned in the same format as the request.

Header Parameters

Content-Typestringrequired

Specifies the format for the request. Response will be in the same format.

Body application/json

requestobject
Show request properties
order_idstringrequired

A unique identifier for the order. This can be any value defined by the merchant, allowing you to use any internal order identification system your business employs.

merchant_idintegerrequired

A unique identifier assigned to the merchant by Fondy upon account registration. This ID is required for authenticating requests and associating transactions with the merchant’s account.

signaturestringrequired

Signature for request verification, generated according to Fondy’s algorithm. Required to verify merchant request consistency and authenticity. Learn how to use Fondy’s algorithm at the Signature Generation for Request and Response page.

versionstring

Specifies the protocol version for the request. Default is ‘1.0’ to maintain compatibility with the current API structure.

Response

Order status response in the requested format (JSON, XML, or HTML FORM).

responseobject

Parameters of the final response

Show response properties
order_idstring

A unique identifier for the order. This can be any value defined by the merchant, allowing you to use any internal order identification system your business employs.

merchant_idinteger

A unique identifier assigned to the merchant by Fondy upon account registration. This ID is required for authenticating requests and associating transactions with the merchant’s account.

amountinteger

Order amount in cents without separator.

currency"AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "STD" | "SVC" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD"

Currency for the transaction (e.g., GBP, EUR, USD). Refer to the Currencies page for a full list of available currencies.

order_status"created" | "processing" | "declined" | "approved" | "expired" | "reversed"

Order processing status indicating the current state of the transaction.

response_statusstring

Request processing status (e.g., ‘success’ or ‘failure’).

signaturestring

Order signature for request verification.

tran_type"purchase" | "verification" | "p2p credit" | "p2p transfer" | "settlement" | "reverse"
sender_cell_phonestring

Customer’s mobile phone number.

sender_accountstring

Customer payment account.

masked_cardstring

Masked card number.

card_bininteger

First 6 digits of the card number.

card_type"VISA" | "MasterCard"
rrnstring

Bank transaction ID, often not unique.

approval_codestring

Authorisation code returned by the bank.

response_codeinteger

Order decline response code.

response_descriptionstring

Description of the response code.

reversal_amountinteger

Total reversal amount for the current order.

settlement_amountinteger

Settlement amount for the current order.

settlement_currency"AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "STD" | "SVC" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD"

Currency for the transaction (e.g., GBP, EUR, USD). Refer to the Currencies page for a full list of available currencies.

order_timestring<date-time>

Order creation date in DD.MM.YYYY hh:mm:ss format.

settlement_datestring<date>

Settlement date in DD.MM.YYYY format.

eci5 | 6 | 7

Ecommerce Indicator for 3DSecure authentication status.

feeinteger

Fee charged by Fondy.

payment_systemstring

Payment system used for the transaction.

sender_emailstring

Your customer’s email address. Fondy will send an email regarding the payment to this address.

payment_idinteger

Unique payment ID generated by Fondy.

actual_amountinteger

Actual amount held or charged from the card.

actual_currency"AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "STD" | "SVC" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD"

Currency for the transaction (e.g., GBP, EUR, USD). Refer to the Currencies page for a full list of available currencies.

product_idstring

Merchant’s product or service ID.

merchant_datastring

Custom data provided by the merchant in the request. You can include any arbitrary string data relevant to your business needs, such as user IDs, session information, or notes. The data must be in string format and must not contain the ’|’ (pipe) character.

verification_status"verified" | "incorrect" | "failed" | "created"

Code verification result.

rectokenstring

Token for accessing card funds without cardholder interaction.

rectoken_lifetimestring<date-time>

Token expiration date in DD.MM.YYYY hh:mm:ss format.

additional_infoobject

Additional information in JSON format.

Show additional_info properties
bank_namestring

Bank name.

bank_countrystring

Bank country.

bank_response_codestring

Response code from the bank.

card_productstring

Type of card product.

card_categorystring

Category of the card.

settlement_feenumber

Settlement fee.

capture_statusstring

Status of the capture.

client_feenumber

Fee charged to the client.

ipaddress_v4string

IP address in IPv4 format.

capture_amountinteger

Amount captured.

card_type"VISA" | "MasterCard"

Type of the card used.

reservation_datastring

Reservation data.

bank_response_descriptionstring

Description of the bank’s response.

transaction_idinteger

Transaction ID from the bank.

timeendstring<date-time>

End time for the transaction.

card_numberstring

Card number used.

payment_method"apple" | "googlepay" | "card"

Payment method used.

Request
curl -X POST "https://pay.fondy.eu/api/status/order_id" \
  -H "Content-Type: application/json" \
  -H "Content-Type: <Content-Type>" \
  -d '{
  "request": {
    "order_id": "ORDER_12345678",
    "merchant_id": 1,
    "signature": "1773cf135bd89656131134b98637894dad42f808",
    "version": "1.0"
  }
}'
Response
{
  "response": {
    "order_id": "ORDER_12345678",
    "merchant_id": 1,
    "amount": 0,
    "currency": "AED",
    "order_status": "created",
    "response_status": "string",
    "signature": "string",
    "tran_type": "purchase",
    "sender_cell_phone": "string",
    "sender_account": "string",
    "masked_card": "string",
    "card_bin": 0,
    "card_type": "VISA",
    "rrn": "string",
    "approval_code": "string",
    "response_code": 0,
    "response_description": "string",
    "reversal_amount": 0,
    "settlement_amount": 0,
    "settlement_currency": "AED",
    "order_time": "1970-01-01T00:00:00.000Z",
    "settlement_date": "2024-01-01",
    "eci": 5,
    "fee": 0,
    "payment_system": "string",
    "sender_email": "string",
    "payment_id": 0,
    "actual_amount": 0,
    "actual_currency": "AED",
    "product_id": "string",
    "merchant_data": "string",
    "verification_status": "verified",
    "rectoken": "string",
    "rectoken_lifetime": "1970-01-01T00:00:00.000Z",
    "additional_info": {
      "bank_name": "string",
      "bank_country": "string",
      "bank_response_code": "string",
      "card_product": "string",
      "card_category": "string",
      "settlement_fee": 0,
      "capture_status": "string",
      "client_fee": 0,
      "ipaddress_v4": "string",
      "capture_amount": 0,
      "card_type": "VISA",
      "reservation_data": "string",
      "bank_response_description": "string",
      "transaction_id": 0,
      "timeend": "1970-01-01T00:00:00.000Z",
      "card_number": "string",
      "payment_method": "apple"
    }
  }
}