Bank Transfer
SS Integration option
Payment flow
- The customer initiates the payment on the merchant's website.
- The merchant sends the payment request to Freepayment.
- Freepayment sends a response containing the URL for completing the payment.
- The merchant redirects the customer to the provided URL.
- The customer completes the payment.
- Freepayment sends a webhook notification with the payment status to the merchant. The merchant may also request the payment status from Freepayment with the status query.
Info
This integration option supports only EUR
currency.
Payment
Request
Send a payment request with the following additional parameters:
Parameter | Type | Description |
---|---|---|
request | object | |
return_url * required |
string | A URL to return the customer to when a transaction is completed. |
method | object | A section of the payment method information. |
type * required |
string | bank_transfer . |
channel * required |
string | The customer's billing country in the ISO 3166-1 Alpha-2 format. Possible values: AT , BE , BG , HR , CY , CZ , DK , EE , FI , FR , DE , GR , HU , IS , IE , IT , LV , LI , LT , LU , MT , NL , NO , PL , PT , RO , SK , SI , ES , SE , GB . |
Request example
{
"request": {
"test": true,
"amount": 500,
"currency": "EUR",
"description": "description",
"return_url": "https://return.com",
"method": {
"type": "bank_transfer",
"channel": "ES"
}
}
}
Response
Redirect your customer to the URL received as the value of the form.action
parameter.
Response example
{
"transaction": {
"uid": "d7b88f80-f714-4f64-9aeb-dc880b3b7b4a",
"type": "payment",
"status": "pending",
"amount": 2300,
"currency": "EUR",
"description": "test",
"created_at": "2025-01-11T11:31:09Z",
"updated_at": "2025-01-11T11:31:10Z",
"method_type": "bank_transfer",
"receipt_url": "https://account.freepayment.online/customer/transactions/d7b88f80-f714-4f64-9aeb-dc880b3b7b4a/e598bbe9b8a2deaf99fbcefca028f6c6c2b7eedf593d3ee37151e9acd61844da?language=ru",
"payment": {
"status": "pending",
"gateway_id": 4824,
"ref_id": "4214474",
"message": "Invoice is created successfully, waiting for a payment",
"bank_code": 31
},
"bank_transfer": {
"type": "bank_transfer"
},
"customer": {
"email": null,
"ip": null
},
"manually_corrected_at": null,
"version": 0,
"message": "Invoice is created successfully, waiting for a payment",
"tracking_id": "your_uniq_number21212",
"test": true,
"language": "en",
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"gateway": {
"iframe": false
},
"form": {
"action": "https://test-ss/hosted?transaction-id=5e747509-4b2e-8a0a-03ea-5697eb",
"method": "GET",
"fields": []
}
}
}