Get payment methods
POST/payment/methods
Get Payment methods
To retrieve the available payment methods for your project, use the POST /payment/methods endpoint. The response will include a list of all supported payment methods along with URLs to their logos, allowing you to display them beautifully on your website.
You can optionally filter payment methods by country by including the country parameter in the JWT payload (e.g., 'LT', 'LV', 'EE').
Optional Parameters
- Name
country- Type
- string
- Description
Country code.
You should include this parameter in the JWT payload alongside other parameters required for authentication.
Payload example in JSON
{
"jti": "e.g. 9f3c2a1b7d9e4c51",
"exp": 1718112345,
"accessKey": "your-access-key",
"country": "LT",
}
Token generation examples
const jwt = require('jsonwebtoken');
const crypto = require('crypto');
const payload = {
jti: crypto.randomBytes(8).toString('hex'),
exp: Math.floor(Date.now() / 1000) + (5 * 60),
accessKey: 'your-access-key',
country: 'LT',
};
const token = jwt.sign(payload, secret, { algorithm: 'HS256' });
Refer this guide on how to include token to request.
Response Example
{
"banks": [
{
"id": 1,
"name": "Urbo",
"country": "LT",
"bic": "MDBALT22",
"logo": "https:\/\/static.mip.urbo.lt\/media\/1\/Urbo.png"
},
]
}