Case B - Step-by-step receiving of requisites
The step-by-step receiving of requisites involves performing several methods:
Step 1 - Invoice create
It is necessary to request an Invoice create.
Step 2 - Getting a list of possible options for payment
Request a List of available payment options based on the created invoice.
Step 3 - Deal create
Create a Deal request, passing the selected parameters paymentOption
and paymentMethod
in the request body.
In case paymentOption
or paymentMethod
are set as null
- you will receive the first available bank details.
Bank details for transfer are returned in the response in the array deals
. There will be either 1 element or an empty array.
If the array deals
is empty, it means that there are no avalible bank details at the moment.
Otherwise, the requisites
object will contain the bank details for the transfer, the paymentOption
- payment type, and the paymentMethod
the payment bank code.