WinWallet Merchant API Help

Webhook callback endpoint

/invoice/callback

Endpoint для webhook уведомлений.

ВАЖНО:

  • этот endpoint вызывается платежной системой

  • Bearer авторизация НЕ требуется

  • endpoint должен быть публично доступен

  • callback может отправляться повторно

Request parameters

{ "invoice_id": ""inv_01970f4f6b7c7d52b2d9"", "status": "1", "merchant_data": { "customer_id": 123, "order_id": "1001" }, "amount": 1500, "currency": "USD", "description": ""Payment for order #1001"", "merchant_transaction_id": ""order_1001"", "positions": [ { "title": ""Premium subscription"", "amount": 1000, "currency": "USD" } ], "created_at": 1779454179000, "updated_at": 1779454179000, "extra_data": { "provider_transaction_id": "txn_123456", "receipt_url": "https://pay.example.com/receipt/123" } }

Responses

{ "success": "true" }
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": null, "ctx": {} } ] }
25 мая 2026