CashyPay-API(English)

印尼Cashy支付-商户接口文档(中文)


Signature Authentication

Signature Authentication
  • Merchant API Authentication Instructions
Request Type
  • Only [POST]
  • [content-type: application/json;charset=UTF-8]
Header Parameter
Name M/O/C Type Description
MerchantId Mandatory int Unique ID by Cashy
Sign Mandatory string Generate secret API key
Sample Code API Request
{"test":"test"}
Authentication Type
  • UTF-8
  • MD5

Authentication example

Merchant Key=K-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Request bodyJson={"test":"test"} Authentication Sign=MD5.hash(bodyJson + Merchant Key) Authentication Success=xxxxxxxxxxxxxxxxxxxxxxxxx

Java Authentication example

String key = "K-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
String bodyJson = "{\"test\":\"test\"}";
String sign = Md5Utils.hash(bodyJson + key);

页面列表

ITEM_HTML