Transaction List by Order

Retrieves a list of transactions for a specified order ID. The request must include the merchant_id, order_id, and signature parameters to verify the request’s authenticity.

POST/transaction_list/

Retrieves a list of transactions for a specified order ID. The request must include the merchant_id, order_id, and signature parameters to verify the request’s authenticity.

Body application/json

requestobject
Show request properties
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.

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.

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.

Response

List of transactions for the specified order.

responseobject[]

List of transactions for the specified order.

Show response properties
verification_codestring

The verification code associated with the transaction, if applicable. Null if no verification code is used.

masked_cardstring

Partially masked card number used in the transaction, hiding sensitive digits.

protocolstring

Protocol used for processing the transaction, such as ‘safe_charge’.

pares_statusstring

3D Secure Pares status returned by the issuing bank, if applicable. Null if not used.

sender_countrystring

Country of the sender based on card or transaction details.

isteststring

Indicates whether the transaction is a test (‘Y’ for yes, ‘N’ for no).

timestartstring<date-time>

Timestamp indicating when the transaction started.

currencystring

Currency in which the transaction was processed, specified in ISO 4217 format.

preauthstring

Indicates whether the transaction was preauthorised (‘Y’ for yes, ‘N’ for no).

transaction_statusstring

Current status of the transaction, such as ‘approved’ or ‘declined’.

durationinteger

Duration of the transaction processing in seconds.

ip_countrystring

Country derived from the sender’s IP address.

settlement_amountinteger

Amount settled for the transaction in minor currency units (e.g., cents).

timeendstring<date-time>

Timestamp indicating when the transaction ended.

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.

actual_amountnumber

The actual amount involved in the transaction, in major currency units (e.g., dollars).

ipaddress_v4string

IPv4 address of the sender initiating the transaction.

expire_yearstring

Expiration year of the payment card used for the transaction.

actual_currencystring

Actual currency used for the transaction, specified in ISO 4217 format.

tran_typestring

Type of transaction, such as ‘purchase’ or ‘refund’.

payment_systemstring

Payment system used to process the transaction, such as ‘card’ or ‘paypal’.

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.

response_descriptionstring

A detailed description of the transaction response or error, if applicable.

payment_idinteger

Unique identifier assigned to the payment transaction.

card_typestring

Type of card used for the transaction, such as ‘VISA’ or ‘MASTERCARD’.

amountnumber

Total transaction amount in major currency units (e.g., dollars).

sender_emailstring

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

response_codeinteger

Numeric response code indicating the outcome of the transaction.

Request
curl -X POST "https://pay.fondy.eu/api/transaction_list/" \
  -H "Content-Type: application/json" \
  -d '{
  "request": {
    "merchant_id": 1,
    "order_id": "ORDER_12345678",
    "signature": "1773cf135bd89656131134b98637894dad42f808"
  }
}'
Response
{
  "response": [
    {
      "verification_code": null,
      "masked_card": "408093XXXXXX8221",
      "protocol": "safe_charge",
      "pares_status": null,
      "sender_country": "US",
      "istest": "N",
      "timestart": "2017-02-17T13:50:32Z",
      "currency": "GBP",
      "preauth": "N",
      "transaction_status": "declined",
      "duration": 953,
      "ip_country": "US",
      "settlement_amount": 0,
      "timeend": "2017-02-17T13:50:33Z",
      "order_id": "ORDER_12345678",
      "actual_amount": 33.7,
      "ipaddress_v4": "45.56.154.162",
      "expire_year": "2019",
      "actual_currency": "GBP",
      "tran_type": "purchase",
      "payment_system": "card",
      "merchant_id": 1,
      "response_description": "General decline",
      "payment_id": 37877547,
      "card_type": "VISA",
      "amount": 33.7,
      "sender_email": "string",
      "response_code": 1000
    }
  ]
}