Secure payments via Tokenisation API with verified cards
1. Pay with credit card using token
1.1 Authorisation header (Basic authorisation)
1.2 Request parameters (All mandatory)
1.3 Response Parameters
1.4 Sample Response
Charge credit card using token
Request parameters for payment using tokenization
Abu Bin Ali[email protected]Order for product id 41234567893432D425.5Generated token from Get Token API
D12820HJHash generated using HMAC SHA256. Construct the hash as follows hash_hmac(‘SHA256’, < your merchant id >< name >< email >< phone >< detail >< order_id >< amount >, <merchant_secret_key>) without the < > character
a8167dd09f01ebed0b18e67b2cc2424a0d058ccc83d94803482ecdeedff7728fCharge credit card using token
Response parameters for payment using tokenization
Your transaction status. 1 if successful. 0 if failed.
1Unique transaction ID
158998648886146423432D4If the amount transacted is RM 2.00, it will output 200.
200Transaction status message
Payment was successfulHash generated using HMAC SHA256. Construct the hash as follows hash_hmac(‘SHA256’, < your merchant id >< status_id >< order_id >< transaction_id >< amount_paid >< msg >, <merchant_secret_key>) without the < > character
a8167dd09f01ebed0b18e67b2cc2424a0d058ccc83d94803482ecdeedff7728fUnauthorized
2. Enable or Disable Credit Cards
2.1 Authorisation Header (Basic authorisation)
2.2 Request Parameters (All Mandatory)
2.3 Response Parameters
Enable or disable Credit Card by token
Request parameters to enable/disable credit cards using token
Generated token from Get Token API
6bcc32c3cf4c6de03f4b3c967a36606d965d54cd51eb6cb7507555e2ad7b4521Response update token status
Response parameters to enable/disable credit cards using token
Status message.
Credit card successfully disabledGenerated token from Get Token API
6bcc32c3cf4c6de03f4b3c967a36606d965d54cd51eb6cb7507555e2ad7b4521Response update token status
3. Validate Payment Token
3.1 Authorisation Header (Basic Authorisation)
3.2 Request Parameters (All Mandatory)
3.3 Response Parameters
Endpoint to validates the supplied token
Request parameters to validate token
Generated token from Get Token API
6bcc32c3cf4c6de03f4b3c967a36606d965d54cd51eb6cb7507555e2ad7b4521Validate token
Response parameters of token validity
Token validation status. 1 if success. 0 if failed.
1Status message.
Card has been successfully verifiedGenerated token from Get Token API
6bcc32c3cf4c6de03f4b3c967a36606d965d54cd51eb6cb7507555e2ad7b4521Validate token
Last updated