Integration Journey
Integrating with SmartPay enables seamless payment processing by leveraging our APIs and SDKs. This guide provides a structured approach to integrating SmartPay into your platform, from initial setup to going live.
Authentication
SmartPay solution supports strong API authentication.
In order to authenticate within the SmartPay APIs, you will need to provide the standard Authorization
header in every request. SmartPay supports the Basic authentication scheme in accordance with RFC standard.
The value to be passed in the header is base64-encoded credentials containing your merchantKey
as username and authenticationKey
as password.
MerchantKey and authentication key will be provided by your dedicated Product Solution Specialist.
Header:
Authorization: Basic <base64(merchantKey:authenticationKey)>
Custom headers
IDKit token
Identity Kit token authentication is supported in SmartPay APIs. This is an optional header, and if sent in the API request, it should be sent with a valid JWT token, as below:
Header name | Type | Length | Mandatory |
---|---|---|---|
X-Access-Token | JWT | 512 | No |