CashyPay-API(English)

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


Payment Link

Introduction
  • Customers can choose different payment types on the payment link to finish the payment
Request URL
  • /api/payDesk
Request Type
  • [POST]
  • [content-type: application/json;charset=UTF-8]
Header Parameter
  • Reference  Request Standards
Request Parameters
Name M/O/C Type Example value Description
currency Mandatory String(32) IDR Only IDR
amount Mandatory Decimal(20,2) 10000 Authorized amount of the transaction in the actual value in the provided currency.</br>Only supports positive integers.</br>Minimum Amount (IDR)=10,000
reusableStatus Mandatory Boolean false false=No support, true=Support</br>Onlyfalse
mchOrderNo Mandatory String(32) mchOrderNo1628381288000 The order No. in the merchant system, can not be repeatable
expireTime Mandatory Long 3600 Expiration time in seconds.</br>Default 3600
notifyUrl Mandatory String(250) http://cashypro.com/notify/test Registered disbursement webhook URL, only http and https.</br>Only public IPs or domains are allowed</br>Details Payment Link Status Webhook/Callback
nonceStr Mandatory String(32) 1628381288000 Random Number
remark Mandatory String(32) Remark
realName Mandatory String(32) Jeck Name
returnUrl Optional String(250) http://xxxxxx.com The url to redirect to after paid
goodsSubject Optional String(32) apple Product Title
goodsBody Optional String(32) red apple Product Description
phone Optional String(32) +6285812345678 Mobile number
email Optional String(32) Cashy@gmail.com Email
Sample Code API Response
{ &quot;msg&quot;: &quot;SUCCESS&quot;, 
  &quot;code&quot;: 200,
  &quot;data&quot;: { 
    &quot;merchantId&quot;: &quot;100001&quot;,
    &quot;mchOrderNo&quot;: &quot;M165690800000001&quot;,
    &quot;orderNo&quot;: &quot;PAYDESKxxxxxxxxxxxxxxxxxx&quot;,
    &quot;payUrl&quot;: &quot;http://paydesk.danamasuk.com/PAYDESKxxxxxxxxxxxxxxx&quot;,
    &quot;amount&quot;: &quot;100000&quot;,
    &quot;expireTime&quot;: &quot;2022-12-06 17:48:40&quot; 
  }
}
Response Parameters
Name Type Description
merchantId Int Merchant ID
mchOrderNo String(32) Send by merchant
orderNo String(32) Cashy Order No.
amount Decimal(20,2) The amount of money paid by customer.
payUrl String(250) Payment Link
expireTime date Expiration time

页面列表

ITEM_HTML