Apple Pay Alternative
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 | apple_pay_alt . |
Request example
{
"request": {
"amount": 444,
"currency": "EUR",
"description": "test description",
"test": false,
"tracking_id": "your_uniq_number21212",
"ip": "127.0.0.1",
"return_url": "https://your-success.url",
"method": {
"type": "apple_pay_alt"
}
}
}
Response
Redirect your customer to the URL received as the value of the form.action
parameter.
Response example
{
"transaction": {
"uid": "cd7f3e9e-3484-407b-a880-b70d9906a0e3",
"type": "payment",
"status": "pending",
"amount": 444,
"currency": "EUR",
"description": "test description",
"created_at": "2025-07-01T07:21:34Z",
"updated_at": "2025-07-01T07:21:34Z",
"method_type": "apple_pay_alt",
"receipt_url": "https://account.freepayment.online/customer/transactions/cd7f3e9e-3484-407b-a880-b70d9906a0e3/2c5248b0087d16eb66dfca89c2f8f22f3d762660576096dcab8d956133ac9bf4?language=en",
"payment": {
"status": "pending",
"gateway_id": 5527,
"ref_id": "951599511",
"message": "Invoice is created successfully, waiting for a payment",
"bank_code": 31,
"rrn": 8888,
"auth_code": 9999
},
"apple_pay_alt": {
"type": "apple_pay_alt"
},
"customer": {
"email": null,
"ip": "127.0.0.1"
},
"manually_corrected_at": null,
"version": 1,
"message": "Invoice is created successfully, waiting for a payment",
"tracking_id": "your_uniq_number21212",
"test": false,
"language": "en",
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"gateway": {
"iframe": false
},
"form": {
"action": "payment-link",
"fields": [],
"method": "GET"
}
}
}
Refund
Request
Send a standard refund request. The amount
value must equal the amount of the corresponding payment transaction.