Introduction
This online document is for the MonetaPay, which is an Indonesian local payment solution provider, aims to explain the relevant transaction interface of MonetaPay's current mainstream products.
Sign up for the merchant account
Please contact the BD or [email protected], MonetaPay will create a sandbox test account and a formal account for the merchant after reviewing and completing the information provided by the merchant according to local Indonesian laws and regulations.
Request domain
Request Method
Based on HTTP protocol, merchant use POST method send request to the MonetaPay API interface.
Request head
Content-Type: application/json;charset=Utf-8
Encode
The request and response information are all encoded by UTF-8
Response
code
string
status(0:success)
message
string
description of status
data
json
full data
Signature and encryption
Step1, generate signature
sign=md5(md5(token +*|*+ json_encode(data) + @!@ + timestamp))Step2, AES encryption
Encryption method:
AES-128-CBCaesKey: provided by the MonetaPay team
iv:
1EjXCBwGIMGcwCOcEncrypt all data in
jsonformat according to the openssl protocol. Using the method encryption method, the encrypted ciphertext is generated throughkeyandiv, and the encrypted ciphertext andpartner_keyare sent to the server together.
Example of Request content before encrypted
Final request content after encrypted
Last updated