This is a guide to help you to integrate with Slip Verify by RDCW, some part of this documentation may not be accurate. If you have any questions, feel free to ask at the RDCW Facebook page.
✅ E-commerce websites (including Digital Products, Game Recharge Services) and other kind of applications are allowed to use this service
❌ Pornography, Casino/Gambling, Online Lottery websites/applications or related services are not allowed to use this service
We will provide you an Inquiry API, an API used to check validity of Transfer Slip by using data from the QR embedded in Slip (aka. Mini QR/Slip Verify API QR)
sequenceDiagram
actor Client App
activate Inquiry Server
Client App->> Inquiry Server: POST /v2/inquiry
Inquiry Server ->> Bank Server: Slip Verify Request
Bank Server ->> Inquiry Server: Slip Verify Response
Inquiry Server ->> Client App: Slip Verify Response
deactivate Inquiry Server
Create an application first, and you will receive Client ID and Client Secret to use with the Inquiry API, This API is authenticate with Basic Authentication scheme, Use your Client ID as username and Client Secret as password
Inquiry API URL is https://suba.rdcw.co.th/v1/inquiry
Here's cURL example
curl -u 'CLIENT_ID:CLIENT_SECRET' \\
-H 'Content-Type: application/json' \\
-d '{"payload":"PAYLOAD"}' \\
<https://suba.rdcw.co.th/v1/inquiry>