error": false
else we send "error": true
. The error_message contains then the reason of the failure."error": true
when the merchant can't process the payment on his side. Then we will automatically refund the money to the client.payment_reference
contains the bank reference of the transaction that can be checked in the merchant account statement. When there is error, it will be send as null
. https://yoursite.com/payment1/redirect
and https://yoursite.com/payment2/redirect
. "redirect_uri": "https://yoursite.com/payment1/redirect"
so that we can redirect the user to. When calling bill init for your second type of payment, you will send then the second link "redirect_uri": "https://yoursite.com/payment2/redirect"
https//yoursite.com/redirect?operation=billpayment&merchant_reference=MERCHANTREFERENCE&bill_code=BILLCODE&paid=true&status=STATUS&bank_reference=PAYMENTREFERENCE
https//yoursite.com/redirect?operation=billpayment&merchant_reference=MERCHANTREFERENCE&bill_code=BILLCODE&paid=false&status=STATUS
true
if the payment was completed successfully, then we will get the bank_reference in parameters. If there was a permanent error, we will send false
boolean value.