Payment Methods Get API
API for mobile version.
allow to get payments according to country or stag
GET API_URL/api/v2/payment-methods/?stag=112233_stag_example_data
stag - some attribute that specify place where user came from
stag - specific query parameter that used to determine set of payment methods (required in case when we want to get payments by stag)
country - handled automatically, using country from specific header of Cloudflare
https://developers.cloudflare.com/fundamentals/reference/http-request-headers/#cf-ipcountry
or can be taken from user.country (ricore backend database)
Example Response
[
"Mastercard",
"Visa"
]
or
[
"Mifinity",
"Mastercard",
"Bank Transfer",
"Visa",
"Interac",
"ApplePay",
"Gpay"
]