ISX
SQ Integration option
Payment
Payment Flow
- The customer initiates a payment on the merchant's website.
- The merchant sends a payment request to the PaynetworkGate.
- PaynetworkGate responds with a link to the payment page.
- The merchant redirects the customer to the payment page.
- The customer completes the payment.
- PaynetworkGate sends a webhook notification with the payment status to the merchant. In the rare cases the status of the transaction can be changed from
failedtosuccessful. In this case, PaynetworkGate will send another webhook notification with the updated status to the merchant. - The merchant displays the payment status to the customer.
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. |
| method | object | A section of the payment method information. |
| type * required |
string | isx |
| 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 * required |
string | The customer's email address. |
| country | string | The customer's billing country in the ISO 3166-1 alpha-2 format. Possible values: DE, DA, GB, JA, NO, SE, GB, FR, ES. |
Request example
{
"request": {
"amount": 100,
"currency": "EUR",
"description": "description",
"test": true,
"return_url": "https://merchant.ltd/return",
"customer": {
"first_name": "Ioanna",
"last_name": "Johnson",
"email": "example@example.com",
"country": "DE"
},
"method": {
"type": "isx"
}
}
}
Response
Redirect your customer to the URL received as the value of the form.action parameter.
Response example
{
"transaction": {
"uid": "32d4dc57-295b-4858-841b-bdcce79ad7ae",
"type": "payment",
"status": "pending",
"amount": 100,
"currency": "EUR",
"description": "description",
"created_at": "2024-10-07T08:29:14Z",
"updated_at": "2024-10-07T08:29:14Z",
"method_type": "isx",
"receipt_url": "https://backoffice.paynetworks.io/customer/transactions/32d4dc57-295b-4858-841b-bdcce79ad7ae/fa5c7b719d3e6eba1eeeed0c2807211cbed3882c9bab2ca8f84cde882625dd30",
"payment": {
"status": "pending",
"gateway_id": 4539,
"ref_id": "0d32d942-a459-4527-8511-362b12ecc111",
"message": "Transaction was initialized."
},
"isx": {
"type": "isx"
},
"customer": {
"first_name": "Ioanna",
"last_name": "Johnson",
"email": "example@example.com",
"country": "DE",
"ip": null
},
"manually_corrected_at": null,
"version": 0,
"message": "Transaction was initialized.",
"test": true,
"billing_address": {
"first_name": "Ioanna",
"last_name": "Johnson",
"email": "example@example.com",
"country": "DE"
},
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"gateway": {
"iframe": true
},
"form": {
"action": "https://sq-payment-page/0d32d942-a459-4527-8511-362b12ecc111",
"method": "GET",
"fields": []
}
}
}