PayU
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 CZK
currencies.
Request
Send a payment request with the following additional data:
|
Request example
{
"request": {
"amount": 500,
"currency": "CZK",
"description": "description",
"test": true,
"return_url": "https://return.com",
"language": "en",
"customer": {
"first_name": "John",
"last_name": "Doe",
"country": "CZ"
},
"method": {
"type": "pay_u"
}
}
}
Response
Redirect your customer to the URL received as the value of the form.action
parameter.
Response example
{
"transaction": {
"uid": "90d6ab04-dc9c-4812-973e-1ae7534d59c5",
"type": "payment",
"status": "pending",
"amount": 500,
"currency": "CZK",
"description": "description",
"created_at": "2025-09-17T20:23:31Z",
"updated_at": "2025-09-17T20:23:32Z",
"method_type": "pay_u",
"receipt_url": "https://backoffice.paysage.io/customer/transactions/90d6ab04-dc9c-4812-973e-1ae7534d59c5/5d8fec864352e534bc09d9bd013d492f1695016a483143fabd0837dfba94ad2b?language=en",
"payment": {
"status": "pending",
"gateway_id": 5220,
"ref_id": "f823e8d9c1ecf65a6d11",
"message": "Transaction was initialized."
},
"pay_u": {
"type": "pay_u"
},
"customer": {
"country": "CZ",
"last_name": "Doe",
"first_name": "John",
"email": null,
"ip": null
},
"manually_corrected_at": null,
"version": 1,
"message": "Transaction was initialized.",
"test": true,
"language": "en",
"billing_address": {
"country": "CZ",
"last_name": "Doe",
"first_name": "John"
},
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"gateway": {
"iframe": false
},
"form": {
"action": "link_to_payment_page",
"fields": [],
"method": "GET"
}
}
}
Refund
Request
Send a standard refund request. The amount
value must not exceed the amount of the parent transaction. It is possible to make multiple refunds for the same payment transaction, in this case the sum of refund amounts must not exceed the amount of the corresponding payment transaction.