Proactive Notifications
Provide callbackUrl when creating a remote payment to receive asynchronous status updates. The callback body uses the same JSON schema as GET /remote_api/v1/remote_payments/{paymentReference}.
If callbackToken is provided, Sylq sends:
Authorization: Bearer CALLBACK_TOKEN
Content-Type: application/json
Callbacks are also sent to the location's configured posting webhook when the transaction status matches its webhook configuration. Its cash-register key is used as the bearer token. Merchant-level webhook settings are used as fallback when the location has no value.
Duplicate targets with the same URL are called only once. Callback delivery is asynchronous; your receiver should return a successful HTTP status quickly and process the event idempotently using payment.reference and payment.status.
Callback delivery failures do not change the payment status. Query the payment endpoint to reconcile uncertain delivery.