Skip to content

Create a Pay-Out Order

The Request paramters :

FieldMeaningTypeRequired
app_idYour Merchant IDStringTrue
order_snOrder number, must be uniqueStringTrue
currencyWithdraw currency codes , please ask the service manStringTrue
moneyThis field needs to multiply 100 and remove the float part. like you need to receive 50.5, this field should be 5050IntegerTrue
notify_urlWhen this order is paid, a notify message will be sent to your server, leave the url hereStringTrue
more fieldsDeponds on your currency code, more fields are reqired, please refer to the according pageStringTrue
signmd5_hash refer to: SignatureStringTrue

Test callback

  1. when set currency to TEST
  2. set money = 1, the test order will be failed directly, and callback with failure information will be sent at the same time
  3. set money = 2, the test order will be successful directly, and callback with successful information will be sent at the same time
  4. set money = other than 1 or 2, the test order will be set to pedding status, no callback will be sent

The Response

FieldMeaningTypeRequired
status1: means the order is procceing, but you still need to get the final order status(success|fail) from Callback or Query
0: means the order fail directly, a callback with failure information will also sent to your server on notify_url
IntegerTrue
msgorder mesaages, can be helpful when a order failsStringTrue

Response Sample

json
{
    "status":1, 
    "msg":"ok", 
}

Thanks for choosing LG Payment