For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Hook Parameters

Retrieves the current webhook configuration settings. Webhooks allow your system to receive real-time notifications about events in the payment system.

Endpoint

GET/v2/hook/get

Link

Request

Headers

Key
Value
Required

Accept

application/json

Yes

Note: No authorization required for this endpoint.


Response (200 OK)

Returns the current webhook configuration settings.

Response Fields

Field
Type
Description
Example

enabled

boolean

Webhook feature status. true = active, false = disabled.

true

hookUrl

string

URL where webhook notifications are sent.

"https://api.yourdomain.com/webhooks"

jwtSecret

string

Secret key for JWT verification of incoming webhook requests.

"your-jwt-secret-key-123"

hookCustomer

boolean

Customer events: Notifications for customer-related changes.

true

hookOperation

boolean

Operation events: Notifications for transaction operations.

true

hookDepositAccount

boolean

Deposit account events: Notifications for account changes.

false

hookCounterparty

boolean

Counterparty events: Notifications for counterparty changes.

true

Example Response:

json


Examples

Request

bash

Response with All Features Disabled

json


Event Types Explained

  • hookCustomer: Customer creation, updates, status changes

  • hookOperation: Payment processing, transfers, transactions

  • hookDepositAccount: Account balance changes, account updates

  • hookCounterparty: Counterparty/bank details changes


Notes

  • Security: The jwtSecret is used to verify incoming webhook requests. Keep it secure.

  • URL Requirements: The hookUrl must be HTTPS for production environments.

  • Enablement: All event types require enabled: true to function.

  • Retry Mechanism: Webhooks typically include retry logic for failed deliveries.

Webhook Payload Example:

json

Last updated