Overview
Less than 1 minute
Welcome to Smilepay!
Smilepay API allows you to integrate a payment gateway into your site to accept online payments from your customers using various payment methods. The API is based on REST architecture and uses standard HTTP verbs and response codes.
Key Points
- Requests and responses are in JSON format.
- Ensure all requests are made over SSL.
- Use the
Content-Type: application/jsonheader for requests. - Include the
Content-Lengthheader in allPOSTandPUTrequests. - Official client bindings are available for Java and JSON.
- Recommended tool for testing: Postman.
Tips
Smilepay API should be requested through HTTPS to our endpoint URL.
Environment Details
| Environment | Protocol | Media Type | Base URL |
|---|---|---|---|
| Sandbox | HTTPS | application/json | https://sandbox-gateway.smilepay.id |
| Production | HTTPS | application/json | https://gateway.smilepay.id |