Resposta 200
{
"currencies": [
{
"currency": "BRL",
"name": "Real brasileiro",
"symbol": "R$",
"decimals": 2,
"country": "BR",
"methods": [
{
"paymentMethod": "PIX",
"name": "PIX",
"minAmount": 500,
"maxAmount": null,
"requiredFields": [
"name",
"email",
"document",
"phone",
"items"
],
"optionalFields": [
"externalId",
"postbackUrl"
]
},
{
"paymentMethod": "BOLETO",
"name": "Boleto",
"minAmount": 100,
"maxAmount": null,
"requiredFields": [
"name",
"email",
"document",
"items"
],
"optionalFields": [
"externalId",
"postbackUrl"
]
},
{
"paymentMethod": "CREDIT_CARD",
"name": "Cartão de crédito",
"minAmount": 100,
"maxAmount": null,
"requiredFields": [
"name",
"email",
"document",
"items",
"cardToken",
"tokenOrigin"
],
"optionalFields": [
"externalId",
"postbackUrl"
]
}
]
},
{
"currency": "MXN",
"name": "Peso mexicano",
"symbol": "MX$",
"decimals": 2,
"country": "MX",
"methods": [
{
"paymentMethod": "SPEI",
"name": "SPEI",
"minAmount": 1,
"maxAmount": 2000000000,
"requiredFields": [
"name",
"document.type",
"document.number",
"birthDate",
"birthCountry"
],
"optionalFields": [
"externalId"
]
},
{
"paymentMethod": "OXXO",
"name": "OXXO",
"minAmount": 1000,
"maxAmount": 1000000,
"requiredFields": [],
"optionalFields": [
"externalId"
]
}
]
}
]
}
Resposta 400
{
"error": true,
"code": "VALIDATION_ERROR",
"message": "currency inválida (ex.: BRL, MXN)"
}