Caixa Associada
Obter Todas as Caixas Associadas
De modo a obter informações sobre um dado descritor, poderá realizar o seguinte pedido
Obter Todas as Contas de Caixa
Required scopes
This endpoint requires the following scopes:
- : commercial
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Responses
200Success
No content
get/api/cash_accounts
GET /api/cash_accounts HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200Success
No content
Obter Caixas Associadas por ID
Obter Contas de Caixa por ID
Required scopes
This endpoint requires the following scopes:
- : commercial
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Path parameters
idstringRequiredExample:
TODO
2Responses
200
Obter Contas de Caixa por ID
application/json
get/api/cash_accounts/{id}
GET /api/cash_accounts/{id} HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200
Obter Contas de Caixa por ID
{
"data": {
"attributes": {
"name": "Caixa Teste 1"
},
"id": "2",
"relationships": {
"company": {
"data": {
"id": "800000046",
"type": "current_company"
}
}
},
"type": "cash_accounts"
}
}Criar Caixas Associadas
Criar Contas de Caixa
Required scopes
This endpoint requires the following scopes:
- : commercial
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Body
Responses
200
Sucesso
application/json
post/api/cash_accounts
POST /api/cash_accounts HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"data": {
"attributes": {
"name": "Caixa Teste 2"
},
"type": "cash_accounts"
}
}200
Sucesso
{
"data": {
"attributes": {
"name": "Caixa Teste 2"
},
"id": "3",
"relationships": {
"company": {
"data": {
"id": "800000046",
"type": "current_company"
}
}
},
"type": "cash_accounts"
}
}Remover Caixas Associadas
Remover Contas Bancárias
Required scopes
This endpoint requires the following scopes:
- : commercial
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Path parameters
bankAccountIdstringRequiredExample:
Id da conta bancária
5Responses
200
Sucesso
application/json
delete/api/bank_accounts/{bankAccountId}
DELETE /api/bank_accounts/{bankAccountId} HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200
Sucesso
{
"meta": {}
}Last updated