Skip to content

Environment & Headers

Environment

Data sent in the Staging environment will not trigger an actual purchase.

Components

EnvironmentURL
Staginghttps://api-stage.ifortepay.id
Productionhttps://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

KeyRequirementDescriptionExample Value
Content-TypeMapplication/json
X-TIMESTAMPMClient's current local time in yyyy-MM-ddTHH:mm:ssTZD format (ISO 8601)2021-11-02T13:14:15+07:00
X-SIGNATUREMRefers to the Signature & Security by using method:
- Asymmetric Signature without Get Token
X-PARTNER-IDMYour Unique ID String (36).
Merchant ID.
MCP2021110228
ORIGINOOrigin Domainwww.yourdomain.com
X-EXTERNAL-IDMNumeric String (36).
Reference number that should be unique in the same day
41807553358950093184162180797837
CHANNEL-IDMRefers to each Payment Channel ID on Appendix. String (36)VA001

iFortepay API Documentation