Get Payment Gateway Status

  • Get Payment Gateway Status
Request URL
  • /api/payInQuery
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
mchOrderNo Optional String(32) mchOrderNo1628381288000 The order No. in the merchant system, can not be repeatable. <br>mchOrderNo or orderNoOne of the two is Mandatory
orderNo Optional String(32) PAYOUTxxxxxx First useorderNo. <br>mchOrderNo or orderNoOne of the two is Mandatory
nonceStr Mandatory String(32) 1628381288000 Random Number
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;M1656752128806&quot;,
        &quot;orderNo&quot;: &quot;PAYIN8231497473279467520&quot;,
        &quot;payType&quot;: &quot;1&quot;,
        &quot;payCode&quot;: &quot;646012000000015887&quot;,
        &quot;payUrl&quot;: null,
        &quot;amount&quot;: 100.00,
        &quot;fee&quot;: null,
        &quot;orderStatus&quot;: &quot;PAYING&quot;,
        &quot;completionTime&quot;: null
Response Parameters
Name Type Description
merchantId int Merchant ID
mchOrderNo String(32) Send by merchant
orderNo String(32) Cashy Order No.
payType int payType
payCode String(32) The Virtual Account that was paid
payUrl String(250) The URL that was paid
amount decimal(20,2) The amount of money paid by customer
fee decimal(20,4) The fee charged for this payment
orderStatus String(32) PAYING=Payment in process</br>SUCCESS=Bank has confirmed transmission of funds</br>FAIL=Payment failed</br>CANCEL=Rejected by Cashy
completionTime date Completion timeCMT+7 yyyy-MM-dd HH:mm:ss