Report bank details
To test without real effects, send the X-Saltra-Mode: test header: nothing is sent to the authority and the response carries sample data. In production, without the header, the request is real. Details in Environments and test mode.
Parameters
- regimen (integer) : Scheme, 4 digits. Possible values:
- 0111: General Scheme
- Table of scheme codes
- ccc (integer) : Contribution account code, 11 digits.
- option (string) : Possible values:
- cuenta: Account
- acreedor: Creditor
- cuenta (object) : Bank account details
- iban (string) : First 4 characters. E.g. ES99
- entidad (string) : Next 4 digits. E.g. 3990
- oficina (string) : Next 4 digits. E.g. 3990
- dcnc (string) : Next 4 digits. E.g. 3990
- num1 (string) : Next 4 digits. E.g. 3990
- num2 (string) : Next 4 digits. E.g. 3990
- tipo (string) : Document type. Possible values:
- 1: National identity document
- 2: Passport
- 3: EU Resident Card
- 4: Residence and Work Permit
- 6: Foreign National Identity Number
- 9: No document / NIF of a legal entity
- L: Non-resident Spanish nationals without a DNI
- M: Non-resident foreign nationals without a NIF
- T: Under guardianship
- cif (string) : CIF, DNI or NIE of the account holder.
- titular (string) : Name of the account holder.
- authorized_num optional (integer) : RED authorised user number. This is mandatory when the certificate has more than one RED authorised user. If you do not know the authorised user number, send the request without it and capture the
data.authorized_list =[{"numero":"1020", "razSoc":"EMPRESA SL"}]variable. Then send it.
PUT /datos-bancarios
{
"regimen": "0111",
"ccc": 12345678901,
"option": "acreedor",
"cuenta":{
"iban": "ES99",
"entidad": "9999",
"oficina": "9999",
"dcnc": "9999",
"num1": "9999",
"num2": "9999",
"tipo":"1",
"cno": "3724",
"cif":"B13612999",
"titular": "SALTRA APLICACIONES"
}
}Response
Respuesta
{
"success": true,
"message": "OK",
"data": {
"file": {
"contentType": "application/pdf",
"name": "document.pdf",
"content": "base64"
}
}
}Last updated on