SNAP API Testing
3 min
Swagger for SNAP API Testing
API Testing proceeds to testing several payment method using API SNAP before setup on the system. Several API SNAP available for Swagger testing format, such as:
API Name | Swagger File | API Information |
|---|---|---|
Authentication | ||
API Virtual Account SNAP | ||
API QRIS SNAP | ||
API E-Wallet SNAP | Coming Soon | |
API Payout SNAP |
SNAP API Testing Guidance
The following is the steps to proceed with the SNAP API Testing using NICEPAY's Swagger.
- Generate X-Signature (Asymmetric) which required to proceed Request Access Token and fill the parameters.
- After obtaining the Access Token, insert the token into the Authorization Header section to proceed authentication on each transaction API request, such as Create Virtual Account.
- Generate X-Signature (Symmetric), then insert into the X-Signature Header section.
- Fill the Request Parameter in the Header and Body section according to the to-be test API.
- Send the Request by clicking theTry It button.
- View the Response on the bottom right of the display.
Please visit the following Authentication - SNAP page for further explanation regarding the Access Token and Signature (Asymmetric & Symmetric) creation.