Appearance
Environment & Headers
Environment
Data sent in the Staging environment will not trigger an actual purchase.
Components
| Environment | URL |
|---|---|
| Staging | https://api-stage.ifortepay.id |
| Production | https://api.ifortepay.id |
ⓘ Whole service can be fully utilized in Production Environment.
Headers
All request headers will implement this format as a guide. Reference for the signature could be found in the upper section of the documents.
Components request
| Key | Requirement | Description | Example Value |
|---|---|---|---|
Content-Type | M | application/json | |
X-TIMESTAMP | M | Client's current local time in yyyy-MM-ddTHH:mm:ssTZD format (ISO 8601) | 2021-11-02T13:14:15+07:00 |
X-SIGNATURE | M | Refers to the Signature & Security by using method: - Asymmetric Signature without Get Token | |
X-PARTNER-ID | M | Your Unique ID String (36). Merchant ID. | MCP2021110228 |
ORIGIN | O | Origin Domain | www.yourdomain.com |
X-EXTERNAL-ID | M | Numeric String (36). Reference number that should be unique in the same day | 41807553358950093184162180797837 |
CHANNEL-ID | M | Refers to each Payment Channel ID on Appendix. String (36) | VA001 |
Components response
| Name | Value | Detail |
|---|---|---|
Content-Type | application/json | |
X-TIMESTAMP | 2021-11-02T13:14:15+07:00 | Client's current local time in yyyy-MM-ddTHH:mm:ssTZD format (ISO 8601) |