P24
DC Integration option
Payment
Payment Flow
- The customer initiates the payment on the merchant's website.
- The merchant sends a payment request to PaySage.io.
- PaySage.io responds with a link to the payment page.
- The merchant redirects the customer to the payment page.
- The customer completes the payment.
- PaySage.io sends a webhook notification with the payment status to the merchant.
Info
This integration option supports PLN
and EUR
currencies.
Request
Send a payment request with the following additional data:
|
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",
"email": "john.doe@example.com"
},
"method": {
"type": "p24"
}
}
}
Response
Redirect your customer to the URL received as the value of the form.action
parameter.
Response example
{
"transaction": {
"uid": "b428dfaa-286f-4d70-8432-363967dccab9",
"type": "payment",
"status": "pending",
"amount": 500,
"currency": "EUR",
"description": "description",
"created_at": "2025-09-17T20:08:06Z",
"updated_at": "2025-09-17T20:08:08Z",
"method_type": "p24",
"receipt_url": "https://backoffice.paysage.io/customer/transactions/b428dfaa-286f-4d70-8432-363967dccab9/97e8fc3a6c71613857b7224b46dfc3a497866a7c95413806a88576fec112fa22?language=en",
"payment": {
"status": "pending",
"gateway_id": 5220,
"ref_id": "33f7d85483ec17456cfb",
"message": "Transaction was initialized."
},
"p24": {
"type": "p24"
},
"customer": {
"email": "john.doe@example.com",
"last_name": "Doe",
"first_name": "John",
"ip": null
},
"manually_corrected_at": null,
"version": 1,
"message": "Transaction was initialized.",
"test": true,
"language": "en",
"billing_address": {
"email": "john.doe@example.com",
"last_name": "Doe",
"first_name": "John"
},
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"gateway": {
"iframe": false
},
"form": {
"action": "link_to_payment_page",
"fields": [],
"method": "GET"
}
}
}