Callbacks
The "Callbacks" section of the API documentation provides information on how to set up and handle callbacks (webhooks).
Callbacks are used to receive real-time notifications about various events in the payment process, such as transaction status updates. This section explains how to configure your server to receive JSON formatted callback notifications from RPAY.IO, ensuring that you are promptly informed about important transaction events.
GET https://admin.rpay.io/api/callbacks
Request Body
skip
Integer
limit
Integer
The https://admin.rpay.io/api/callbacks endpoint in the RPAY.IO API is designed to manage callbacks or webhooks. It allows you to retrieve the entire list of Callbacks, for further manipulation of a given entity.
This functionality is key to automating the response to transaction status changes, ensuring that your system is constantly updated with the latest payment information.
GET https://admin.rpay.io/api/callbacks/{entity_id}
Request Body
entity_id*
String
The https://admin.rpay.io/api/callbacks/{entity_id} endpoint is used to deal with specific callbacks or webhooks identified by their {entity_id}. By replacing {entity_id} with the actual callback ID, this point allows you to interact directly with that particular callback, such as getting its details, updating its parameters, or even removing it.
// Response example
[
{
"owner_id": "6542593c5b8b1149c008a471",
"callback": "https://webhook.site/3ad58e66-7c72-446c-b187-42f227978d14",
"callback_response": "This URL has no default content configured. <a href=\"https://webhook.site/#!/3ad58e66-7c72-446c-b187-42f227978d14\">View in Webhook.site</a>.",
"deposit_id": "658563f7134366476197654c",
"withdraw_id": null,
"created": "2023-12-22T13:34:46.713000",
"id": "65856646a2dc1bc41b99f377"
}
...
]Last updated