Integrate HitPay into your platform with sub accounts
Hitpay Platform APIs are an extension of the above Payment Request APIs are used by e-commerce platforms or aggregators who host other merchants. Platforms will have the ability to create payment requests on behalf of the merchants that are on their platform.
Platforms will also have the ability to set a commission for the transactions that happen through their platform.
Hitpay uses API keys to allow access to the API. Once your account is converted to “Platform Account” you can you can access your “Platform API Key” (Settings > Payment Gateway > Platform). This Platform API Key along with Merchant API key is expected to be included in all API requests to the server in a header that looks like the following:
X-BUSINESS-API-KEY: meowmeowmeow
X-PLATFORM-KEY: bowbowbow
meowmeowmeow
with your Merchant API key & bowbowbow
with your Platform API key