Resurs Bank – Get available Payment Methods
Yourpay provides a full integration to Resurs Bank. This part of our integration explains how you receive the consumer products, needed for proceeding the checkout flow.
To use this service you need a Yourpay merchant token. You can find the merchant token at your Yourpay account, under “Account Settings”. You can find the code example here.
TIP You can open the file with notepad, if you do not have an editor for viewing source code.
The only thing we need to set is the token, and we can do that like this:
$request['token'] = ""; //Insert your token here
If the token is valid you get a response object, for each method available. It looks like this:
Congratulations, you have successfully gotten your available resurs payment methods.