1
Register Your Merchant Account
Send a registration email to Wasl with the following information. Fields marked required must be included or your registration cannot be processed.
Providing your IP address is mandatory. Wasl uses it to restrict API access to known, authorised sources. If your server IP changes after registration, contact Wasl to update it before making API calls.
2
Receive Your Credentials
After Wasl processes your registration, you will receive a private key by email. This key acts as your password when authenticating with the API.You will use your credentials against one of the two environments depending on where you are in the development cycle:
3
Make Your First API Call — Authenticate
Call the login endpoint to exchange your username and private key for a session token. This is always the first call you make in any session.EndpointRequest headersRequest bodySuccessful response — HTTP 200When
status is true, the token field contains your session token. Store this value — you will pass it in the Token header of every subsequent API request.If authentication fails, check that you are sending the correct
user_name and password values. Error code 10007 indicates a missing username and 10008 indicates a missing password. See the Error Codes reference for the full list.4
Use the Token in Subsequent Requests
Every API endpoint beyond login requires the session token you received in Step 3. Pass it as the value of the If you supply an invalid or expired token, the API returns error code
Token request header on each call.10000 (Incorrect Token Access). When this happens, re-authenticate by calling the login endpoint again to obtain a fresh token.What’s Next?
With authentication in place, you are ready to load the card catalog and start building your storefront flow.Core Concepts
Understand vendors, cards, balances, transactions, and tokens before making your next API call.
Request Flow Guide
Follow the complete end-to-end flow from catalog retrieval through order confirmation with full code examples.