SNAP
Last updated
Was this helpful?
Last updated
Was this helpful?
Before you hit API on DOKU side, you need to understand how to generate a X-Signature
.
X-Signature
is a security parameter that must be generated on the merchant's backend to verify the authenticity of the request.
Here is the case the X-Signature
is used:
When merchant hits DOKU endpoints
Merchant generate X-Signature
in Request Header : Merchant must generate the x-signature in request header and DOKU will verify the authenticity.
For Register the virtual Account you have to use Symmetric Signature. .
When DOKU hits merchant endpoints (HTTP Notification / Inquiry Request).
Merchant must also verify the X-Signature
that DOKU sends on the request header when DOKU Notification hits merchant Merchant domain URL
, to verify the notification request is coming from DOKU. .
Symmetric Signature
Asymmetric Signature