Skip to content

EPS

DC Integration option

Payment

Payment Flow

  1. The customer initiates the payment on the merchant's website.
  2. The merchant sends a payment request to PaySage.io.
  3. PaySage.io responds with a link to the payment page.
  4. The merchant redirects the customer to the payment page.
  5. The customer completes the payment.
  6. PaySage.io sends a webhook notification with the payment status to the merchant.

Info

This integration option supports only EUR currency.

Request

Send a payment request with the following additional data:

Parameter Type Description
request object
return_url * required
string URL to return the customer to when the transaction is completed.
ip string The customer's IP address.
method object A section of the payment method information.
type * required
string eps
customer object A section of the customer details.
first_name * required
string The customer's first name.
last_name * required
string The customer's last name.
email string The customer's email address.
phone string The customer's phone number.
city string The customer's billing city.
address string The customer's billing address.
zip string The customer's billing ZIP or postal code.
birth_date string The customer's date of birth in the ISO 8601 format (YYYY-MM-DD).
Request example
{
    "request": {
        "amount": 500,
        "currency": "EUR",
        "description": "description",
        "test": true,
        "return_url": "https://return.com",
        "language": "en",
        "customer": {
            "first_name": "John",
            "last_name": "Doe"
        },
        "method": {
            "type": "eps"
        }
    }
}
Response

Redirect your customer to the URL received as the value of the form.action parameter.

Response example
{
    "transaction": {
        "uid": "e4eaad77-c646-481a-9d3a-a4588aecd35b",
        "type": "payment",
        "status": "pending",
        "amount": 500,
        "currency": "EUR",
        "description": "description",
        "created_at": "2025-04-08T13:50:34Z",
        "updated_at": "2025-04-08T13:50:35Z",
        "method_type": "eps",
        "receipt_url": "https://backoffice.paysage.io/customer/transactions/e4eaad77-c646-481a-9d3a-a4588aecd35b/f63ef715c6631756d00f141d275cfd1eb5d240ff359af06626accf00b6c5e55f?language=en",
        "payment": {
            "status": "pending",
            "gateway_id": 5220,
            "ref_id": "e3c562bc360df85df898",
            "message": "Transaction was initialized."
        },
        "eps": {
            "type": "eps"
        },
        "customer": {
            "first_name": "John",
            "last_name": "Doe",
            "email": null,
            "ip": null
        },
        "manually_corrected_at": null,
        "version": 0,
        "message": "Transaction was initialized.",
        "test": true,
        "language": "en",
        "billing_address": {
            "first_name": "John",
            "last_name": "Doe"
        },
        "additional_data": {
            "payment_method": {
                "type": "alternative"
            }
        },        
        "gateway": {
            "iframe": false
        },
        "form": {
            "action": "link-to-payment-page",
            "method": "GET",
            "fields": []
        }
    }
}