Deposit
Deposit Endpoints
This section will display all available endpoints to get Deposit data.
Logic For All provider is as following:
- Get Payment Methods for the player.
- Begin Deposit process.
- Response will contain uri for provider, and all the data needed to send to provider, should transfer to provider page.
However, we have couple of providers which will be explained in the following sections.
- Praxis HPF:
Praxis supports HPF(hosted payment fields) for some of its payment methods, if mode will be returned as ‘hpf’ we
should do the following:
- Get Payment Methods for the player.
- Begin Deposit process.
- Use praxis script to open iframe with the payment fields.
- Send Direct Deposit
- Response will contain if request was successful or not.
- Following fields should be sent in this case: hpf_auth_token, device_data, ref_id.
- Praxis HPF Async:
Praxis supports HPF(hosted payment fields) for some of its payment methods, if mode will be returned as ‘hpf’ we
should do the following:
- Get Payment Methods for the player.
- Begin Deposit process.
- Use praxis script to open iframe with the payment fields.
- Send Direct Deposit, version should be 3.0 and above.
- Response will contain if request was successful or not.
- Following fields should be sent in this case: hpf_auth_token, device_data, ref_id.
- Every few seconds call should be sent to Deposit State to check if the deposit was successful.
- Direct Deposit:
We have some providers which expect direct call from us, on this case mode will be ‘direct’ and we should do the
following::
- Get Payment Methods for the player.
- Begin Deposit process.
- Send Direct Deposit, Following fields should be sent in this case: request_token, params, payment_data.
- Response will contain if request was successful or not.
- Every few seconds call should be sent to Deposit State to check if the deposit was successful.
- 3Ds cascading happens when Deposit State return status_name = ‘Initialized’ is_completed = true and redirect_url is not empty. Redirect player to redirect_url.
- Operator should provide platform with path to page where PSP provider will redirect player in case 3Ds deposit declined/canceled.
- When player arrives this page, Site need to call Has_Cascading to check if cascading exists. On False redirect player to decline deposit page. On True display player friendly message ‘Do you want to make an additional deposit?’.
- When player agree to make additional deposit, Site need to call Do Cascading and continue to ask for Deposit State
The following scenarios will require additional calls to Status API:
- if mode = status_request
- if mode = hpf and version > 3.0
- if mode = direct
- if additional_instructions.status_request = true
- if player choose to make additional deposit after 3ds deposit decline