curl --request POST \
--url https://api.stage.localpayment.com/api/validation/bank \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"country": "ARG",
"bank": {
"code": "191",
"account": {
"number": "1910119655111901676653",
"type": "S"
}
}
}
'
{
"code": "200",
"description": "Valid bank code and account number"
}{
"code": "701",
"description": "Invalid bank branch code"
}{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}{
"code": "501",
"description": "Country not found"
}Services de validation
Valider un compte bancaire
POST
/
api
/
validation
/
bank
curl --request POST \
--url https://api.stage.localpayment.com/api/validation/bank \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"country": "ARG",
"bank": {
"code": "191",
"account": {
"number": "1910119655111901676653",
"type": "S"
}
}
}
'
{
"code": "200",
"description": "Valid bank code and account number"
}{
"code": "701",
"description": "Invalid bank branch code"
}{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}{
"code": "501",
"description": "Country not found"
}Évitez les échecs de transaction en validant le format des comptes bancaires selon les règles propres à chaque pays. Cet endpoint garantit l’exactitude des informations avant l’initiation d’un virement.
Autorisations
En-têtes
Jeton d'accès Bearer pour l'authentification. Ce jeton s'obtient via les endpoints Obtenir un jeton d'accès ou Actualiser le jeton d'accès.
Corps
application/json
Pays du document. ISO 3166-1 alpha-3.
Options disponibles:
ARG, BOL, BRA, CHL, COL, CRI, DOM, GTM, HND, MEX, PAN, PRY, PER Dernière modification le 22 novembre 2026

