A finalidade deste método é possibilitar a adição de adquirentes.
POST/api/v1/Adquirentes
Não há.
Não há.
Não há.
Formatos de Resposta (Response Formats)
application/json, text/json
{
"codigoAdquirente": "string",
"descricao": "string",
"adquirenteContas": [
{
"id": 0,
"nroEmpresa": 0,
"idLoja": "string",
"idConta": 0,
"expandables": [
"string"
]
}
],
"expandables": [
"string"
]
}| Código (Code) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
| 201 | Success | Não há | Não há |
application/json, text/json
{
"codigoAdquirente": "string",
"descricao": "string",
"adquirenteContas": [
{
"id": 0,
"nroEmpresa": 0,
"idLoja": "string",
"idConta": 0,
"empresa": {
"id": 0,
"idMatriz": 0,
"idEmpresaMae": 0,
"razaoSocial": "string",
"nomeReduzido": "string",
"cnpj": "string",
"status": "string",
"expandables": [
"string"
]
},
"conta": {
"id": 0,
"descricao": "string",
"idEmpresa": 0,
"idEmpresaMae": 0,
"status": "string",
"tipo": "string",
"numeroConta": "string",
"digitoConta": "string",
"idBanco": 0,
"idAgencia": 0,
"expandables": [
"string"
]
},
"expandables": [
"string"
]
}
],
"expandables": [
"string"
]
}
| Código (Code) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
| 400 | Bad Request | Não há | Não há |
{
"code": "string",
"message": "string",
"detailedMessage": "string",
"helpUrl": "string",
"details": [
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notificationType": 0,
"code": "string",
"message": "string",
"detailedMessage": "string",
"status": 0
}
]
}