This endpoint enables merchants to accept payments through the Fondy Checkout, a hosted payment page designed to streamline the purchase process. By using this endpoint, merchants can initiate a transaction where customers are redirected to a secure, Fondy-managed payment page.
Fondy Checkout is a ready-to-use checkout solution optimised for mobile devices and crafted to provide a superior user experience, making the payment journey smooth and efficient. It simplifies compliance and security for merchants by handling sensitive payment processing tasks, including data encryption and fraud prevention measures. This allows merchants to focus on their business operations while delivering a quick, intuitive, and secure payment experience for customers.
POST/checkout/url
This endpoint enables merchants to accept payments through the Fondy Checkout, a hosted payment page designed to streamline the purchase process. By using this endpoint, merchants can initiate a transaction where customers are redirected to a secure, Fondy-managed payment page.
Fondy Checkout is a ready-to-use checkout solution optimised for mobile devices and crafted to provide a superior user experience, making the payment journey smooth and efficient. It simplifies compliance and security for merchants by handling sensitive payment processing tasks, including data encryption and fraud prevention measures. This allows merchants to focus on their business operations while delivering a quick, intuitive, and secure payment experience for customers.
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.
order_descstringrequired
A brief description of the order, encoded in UTF-8. This description will appear in payment records and can provide details for customer reference.
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.
amountintegerrequired
Total order amount in minor currency units (e.g., cents). For example, 1020 in EUR represents 10 euros and 20 cents. Separators or decimal points aren’t allowed.
Currency for the transaction (e.g., GBP, EUR, USD). Refer to the Currencies page for a full list of available currencies.
versionstring
Specifies the protocol version. Use version ‘1.0.1’ to ensure that the additional_info parameter is included in the callback response.
response_urlstring
The URL where the customer is redirected after completing the payment. Typically used to display the transaction status or next steps.
server_callback_urlstring
URL for server-to-server callback post payment. See Receiving Callbacks for more details on callbacks.
payment_systemsstring
A list of allowed payment systems for processing this order, separated by commas or semicolons. If not specified, the default allowed payment systems set in the Fondy merchant portal will be used.
Supported Values:
Payment system code
Description
card
Visa/MasterCard/Maestro
banklinks_pl
Polland bank links
banklinks_eu
European countries bank links
installments
Installments
default_payment_systemstring
Specifies the preferred payment system to be displayed first to the customer. Supported values match those available in the payment_systems parameter.
lifetimeinteger
The duration for which the order is valid, in seconds. Default is 36000 seconds (10 hours), with a maximum of 69120000 seconds (8 days).
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.
preauth"Y" | "N"
Pre-authorisation parameter for Visa/MasterCard payments to determine the timing of the charge.
sender_emailstring
Your customer’s email address. Fondy will send an email regarding the payment to this address.
descriptorstring
Dynamic descriptor appearing on the customer’s bank statement to indicate transaction details.
delayed"Y" | "N"
Flag controlling the behavior of delayed payments, which impacts retry attempts if the initial payment fails.
Specifies the main language displayed to users during the payment process. Refer to the Language Support page for more details.
product_idstring
Unique identifier assigned by the merchant for the product or service being purchased.
required_rectoken"Y" | "N"
Indicates if a card token should be generated by Fondy to facilitate recurring payments without cardholder re-entry. Set to ‘Y’ to request a card token for future payments. Refer to the Recurring Payments documentation for more details.
verification"Y" | "N"
Indicates whether Fondy should automatically reverse the payment after a successful approval, primarily used for card verification. Refer to the Verification guide for more information.
rectokenstring
A reusable token generated by Fondy to facilitate card payments without cardholder re-entry for future transactions.
receiver_rectokenstring
Token used for crediting funds to a card without requiring the full card number. Primarily for use cases where the cardholder is a recipient.
design_idinteger
The unique identifier for a custom checkout page design as configured in the Fondy merchant portal.
subscription"Y" | "N"
Enables or disables scheduled (recurring) payments for this order. Set to ‘Y’ to activate scheduled payments for a subscription service, or ‘N’ to process a one-time payment.
subscription_callback_urlstring
The URL for server callbacks triggered after each scheduled (recurring) payment is processed.
recurring_datastring<byte>
A Base64-encoded JSON string that configures the details of a recurring payment plan. When decoded, the JSON object specifies the schedule, amount, and start/end times for the recurring payments.
every(integer): Interval between payments. Defaults to 1 if not provided. Example: 1 represents one period (e.g., one month if period is “month”).
period(string): Unit of time for the payment interval. Defaults to "month" if not specified.
Accepted Values: "day", "week", "month", "year".
amount(integer): Payment amount in minor currency units (e.g., cents). Example: 10000 represents $100.00 for currencies with two decimal places.
start_time(string): Start date for the recurring payments in ISO 8601 format (e.g., "2024-04-26"). Defaults to the current date or the calculated start date if not provided.
end_time(string): End date for the recurring payments in ISO 8601 format. Defaults to the system-defined end date if not provided.
Response
The response for a successful transaction.
responseobject
Show response properties
response_statusstring
checkout_urlstring<uri>
payment_idinteger
Fondy Gateway › API Reference › Endpoints › Accept Payments