Stay in sync with webhooks.
Axiron sends payment state changes to your callback URL. Treat the callback as a signed event to verify, reconcile and acknowledge.
Register your callback
Pass your HTTPS
callbackUriwhen creating the payment. Preserve the payment ID and your order ID for reconciliation.Verify before processing
Read the raw request body and validate the HMAC-SHA256 signature with your secret key before interpreting the payload. Use the handler example for the specific callback.
Handle duplicates safely
Treat the same
(id, state)pair as idempotent. A repeated callback must not credit the customer twice.Read the payment outcome
The top-level
status: trueis not proof that funds settled. Useresult.stateand reconcile the final amount.Acknowledge the event
Return the acknowledgement documented for that callback. Use the status endpoint as a reconciliation fallback when needed.