Upload funds to wallet
Informacija Atsiprašome, šis skyrius galimas tik anglų kalba.
To upload funds to user's wallet, redirect user to the following URI, depending on language to be used on the page:
- English
https://www.paysera.com/frontend/en/wallet/upload-funds
- Lithuanian
https://www.paysera.com/frontend/wallet/upload-funds
- Russian
https://www.paysera.com/frontend/ru/wallet/upload-funds
Informacija
You can also open this page in iframe or pop-up. We recommend using our
JavaScript library for better integration.
Integrating pages with your system
Both pages accept these query parameters:Parametras
Tipas
Pastabos
Aprašymas
client_id
string
required if any other parameter is passed
Your client ID. It is the same ID you use when making authorized requests to API
redirect_uri
string
optional
URI to redirect user after rejecting or completing the requested action
wallet_id
integer
optional
Wallet ID you expect user to use. If user will use some other wallet, notification to the user will be shown.
Įspėjimas
You must pass
If client_id
parameter if you want to use lightbox to show pages in. Otherwise frame will
reopen itself in the parent window.
client_id
parameter is passed, Paysera system will notify you about the result (rejected or completed)
of current action. Integration is already made in the
JavaScript library. If you don't want
to use our library, the easiest method is to provide the redirect_uri
parameter, the status is passed
in the status
query parameter, added to the redirect_uri
.
Status codes
- success
- User has successfully completed requested action (upload funds or cash out).
- reject
- User has rejected the specified action (upload funds or cash out).
- error
- Some error occurred.
Example workflow
User is redirected to the following URI:https://www.paysera.com/frontend/wallet/cash-out?client_id=12345678&wallet_id=123&redirect_uri=http%3A%2F%2Flocalhost%2Fabc%3Fpage%3DredirectAfter successful cash out, user is redirected to the following URI:
http://localhost/abc?page=redirect&status=success
Informacija
JavaScript library allows to get status
code without using additional redirect page.