Request Header
Overview
Each SNAP Request requires specific header value. There are 2 kind of header for reqeuests, to generate B2B Access Token, and Transaction (disbursement, payment, etc)
Refer to the next section on how to generate X-Signature
B2B Access Token Header
Header | Description | Format |
---|---|---|
X-TIMESTAMP | Request timestamp | ISO 8601 datetime |
X-SIGNATURE | Security signature | Base64 encoded string |
X-CLIENT-KEY | Merchant identifier key | String |
Content-Type | Type of data being sent | MIME type |
Transaction Request Header
Header | Description | Format |
---|---|---|
X-TIMESTAMP | Request timestamp | ISO 8601 datetime |
X-SIGNATURE | Security signature | Base64 encoded string |
X-PARTNER-ID | Partner identifier | Alphanumeric string |
X-EXTERNAL-ID | Unique messaging reference identifier generated by merchant and should be unique within the same day | Random Alphanumeric string |
CHANNEL-ID | Channel identifier | Numeric string |
Content-Type | Type of data being sent | MIME type |
Authorization | Authorization token | JWT (Started with 'Bearer ') |