Skip to content

Pay-Out Callback

  • When order has been paid or failed, Server will sent a callback to your server
  • Requests use http-form-post encoding application/x-www-form-urlencoded
  • Gateway : notify_url uploaded in Create request paramters

The Request paramters :

FieldMeaningTypeRequired
order_snUploaded in Create request paramtersStringTrue
moneyLG system deducted amount from your merchant balance(equals the withdraw money + transaction fee).
The server will send the EXACTLY money based on your request, so you DON'T need to check if this money equals the one you request
IntegerTrue
status1 means this order is paid
0 means this order is failed, please refer to the msg field
IntegerTrue
pay_timepaid time, can be null when this order failsStringTrue
msgorder message, it is helpful when you get a callback with status==0StringTrue
signmd5_hash you need re-caculate and verify your sign value with this one, if doesn't match , means this callback is not from LG SystemStringTrue

The Response

  • When your sever receive the callback, you need return a pure string "ok"(without the double quotes) meaning that you got this callback
  • If no ok is returned, the LG system will retry 4 more times of callback
ok

Thanks for choosing LG Payment