Callback Examples
Deposit Callbacks
To provide authentication for the callback, Whalet API signs the POST your api key and secret:
X-Processing-Key – Your public key
X-Processing-Signature – POST body, signed by your secret key HMAC-SHA512
Time
2023-04-21 23:49:16
Method
POST
Status
200
Url
https://payments.joy-api.com/payments/gate/accept/
Format
application/json
Data sent:
{
"site_id": 4,
"amount": 6000,
"currency": "EUR",
"real_amount": 6000,
"real_currency": "EUR",
// "real_processor_message": "unknown",
"extended_info_enabled": 1,
"processor_id": "2539",
"processor_code": "2539",
// "processor_message": "unknown",
"customer_purse": "",
"completed_at": "2023-04-21 23:49:12",
"site_login": "5f0dd254a66207a3d842b216",
"payment_group_id": 1163,
"display_payment_group_id": 1163,
"customer_ip": "176.192.190.181",
"source_type": "4",
"payment_type_id": 1163,
"type_id": 3,
"status_id": 4,
"transaction_id": 62305121,
"order_id": "116821209456121052194498733609",
"external_id": "644320f121b9750acfc5b90c",
"cabba_invoice": true,
"signature": "e75a72be002de4e2bfb4f5a314c207b7669e2b45",
"sign": "e1bfcf2ef2d54981764b5416396dbbce97d7b05d"
}Response received:
Withdrawal Callback
Time
2023-04-21 13:31:38
Method
POST
Status
200
Url
https://payments.joy-api.com/payments/gate/accept/
Format
application/json
Data sent:
Response received:
Exchange Callbacks
(json callback example)
Last updated
Was this helpful?