SNAP
Introduction
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. Learn how to generate 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 merchantMerchant domain URL
, to verify the notification request is coming from DOKU. Learn how to generate Symmetric Signature.
Signature Type
Symmetric Signature
When to use ?
For transaction request such as Create VA, Account Binding, OTP Verification, Check Balance Inquiry, Payment, Refund, Account Unbinding
Asymmetric Signature
When to use ?
For Get Token B2B and Get Token B2B2C
Last updated