| Freedom Pay payment page | Own interface | |
|---|---|---|
| Where the client enters the phone number and the SMS code | On the Freedom Pay page | On your page |
| Methods you call | Create mobile balance payment | Create mobile balance payment, Charge mobile balance, Confirm payment with SMS code, Resend SMS code |
| Result | pg_result_url (Result notify) or Get mobile balance payment status | Responses of Charge mobile balance and Confirm payment with SMS code, pg_result_url or Get mobile balance payment status |
process with pg_error_code, the code is wrong: ask the client for it again. Without pg_error_code, get the result with Get mobile balance payment status.pg_status | Meaning |
|---|---|
ok | The amount is charged from the mobile balance. |
need_approve | Returned by Charge mobile balance: the client received an SMS code. |
process | Returned by Confirm payment with SMS code: the code is wrong (pg_error_code is returned), or the result is not known yet. |
error | The request is rejected or the payment failed. |