revolut.php¶
Revolut Payment Gateway integration for managing payment initialization, order status verification, and transaction confirmation.
API Methods¶
| Method | Action | Description |
|---|---|---|
check | get | Checks the current status of a Revolut order to verify if payment has been completed. |
confirm | get | Confirms a completed Revolut order and processes the associated invoice. |
init | get | Initializes a new Revolut payment session for a specific invoice. |
revolut/check¶
Checks the current status of a Revolut order to verify if payment has been completed.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: check |
| token | ✅ | string | Authentication token for API access. |
| order_id | ✅ | integer | The unique identifier of the order to check status. |
Request example
Success response example
revolut/confirm¶
Confirms a completed Revolut order and processes the associated invoice.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: confirm |
| token | ✅ | string | Authentication token for API access. |
| order_id | ✅ | integer | The unique identifier of the order to be confirmed. |
Request example
Success response example
revolut/init¶
Initializes a new Revolut payment session for a specific invoice.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: init |
| token | ✅ | string | Authentication token for API access. |
| invoice_id | ✅ | integer | The unique identifier of the invoice to pay. |
| force_subscr | ❌ | integer | Flag to force subscription creation during initialization. |
Request example