Introduction
Last updated
Last updated
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.
Please contact the BD or support@monetapay.id, 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.
Based on HTTP protocol, merchant use POST method send request to the MonetaPay API interface.
Request head
Content-Type: application/json;charset=Utf-8
The request and response information are all encoded by UTF-8
code
string
status(0:success)
message
string
description of status
data
json
full data
Step1, generate signature
sign=md5(md5(token +*
|*
+ json_encode(data) + @!@ + timestamp))
Step2, AES encryption
Encryption method: AES-128-CBC
aesKey: provided by the MonetaPay team
iv: 1EjXCBwGIMGcwCOc
Encrypt all data in json
format according to the openssl protocol. Using the method encryption method, the encrypted ciphertext is generated through key
and iv
, and the encrypted ciphertext and partner_key
are sent to the server together.
Example of Request content before encrypted
Final request content after encrypted