Customer Credit API
With Customer Credit your store can enable credit payments through the checkout
COMMUNITYAPI KEY0 INSTALLS
OpenAPI Specificationv3.0
{
"openapi": "3.0.0",
"servers": [
{
"url": "https://vtex.local"
},
{
"description": "VTEX server url",
"url": "https://{accountName}.{environment}.com.br",
"variables": {
"accountName": {
"default": "{accountName}",
"description": "Name of the VTEX account. Used as part of the URL"
},
"environment": {
"default": "{environment}",
"description": "Environment to use. Used as part of the URL."
}
}
}
],
"x-hasEquivalentPaths": true,
"info": {
"contact": {},
"description": "With Customer Credit your store can enable **credit payments** through the checkout. You can also control **invoices** and the **credit limits** of your clients.\r\n\r\nLearn more about Customer Credit in our [Help Center article](https://help.vtex.com/en/tracks/customer-credit-getting-started--1hCRg21lXYy2seOKgqQ2CC/36grlQ69NK6OCuioeekyCs).\r\n\r\nAll requests need the **authorization header**.\r\n\r\nAdditionally, you can find more information on installment payments for an order in the `customData` field found in the [Get Order](https://developers.vtex.com/docs/api-reference/orders-api#get-/api/oms/pvt/orders/-orderId-) endpoint of the Orders API. This includes the number of installments, amount and due dates.\r\n\r\nThis API allows two kinds of authorization:\r\n1. Authorization header containing the VTEX ID authentication token.\r\n2. VTEX Appkey and Apptoken headers.",
"title": "Customer Credit API",
"version": "1.0",
"x-origin": [
{
"format": "openapi",
"url": "https://raw.githubusercontent.com/vtex/openapi-schemas/master/VTEX - Customer Credit API.json",
"version": "3.0"
}
],
"x-providerName": "vtex.local",
"x-serviceName": "Customer-Credit-API",
"x-logo": {
"url": "https://api.apis.guru/v2/cache/logo/https_apis.guru_assets_images_no-logo.svg"
}
},
"security": [
{
"appKey": [],
"appToken": []
}
],
"tags": [
{
"name": "Invoices"
},
{
"name": "Account"
},
{
"name": "Store Configuration"
}
],
"paths": {
"/api/creditcontrol/accounts": {
"get": {
"deprecated": false,
"description": "",
"operationId": "Searchallaccounts",
"parameters": [
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": {
"data": [
{
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
}
],
"summary": {
"count": 39
}
},
"schema": {
"example": {
"data": [
{
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
}
],
"summary": {
"count": 39
}
},
"properties": {
"data": {
"description": "",
"items": {
"example": {
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
},
"properties": {
"account": {
"type": "string"
},
"balance": {
"type": "number"
},
"creditLimit": {
"type": "number"
},
"description": {
"type": "string"
},
"document": {
"type": "string"
},
"documentType": {
"type": "string"
},
"email": {
"type": "string"
},
"lastUpdate": {
"type": "string"
}
},
"required": [
"account",
"balance",
"document",
"documentType",
"creditLimit",
"lastUpdate",
"description",
"email"
],
"title": "Datum2",
"type": "object"
},
"type": "array"
},
"summary": {
"example": {
"count": 39
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
}
},
"required": [
"count"
],
"title": "Summary2",
"type": "object"
}
},
"required": [
"data",
"summary"
],
"title": "Searchaccounts",
"type": "object"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "225",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:36:17 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts%3Ffrom%3D9%26to%3D9",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Search all accounts",
"tags": [
"Account"
]
},
"post": {
"deprecated": false,
"description": "Open an account.",
"operationId": "OpenanAccount",
"parameters": [
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"creditLimit": "number",
"description": "description",
"document": "number",
"documentType": "CPF ou CNPJ ou Other",
"email": "email",
"tolerance": "1 is 100%"
},
"schema": {
"example": {
"creditLimit": "number",
"description": "description",
"document": "number",
"documentType": "CPF ou CNPJ ou Other",
"email": "email",
"tolerance": "1 is 100%"
},
"properties": {
"creditLimit": {
"default": "500",
"type": "string"
},
"description": {
"default": "example",
"type": "string"
},
"document": {
"default": "99999999999",
"type": "string"
},
"documentType": {
"default": "CPF",
"type": "string"
},
"email": {
"default": "email@domain.com",
"type": "string"
},
"tolerance": {
"default": "1",
"type": "string"
}
},
"required": [
"document",
"documentType",
"email",
"creditLimit",
"description",
"tolerance"
],
"title": "OpenanAccountRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": "\"76655291437_CPF\"",
"schema": {
"example": "\"76655291437_CPF\"",
"type": "string"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "17",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:47:35 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Open an Account",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{accountId}": {
"put": {
"deprecated": false,
"description": "Open or Change an account.",
"operationId": "OpenorChangeAccount",
"parameters": [
{
"description": "It must be an alphanumeric value",
"in": "path",
"name": "accountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"creditLimit": "number",
"email": "email"
},
"schema": {
"example": {
"creditLimit": "number",
"email": "email"
},
"properties": {
"creditLimit": {
"default": "100.0",
"description": "If the user don't set a credit limit, the system will define 100 for default",
"type": "integer"
},
"document": {
"default": "00221292404",
"type": "string"
},
"email": {
"default": "email@email.com",
"type": "string"
},
"id": {
"default": "teste",
"type": "string"
}
},
"required": [
"email",
"id"
],
"title": "OpenorChangeAccountRequest",
"type": "object"
}
}
},
"description": ""
},
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": "\"76655291437_CPF\"",
"schema": {
"example": "\"76655291437_CPF\"",
"type": "string"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "17",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:47:35 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Open or Change Account",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}": {
"delete": {
"deprecated": false,
"description": "Closes an account.",
"operationId": "CloseanAccount",
"parameters": [
{
"description": "Credit account's identifier",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"document": "number",
"documentType": "CPF ou CNPJ ou Other",
"email": "email"
},
"schema": {
"example": {
"document": "number",
"documentType": "CPF ou CNPJ ou Other",
"email": "email"
},
"properties": {
"document": {
"default": "99999999999",
"type": "string"
},
"documentType": {
"default": "CPF",
"type": "string"
},
"email": {
"default": "email@domain.com",
"type": "string"
}
},
"title": "CloseanAccountRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"description": "",
"headers": {}
}
},
"summary": "Close an Account",
"tags": [
"Account"
]
},
"get": {
"deprecated": false,
"description": "Retrieve an account by id.",
"operationId": "RetrieveaAccountbyId",
"parameters": [
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
}
],
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": {
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
},
"schema": {
"example": {
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
},
"properties": {
"account": {
"type": "string"
},
"balance": {
"type": "number"
},
"creditLimit": {
"type": "number"
},
"description": {
"type": "string"
},
"email": {
"type": "string"
},
"lastUpdate": {
"type": "string"
}
},
"required": [
"account",
"balance",
"creditLimit",
"lastUpdate",
"description",
"email"
],
"title": "Getaccount",
"type": "object"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "145",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:28:47 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.4",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "stable",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.6-stable+62",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Retrieve an Account by Id",
"tags": [
"Account"
]
},
"put": {
"deprecated": false,
"description": "Update a checking account.",
"operationId": "Updateemailanddescriptionofaaccount",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"description": "string",
"email": "email"
},
"schema": {
"example": {
"description": "string",
"email": "email"
},
"properties": {
"description": {
"default": "example",
"type": "string"
},
"email": {
"default": "email@domain.com",
"type": "string"
}
},
"required": [
"description",
"email"
],
"title": "UpdateemailanddescriptionofaaccountRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": "\"76655291437_CPF\"",
"schema": {
"example": "\"76655291437_CPF\"",
"type": "string"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "17",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:47:35 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Update email and description of a account",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/creditlimit": {
"put": {
"deprecated": false,
"description": "Increase the credit limit of an account.",
"operationId": "ChangecreditlimitofanAccount",
"parameters": [
{
"description": "Credit account's identifier",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"value": 10000
},
"schema": {
"example": {
"value": 10000
},
"properties": {
"value": {
"default": "500.0",
"format": "number",
"type": "integer"
}
},
"required": [
"value"
],
"title": "ChangecreditlimitofanAccountRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"text/plain": {
"schema": {
"type": "object"
}
}
},
"description": "",
"headers": {
"connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"content-length": {
"content": {
"text/plain": {
"example": "0",
"schema": {
"type": "string"
}
}
}
},
"date": {
"content": {
"text/plain": {
"example": "Thu, 25 Jan 2018 13:35:21 GMT",
"schema": {
"type": "string"
}
}
}
},
"server": {
"content": {
"text/plain": {
"example": "Microsoft-IIS/8.5",
"schema": {
"type": "string"
}
}
}
},
"via": {
"content": {
"text/plain": {
"example": "1.1 localhost (squid/3.5.27)",
"schema": {
"type": "string"
}
}
}
},
"x-cache": {
"content": {
"text/plain": {
"example": "MISS from localhost",
"schema": {
"type": "string"
}
}
}
},
"x-cache-lookup": {
"content": {
"text/plain": {
"example": "MISS from localhost:3128",
"schema": {
"type": "string"
}
}
}
},
"x-powered-by": {
"content": {
"text/plain": {
"example": "ASP.NET",
"schema": {
"type": "string"
}
}
}
},
"x-vtex-janus-router-backend-app": {
"content": {
"text/plain": {
"example": "cc-v0.1.32-stable+145",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Change credit limit of an Account",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/holders": {
"post": {
"deprecated": false,
"description": "",
"operationId": "AddanaccountHolder",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"claims": {
"email": "USER-EMAIL"
}
},
"schema": {
"example": {
"claims": {
"email": "USER-EMAIL"
}
},
"properties": {
"claims": {
"example": {
"email": "USER-EMAIL"
},
"properties": {
"email": {
"default": "email@domain.com",
"type": "string"
}
},
"required": [
"email"
],
"title": "Claims",
"type": "object"
}
},
"required": [
"claims"
],
"title": "AddanaccountHolderRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": {
"data": [
{
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
}
],
"summary": {
"count": 39
}
},
"schema": {
"example": {
"data": [
{
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
}
],
"summary": {
"count": 39
}
},
"properties": {
"data": {
"description": "",
"items": {
"example": {
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
},
"properties": {
"account": {
"type": "string"
},
"balance": {
"type": "number"
},
"creditLimit": {
"type": "number"
},
"description": {
"type": "string"
},
"document": {
"type": "string"
},
"documentType": {
"type": "string"
},
"email": {
"type": "string"
},
"lastUpdate": {
"type": "string"
}
},
"required": [
"account",
"balance",
"document",
"documentType",
"creditLimit",
"lastUpdate",
"description",
"email"
],
"title": "Datum2",
"type": "object"
},
"type": "array"
},
"summary": {
"example": {
"count": 39
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
}
},
"required": [
"count"
],
"title": "Summary2",
"type": "object"
}
},
"required": [
"data",
"summary"
],
"title": "Searchcheckingaccounts",
"type": "object"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "225",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:36:17 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts%3Ffrom%3D9%26to%3D9",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Add an account Holder",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/holders/{holderId}": {
"delete": {
"deprecated": false,
"description": "",
"operationId": "Deleteanaccountholder",
"parameters": [
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "holderId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
}
],
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": {
"data": [
{
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
}
],
"summary": {
"count": 39
}
},
"schema": {
"example": {
"data": [
{
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
}
],
"summary": {
"count": 39
}
},
"properties": {
"data": {
"description": "",
"items": {
"example": {
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
},
"properties": {
"account": {
"type": "string"
},
"balance": {
"type": "number"
},
"creditLimit": {
"type": "number"
},
"description": {
"type": "string"
},
"document": {
"type": "string"
},
"documentType": {
"type": "string"
},
"email": {
"type": "string"
},
"lastUpdate": {
"type": "string"
}
},
"required": [
"account",
"balance",
"document",
"documentType",
"creditLimit",
"lastUpdate",
"description",
"email"
],
"title": "Datum2",
"type": "object"
},
"type": "array"
},
"summary": {
"example": {
"count": 39
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
}
},
"required": [
"count"
],
"title": "Summary2",
"type": "object"
}
},
"required": [
"data",
"summary"
],
"title": "Searchcheckingaccounts",
"type": "object"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "225",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:36:17 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts%3Ffrom%3D9%26to%3D9",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Delete an account holder",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/invoices": {
"get": {
"deprecated": false,
"description": "Returns associated invoices by specified creditAccountId, the param that identifies a client in VTEX's system.",
"operationId": "SearchallinvoicesofaAccount",
"parameters": [
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
}
],
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": {
"data": [
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:57:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "f9a056cb63f5417fb900ed5128bc1b15",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:57:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "ae45d73bfe534325bc6cfef3521d675c",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:45:40",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "8b984881a6934a06b65ab679c3b6641b",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:44:49",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:44:51",
"id": "c19d55551ac84e2d84c5b60f53c77daa",
"observation": "",
"originalDueDate": "2017-08-05T01:44:51",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:44:52",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:40:02",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:40:03",
"id": "b588919ac65a4bc58bc1b87957ca136a",
"observation": "",
"originalDueDate": "2017-08-05T01:40:03",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:40:03",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:39:17",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:39:19",
"id": "fabb9ae209cb4c50ac048ab72363d488",
"observation": "",
"originalDueDate": "2017-08-05T01:39:19",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:39:20",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:38:15",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:38:17",
"id": "bc4e409f1490495b8dc351e2f93ac766",
"observation": "",
"originalDueDate": "2017-08-05T01:38:17",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:38:18",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:37:35",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:37:38",
"id": "b23eb606d9054e29a789745c1473d123",
"observation": "",
"originalDueDate": "2017-08-05T01:37:38",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:37:38",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:36:25",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:36:29",
"id": "2f67b460ca0742118d5eadd7d3752480",
"observation": "",
"originalDueDate": "2017-08-05T01:36:29",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:36:30",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:35:18",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:35:21",
"id": "36102b1baec74904a80dcc6baf8dd5e7",
"observation": "",
"originalDueDate": "2017-08-05T01:35:21",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:35:22",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:31:31",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:31:32",
"id": "2166d1d0b35a4ece826fac580652348b",
"observation": "",
"originalDueDate": "2017-08-05T01:31:32",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:31:32",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:30:18",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:30:20",
"id": "4d7ae513368a425db3c0c567fa2e9704",
"observation": "",
"originalDueDate": "2017-08-05T01:30:20",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:30:21",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:29:32",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:29:34",
"id": "98332e38da024e269670bf6a5fce24ca",
"observation": "",
"originalDueDate": "2017-08-05T01:29:34",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:29:35",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:28:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:29:00",
"id": "f2caa32762f14961895f93ddd1eb66cb",
"observation": "",
"originalDueDate": "2017-08-05T01:29:00",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:29:01",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:19:14",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:19:15",
"id": "c44a7c0d2d944fe1bffc59b79ffdb214",
"observation": "",
"originalDueDate": "2017-08-05T01:19:15",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:19:15",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:18:25",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:18:28",
"id": "f5c4725b549e4e77bfbf69f9ec6b5f44",
"observation": "",
"originalDueDate": "2017-08-05T01:18:28",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:18:29",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:17:34",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:17:37",
"id": "76054911732743e3b011a36fdf99ac9b",
"observation": "",
"originalDueDate": "2017-08-05T01:17:37",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:17:38",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:16:54",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:16:57",
"id": "d5d5bc644d9e4068bb108bcca420343b",
"observation": "",
"originalDueDate": "2017-08-05T01:16:57",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:16:58",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:16:14",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:16:17",
"id": "c8de1d1b4f144a8bbb339f2a1c873c7e",
"observation": "",
"originalDueDate": "2017-08-05T01:16:17",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:16:18",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:14:40",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:14:43",
"id": "a84cc2c91ee048c2bcf94b3214af31b2",
"observation": "",
"originalDueDate": "2017-08-05T01:14:43",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:14:43",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:13:22",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:13:23",
"id": "3bf5ea95cb75465e80ea8c0f16cbc4d2",
"observation": "",
"originalDueDate": "2017-08-05T01:13:23",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:13:23",
"value": 240
}
],
"summary": {
"count": 194,
"total": 1740
}
},
"schema": {
"example": {
"data": [
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:57:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "f9a056cb63f5417fb900ed5128bc1b15",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:57:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "ae45d73bfe534325bc6cfef3521d675c",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:45:40",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "8b984881a6934a06b65ab679c3b6641b",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:44:49",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:44:51",
"id": "c19d55551ac84e2d84c5b60f53c77daa",
"observation": "",
"originalDueDate": "2017-08-05T01:44:51",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:44:52",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:40:02",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:40:03",
"id": "b588919ac65a4bc58bc1b87957ca136a",
"observation": "",
"originalDueDate": "2017-08-05T01:40:03",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:40:03",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:39:17",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:39:19",
"id": "fabb9ae209cb4c50ac048ab72363d488",
"observation": "",
"originalDueDate": "2017-08-05T01:39:19",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:39:20",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:38:15",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:38:17",
"id": "bc4e409f1490495b8dc351e2f93ac766",
"observation": "",
"originalDueDate": "2017-08-05T01:38:17",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:38:18",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:37:35",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:37:38",
"id": "b23eb606d9054e29a789745c1473d123",
"observation": "",
"originalDueDate": "2017-08-05T01:37:38",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:37:38",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:36:25",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:36:29",
"id": "2f67b460ca0742118d5eadd7d3752480",
"observation": "",
"originalDueDate": "2017-08-05T01:36:29",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:36:30",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:35:18",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:35:21",
"id": "36102b1baec74904a80dcc6baf8dd5e7",
"observation": "",
"originalDueDate": "2017-08-05T01:35:21",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:35:22",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:31:31",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:31:32",
"id": "2166d1d0b35a4ece826fac580652348b",
"observation": "",
"originalDueDate": "2017-08-05T01:31:32",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:31:32",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:30:18",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:30:20",
"id": "4d7ae513368a425db3c0c567fa2e9704",
"observation": "",
"originalDueDate": "2017-08-05T01:30:20",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:30:21",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:29:32",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:29:34",
"id": "98332e38da024e269670bf6a5fce24ca",
"observation": "",
"originalDueDate": "2017-08-05T01:29:34",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:29:35",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:28:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:29:00",
"id": "f2caa32762f14961895f93ddd1eb66cb",
"observation": "",
"originalDueDate": "2017-08-05T01:29:00",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:29:01",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:19:14",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:19:15",
"id": "c44a7c0d2d944fe1bffc59b79ffdb214",
"observation": "",
"originalDueDate": "2017-08-05T01:19:15",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:19:15",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:18:25",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:18:28",
"id": "f5c4725b549e4e77bfbf69f9ec6b5f44",
"observation": "",
"originalDueDate": "2017-08-05T01:18:28",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:18:29",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:17:34",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:17:37",
"id": "76054911732743e3b011a36fdf99ac9b",
"observation": "",
"originalDueDate": "2017-08-05T01:17:37",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:17:38",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:16:54",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:16:57",
"id": "d5d5bc644d9e4068bb108bcca420343b",
"observation": "",
"originalDueDate": "2017-08-05T01:16:57",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:16:58",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:16:14",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:16:17",
"id": "c8de1d1b4f144a8bbb339f2a1c873c7e",
"observation": "",
"originalDueDate": "2017-08-05T01:16:17",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:16:18",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:14:40",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:14:43",
"id": "a84cc2c91ee048c2bcf94b3214af31b2",
"observation": "",
"originalDueDate": "2017-08-05T01:14:43",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:14:43",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:13:22",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:13:23",
"id": "3bf5ea95cb75465e80ea8c0f16cbc4d2",
"observation": "",
"originalDueDate": "2017-08-05T01:13:23",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:13:23",
"value": 240
}
],
"summary": {
"count": 194,
"total": 1740
}
},
"properties": {
"data": {
"description": "",
"items": {
"example": {
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:57:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "f9a056cb63f5417fb900ed5128bc1b15",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 240
},
"properties": {
"checkingAccountId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"description": {
"type": "string"
},
"dueDate": {
"type": "string"
},
"id": {
"type": "string"
},
"observation": {
"type": "string"
},
"originalDueDate": {
"type": "string"
},
"paymentLink": {
"type": "string"
},
"status": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"id",
"status",
"value",
"checkingAccountId",
"createdAt",
"updatedAt",
"paymentLink",
"originalDueDate",
"dueDate",
"description",
"observation"
],
"title": "Datum1",
"type": "object"
},
"type": "array"
},
"summary": {
"example": {
"count": 5,
"total": 500
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
},
"total": {
"type": "number"
}
},
"required": [
"total",
"count"
],
"title": "Summary",
"type": "object"
}
},
"required": [
"data",
"summary"
],
"title": "Getinvoicesfromacheckingaccount",
"type": "object"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "close",
"schema": {
"type": "string"
}
}
}
},
"Content-Encoding": {
"content": {
"text/plain": {
"example": "gzip",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:30:00 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"Vary": {
"content": {
"text/plain": {
"example": "Accept-Encoding",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.4",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "stable",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.6-stable+62",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Retrieve invoice by creditAccountId",
"tags": [
"Invoices"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}": {
"delete": {
"deprecated": false,
"description": "Changes invoice's status from ancells invoice by specified Id.",
"operationId": "CancelInvoice",
"parameters": [
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "invoiceId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
}
],
"responses": {
"200": {
"content": {
"text/plain": {
"schema": {
"type": "object"
}
}
},
"description": "",
"headers": {
"Access-Control-Allow-Origin": {
"content": {
"text/plain": {
"example": "*",
"schema": {
"type": "string"
}
}
}
},
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "0",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 21:06:17 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts%2F76655291437_CPF%2Finvoices%2F8735068e9aa042488e7cd2a0d3028ce7",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Cancel Invoice",
"tags": [
"Invoices"
]
},
"get": {
"deprecated": false,
"description": "Returns associated data for the specified Invoice Id, like status and value, for example.",
"operationId": "RetrieveInvoicebyId",
"parameters": [
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "invoiceId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
}
],
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": {
"checkingAccountId": "76655291437_CPF",
"createdAt": "2017-07-12T08:53:04",
"description": "Invoice issued from a API call",
"dueDate": "2017-07-27T08:53:04",
"id": "029f4009-ac4b-4739-8644-50df050f34ca",
"observation": "Some observation about the invoice",
"originalDueDate": "2017-07-27T08:53:04",
"paymentLink": "http://foo.bar",
"status": "Opened",
"updatedAt": "2017-07-12T08:53:04",
"value": 50
},
"schema": {
"example": {
"checkingAccountId": "76655291437_CPF",
"createdAt": "2017-07-12T08:53:04",
"description": "Invoice issued from a API call",
"dueDate": "2017-07-27T08:53:04",
"id": "029f4009-ac4b-4739-8644-50df050f34ca",
"observation": "Some observation about the invoice",
"originalDueDate": "2017-07-27T08:53:04",
"paymentLink": "http://foo.bar",
"status": "Opened",
"updatedAt": "2017-07-12T08:53:04",
"value": 50
},
"properties": {
"checkingAccountId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"description": {
"type": "string"
},
"dueDate": {
"type": "string"
},
"id": {
"type": "string"
},
"observation": {
"type": "string"
},
"originalDueDate": {
"type": "string"
},
"paymentLink": {
"type": "string"
},
"status": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"id",
"status",
"value",
"checkingAccountId",
"createdAt",
"updatedAt",
"paymentLink",
"originalDueDate",
"dueDate",
"description",
"observation"
],
"title": "Retrievedinvoice",
"type": "object"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "383",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:53:42 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.4",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "stable",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.6-stable+62",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Retrieve Invoice by Id",
"tags": [
"Invoices"
]
},
"put": {
"deprecated": false,
"description": "Updates invoice's attributes `status`, `paymentLink` and `observation`.",
"operationId": "ChangeInvoice",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "invoiceId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Invoice's identification",
"in": "query",
"name": "friendlyId",
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "form"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"observation": "string (optional)",
"paymentLink": "string (URL) (optional)",
"status": "string"
},
"schema": {
"example": {
"observation": "string (optional)",
"paymentLink": "string (URL) (optional)",
"status": "string"
},
"properties": {
"observation": {
"default": "example",
"type": "string"
},
"paymentLink": {
"default": "example",
"type": "string"
},
"status": {
"default": "Paid",
"description": "Invoice's status. It must be completed with "Paid", "Cancelled" or "Open" value.",
"type": "string"
}
},
"required": [
"status",
"observation",
"paymentLink"
],
"title": "ChangeInvoiceRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"text/plain": {
"schema": {
"type": "object"
}
}
},
"description": "",
"headers": {
"Access-Control-Allow-Origin": {
"content": {
"text/plain": {
"example": "*",
"schema": {
"type": "string"
}
}
}
},
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "0",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 21:02:41 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts%2F76655291437_CPF%2Finvoices%2F8735068e9aa042488e7cd2a0d3028ce7",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Change Invoice",
"tags": [
"Invoices"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}/payments": {
"post": {
"deprecated": false,
"description": "Pay an invoice.",
"operationId": "MarkaninvoiceasPaid",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "isert indentifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "invoiceId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"value": "number (FULL invoice value [deprecated])"
},
"schema": {
"example": {
"value": "number (FULL invoice value [deprecated])"
},
"properties": {
"value": {
"default": "example",
"type": "string"
}
},
"required": [
"value"
],
"title": "MarkaninvoiceasPaidRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": "\"029f4009-ac4b-4739-8644-50df050f34ca\"",
"schema": {
"example": "\"029f4009-ac4b-4739-8644-50df050f34ca\"",
"type": "string"
}
}
},
"description": "",
"headers": {
"Access-Control-Allow-Origin": {
"content": {
"text/plain": {
"example": "*",
"schema": {
"type": "string"
}
}
}
},
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "38",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:58:28 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts%2F76655291437_CPF%2Finvoices%2F029f4009-ac4b-4739-8644-50df050f34ca%2Fpayments",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Mark an invoice as Paid",
"tags": [
"Invoices"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/invoices/{invoiceId}/postponement": {
"put": {
"deprecated": false,
"description": "Postpone an invoice.",
"operationId": "Postponeaninvoice",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "invoiceId",
"required": true,
"schema": {
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"dueDays": "number (integer)"
},
"schema": {
"example": {
"dueDays": "number (integer)"
},
"properties": {
"dueDays": {
"type": "string"
}
},
"required": [
"dueDays"
],
"title": "PostponeaninvoiceRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"text/plain": {
"schema": {
"type": "object"
}
}
},
"description": "",
"headers": {
"Access-Control-Allow-Origin": {
"content": {
"text/plain": {
"example": "*",
"schema": {
"type": "string"
}
}
}
},
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "0",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 21:04:01 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts%2F76655291437_CPF%2Finvoices%2F8735068e9aa042488e7cd2a0d3028ce7%2Fpostponement",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Postpone an invoice",
"tags": [
"Invoices"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/statements": {
"get": {
"deprecated": false,
"description": "Get the account statements.",
"operationId": "Accountstatements",
"parameters": [
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
}
],
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": {
"currentBalance": 0,
"intervalBalance": 0,
"previousBalance": 0,
"statements": [
{
"date": "2017-07-03T16:47:19.4578611Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:47:19.6678789Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:47:20.118935Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:47:20.4899776Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:52:00.9443838Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:52:01.2514187Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:52:01.671466Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:52:01.9424961Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:54:40.0782046Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:54:40.3252276Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:54:40.6552638Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:54:40.8932962Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:55:57.197841Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:55:57.5278732Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:55:57.9019147Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:55:58.1179392Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:11.8426054Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:13.8889672Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:16.5197295Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:18.3509528Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:18.7869726Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:19.0240035Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:19.3770378Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:19.7050818Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:07:15.8348399Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:07:16.1788809Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:07:16.5469147Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:07:16.7959479Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:33.0252059Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:09:33.5372179Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:34.1453238Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:09:34.468359Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:53.1504362Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:09:55.3629113Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:58.6401036Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:10:00.782546Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:49:22.3349339Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:49:22.6879717Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:49:23.0600071Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:49:23.3570469Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:57:01.460345Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:57:02.2444344Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:57:02.6094762Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:57:03.0085156Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T19:01:09.3831094Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T19:01:09.7391531Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T19:01:10.3811954Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T19:01:13.7475991Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T20:48:39.1243969Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T20:48:39.6534554Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T20:48:39.976498Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T20:48:40.2195183Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:43:36.8709735Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:43:39.3015912Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:43:42.4497005Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:43:45.0294261Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:52:42.0202602Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:52:44.2187306Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:52:47.6370182Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:52:49.6223473Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:00:43.7004457Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:00:45.8558835Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:00:48.8719015Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:00:50.9332797Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:06:14.2397182Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:06:14.8247757Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:06:15.3018042Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:06:15.5878612Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:13:11.2934159Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:13:11.6004563Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:13:13.677688Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:13:13.9407125Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:24:18.0640865Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:24:18.3391219Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:24:18.7501665Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:24:19.0612052Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:35:32.4265204Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:35:32.670556Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:35:33.0035923Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:35:33.2296111Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:43:18.0936755Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:43:18.5677311Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:43:19.0377821Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:43:19.3078114Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:46:24.2995291Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:46:24.5415575Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:46:25.1666258Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:46:25.3926527Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T15:10:11.6542275Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T15:10:25.101228Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T15:10:46.4925416Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T15:10:53.5622728Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T16:47:02.1152214Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T16:47:02.4332644Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T16:47:02.9263133Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T16:47:03.2213519Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:15:05.4888997Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:15:06.0669661Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:15:06.6290272Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:15:07.0140703Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:29:04.8128943Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:29:05.1829369Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:29:05.7749947Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:29:06.0640335Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:15:29.5981555Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:15:29.8481897Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:15:30.2942391Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:15:30.5592684Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:44:37.2988823Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:44:37.851942Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:44:38.3920041Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:44:38.7030381Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:09:37.3571808Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:09:37.72222Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:09:38.0552519Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:09:38.2922837Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:20:18.4320323Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:20:21.3519865Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:20:24.16387Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:20:25.8389893Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:22:52.2991989Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:22:52.5682339Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:22:53.0962861Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:22:53.6013417Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:24:44.309999Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:24:46.5064706Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:24:49.6956032Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:24:51.4547805Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T21:14:17.4331001Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T21:14:30.1921448Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T22:20:16.0386883Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T22:20:25.5770708Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T23:59:03.2527657Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T23:59:08.3266609Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T23:59:16.9109105Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T23:59:22.5296797Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T01:57:44.2482508Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T01:57:44.5012788Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T01:57:45.2343532Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T01:57:45.5723968Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:22:00.5618842Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:05.5812446Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:22:13.7547136Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:16.3029568Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:17.7061162Z",
"description": "Credits emptied",
"value": -20000
},
{
"date": "2017-07-06T14:22:20.5444338Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:21.0144862Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:32:59.6762693Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:07.7819136Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:08.2790261Z",
"description": "Credits emptied",
"value": -20000
},
{
"date": "2017-07-06T14:33:08.3789839Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-06T14:33:09.0970636Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:09.5591087Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:33:20.0709176Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:27.9481914Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:39:44.5993553Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:39:44.8493768Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:39:45.4174464Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:39:45.8154911Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:02:28.6075704Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:02:28.9126055Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:02:29.361656Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:02:29.6296853Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:14:48.6134384Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:14:48.937473Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:14:51.6977841Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:14:52.0238222Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:58:40.45117Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:58:40.7472093Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:58:41.1442492Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:58:41.7183119Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:10:20.391709Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:10:20.6657389Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:10:21.3558225Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:10:21.6258492Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:11:48.5505811Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:11:49.0886414Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:11:49.797721Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:11:50.1477661Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T02:33:28.0860427Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T02:33:28.4040771Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T02:33:28.9461381Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T02:33:29.3731885Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T03:19:29.0522439Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T03:19:29.3802781Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T03:19:29.8033262Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T03:19:30.1083606Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:38:32.0646398Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:38:38.5399737Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:38:52.0400096Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:38:59.0326902Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:46:39.5442819Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:46:39.8743121Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:46:40.8354262Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:46:41.1404609Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:53:23.68054Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:53:23.9735672Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:53:24.4196165Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:53:24.7606614Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T17:02:28.3755391Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T17:02:28.7075311Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T17:02:30.9268213Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T17:02:31.4268761Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:31:13.8141713Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:31:14.1722149Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:31:14.7582781Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:31:15.008306Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:36:12.620413Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:36:15.3802583Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:36:20.0483828Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:36:22.3108969Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:39:13.5468917Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:39:14.0169506Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:39:14.4700013Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:39:14.7320264Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:48:49.3203773Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:48:49.6554153Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:48:50.2114767Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:48:50.5725163Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:01:48.7536577Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:01:49.0086875Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:01:49.3867329Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:01:49.720771Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:21:56.4849081Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:21:56.7768944Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:21:57.420015Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:21:57.7600564Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:44:22.3239425Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:44:22.6069739Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:44:23.0380212Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:44:23.7830985Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:46:15.7306413Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:46:16.0676798Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:46:16.7557547Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:46:17.0717915Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T20:46:09.0601995Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T20:46:09.7432736Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T20:59:50.5891534Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T20:59:51.1332589Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T21:50:23.5218551Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T21:50:24.1779278Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T14:33:29.5236904Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T14:33:30.0347475Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:09:06.1221118Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:09:06.6011653Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:11:55.696109Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T16:11:56.2121659Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T16:11:56.8692618Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T16:11:57.1562724Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T16:19:51.1613469Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:19:51.5924019Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:08:27.2440987Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:31:27.2874184Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:38:25.7778188Z",
"description": "Credited",
"value": 1
},
{
"date": "2017-07-11T17:38:47.9508788Z",
"description": "Decrease credits",
"value": -1
},
{
"date": "2017-07-11T17:40:23.1954791Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T17:42:40.0572365Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T17:44:01.6719325Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:45:45.1352607Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:46:26.9859192Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:52:50.7294541Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T17:52:55.3262378Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:01:50.9566941Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:01:51.27073Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:01:51.8287917Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:01:52.13982Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:23:21.8592583Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:23:22.202299Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:23:22.6883482Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:23:23.0293898Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:39:37.8348611Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:39:38.2699106Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:39:38.7839661Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:39:39.1620082Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:53:39.9211228Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:53:40.8032621Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:53:41.3593193Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:53:41.7023675Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T21:49:07.6918338Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T21:49:08.0898827Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T21:49:09.7340616Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T21:49:10.298129Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T22:13:29.121493Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T22:13:29.7035615Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T22:13:31.0747185Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T22:13:31.3367462Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-12T15:19:01.7803787Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-12T15:19:02.2223874Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-12T15:19:02.7854971Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-12T15:19:03.3115534Z",
"description": "Credits emptied",
"value": -10000
}
]
},
"schema": {
"example": {
"currentBalance": 0,
"intervalBalance": 0,
"previousBalance": 0,
"statements": [
{
"date": "2017-07-03T16:47:19.4578611Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:47:19.6678789Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:47:20.118935Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:47:20.4899776Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:52:00.9443838Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:52:01.2514187Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:52:01.671466Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:52:01.9424961Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:54:40.0782046Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:54:40.3252276Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:54:40.6552638Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:54:40.8932962Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:55:57.197841Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:55:57.5278732Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:55:57.9019147Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:55:58.1179392Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:11.8426054Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:13.8889672Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:16.5197295Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:18.3509528Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:18.7869726Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:19.0240035Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:19.3770378Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:19.7050818Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:07:15.8348399Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:07:16.1788809Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:07:16.5469147Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:07:16.7959479Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:33.0252059Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:09:33.5372179Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:34.1453238Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:09:34.468359Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:53.1504362Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:09:55.3629113Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:58.6401036Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:10:00.782546Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:49:22.3349339Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:49:22.6879717Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:49:23.0600071Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:49:23.3570469Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:57:01.460345Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:57:02.2444344Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:57:02.6094762Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:57:03.0085156Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T19:01:09.3831094Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T19:01:09.7391531Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T19:01:10.3811954Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T19:01:13.7475991Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T20:48:39.1243969Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T20:48:39.6534554Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T20:48:39.976498Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T20:48:40.2195183Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:43:36.8709735Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:43:39.3015912Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:43:42.4497005Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:43:45.0294261Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:52:42.0202602Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:52:44.2187306Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:52:47.6370182Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:52:49.6223473Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:00:43.7004457Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:00:45.8558835Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:00:48.8719015Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:00:50.9332797Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:06:14.2397182Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:06:14.8247757Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:06:15.3018042Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:06:15.5878612Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:13:11.2934159Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:13:11.6004563Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:13:13.677688Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:13:13.9407125Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:24:18.0640865Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:24:18.3391219Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:24:18.7501665Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:24:19.0612052Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:35:32.4265204Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:35:32.670556Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:35:33.0035923Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:35:33.2296111Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:43:18.0936755Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:43:18.5677311Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:43:19.0377821Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:43:19.3078114Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:46:24.2995291Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:46:24.5415575Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:46:25.1666258Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:46:25.3926527Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T15:10:11.6542275Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T15:10:25.101228Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T15:10:46.4925416Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T15:10:53.5622728Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T16:47:02.1152214Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T16:47:02.4332644Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T16:47:02.9263133Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T16:47:03.2213519Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:15:05.4888997Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:15:06.0669661Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:15:06.6290272Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:15:07.0140703Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:29:04.8128943Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:29:05.1829369Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:29:05.7749947Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:29:06.0640335Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:15:29.5981555Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:15:29.8481897Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:15:30.2942391Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:15:30.5592684Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:44:37.2988823Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:44:37.851942Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:44:38.3920041Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:44:38.7030381Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:09:37.3571808Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:09:37.72222Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:09:38.0552519Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:09:38.2922837Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:20:18.4320323Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:20:21.3519865Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:20:24.16387Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:20:25.8389893Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:22:52.2991989Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:22:52.5682339Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:22:53.0962861Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:22:53.6013417Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:24:44.309999Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:24:46.5064706Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:24:49.6956032Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:24:51.4547805Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T21:14:17.4331001Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T21:14:30.1921448Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T22:20:16.0386883Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T22:20:25.5770708Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T23:59:03.2527657Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T23:59:08.3266609Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T23:59:16.9109105Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T23:59:22.5296797Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T01:57:44.2482508Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T01:57:44.5012788Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T01:57:45.2343532Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T01:57:45.5723968Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:22:00.5618842Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:05.5812446Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:22:13.7547136Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:16.3029568Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:17.7061162Z",
"description": "Credits emptied",
"value": -20000
},
{
"date": "2017-07-06T14:22:20.5444338Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:21.0144862Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:32:59.6762693Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:07.7819136Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:08.2790261Z",
"description": "Credits emptied",
"value": -20000
},
{
"date": "2017-07-06T14:33:08.3789839Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-06T14:33:09.0970636Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:09.5591087Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:33:20.0709176Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:27.9481914Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:39:44.5993553Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:39:44.8493768Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:39:45.4174464Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:39:45.8154911Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:02:28.6075704Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:02:28.9126055Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:02:29.361656Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:02:29.6296853Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:14:48.6134384Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:14:48.937473Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:14:51.6977841Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:14:52.0238222Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:58:40.45117Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:58:40.7472093Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:58:41.1442492Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:58:41.7183119Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:10:20.391709Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:10:20.6657389Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:10:21.3558225Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:10:21.6258492Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:11:48.5505811Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:11:49.0886414Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:11:49.797721Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:11:50.1477661Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T02:33:28.0860427Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T02:33:28.4040771Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T02:33:28.9461381Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T02:33:29.3731885Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T03:19:29.0522439Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T03:19:29.3802781Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T03:19:29.8033262Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T03:19:30.1083606Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:38:32.0646398Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:38:38.5399737Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:38:52.0400096Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:38:59.0326902Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:46:39.5442819Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:46:39.8743121Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:46:40.8354262Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:46:41.1404609Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:53:23.68054Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:53:23.9735672Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:53:24.4196165Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:53:24.7606614Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T17:02:28.3755391Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T17:02:28.7075311Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T17:02:30.9268213Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T17:02:31.4268761Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:31:13.8141713Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:31:14.1722149Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:31:14.7582781Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:31:15.008306Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:36:12.620413Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:36:15.3802583Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:36:20.0483828Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:36:22.3108969Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:39:13.5468917Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:39:14.0169506Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:39:14.4700013Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:39:14.7320264Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:48:49.3203773Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:48:49.6554153Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:48:50.2114767Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:48:50.5725163Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:01:48.7536577Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:01:49.0086875Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:01:49.3867329Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:01:49.720771Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:21:56.4849081Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:21:56.7768944Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:21:57.420015Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:21:57.7600564Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:44:22.3239425Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:44:22.6069739Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:44:23.0380212Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:44:23.7830985Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:46:15.7306413Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:46:16.0676798Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:46:16.7557547Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:46:17.0717915Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T20:46:09.0601995Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T20:46:09.7432736Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T20:59:50.5891534Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T20:59:51.1332589Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T21:50:23.5218551Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T21:50:24.1779278Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T14:33:29.5236904Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T14:33:30.0347475Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:09:06.1221118Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:09:06.6011653Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:11:55.696109Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T16:11:56.2121659Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T16:11:56.8692618Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T16:11:57.1562724Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T16:19:51.1613469Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:19:51.5924019Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:08:27.2440987Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:31:27.2874184Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:38:25.7778188Z",
"description": "Credited",
"value": 1
},
{
"date": "2017-07-11T17:38:47.9508788Z",
"description": "Decrease credits",
"value": -1
},
{
"date": "2017-07-11T17:40:23.1954791Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T17:42:40.0572365Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T17:44:01.6719325Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:45:45.1352607Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:46:26.9859192Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:52:50.7294541Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T17:52:55.3262378Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:01:50.9566941Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:01:51.27073Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:01:51.8287917Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:01:52.13982Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:23:21.8592583Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:23:22.202299Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:23:22.6883482Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:23:23.0293898Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:39:37.8348611Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:39:38.2699106Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:39:38.7839661Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:39:39.1620082Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:53:39.9211228Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:53:40.8032621Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:53:41.3593193Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:53:41.7023675Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T21:49:07.6918338Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T21:49:08.0898827Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T21:49:09.7340616Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T21:49:10.298129Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T22:13:29.121493Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T22:13:29.7035615Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T22:13:31.0747185Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T22:13:31.3367462Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-12T15:19:01.7803787Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-12T15:19:02.2223874Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-12T15:19:02.7854971Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-12T15:19:03.3115534Z",
"description": "Credits emptied",
"value": -10000
}
]
},
"properties": {
"currentBalance": {
"type": "number"
},
"intervalBalance": {
"type": "number"
},
"previousBalance": {
"type": "number"
},
"statements": {
"description": "",
"items": {
"example": {
"date": "2017-07-03T16:47:19.4578611Z",
"description": "Credited",
"value": 10000
},
"properties": {
"date": {
"type": "string"
},
"description": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"value",
"date",
"description"
],
"title": "Statements1",
"type": "object"
},
"type": "array"
}
},
"required": [
"statements",
"currentBalance",
"intervalBalance",
"previousBalance"
],
"title": "Statements",
"type": "object"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "close",
"schema": {
"type": "string"
}
}
}
},
"Content-Encoding": {
"content": {
"text/plain": {
"example": "gzip",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:44:51 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"Vary": {
"content": {
"text/plain": {
"example": "Accept-Encoding",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fcheckingaccounts%2F1234567890_CPF%2Fstatements",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Account statements",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/statements/{statementId}": {
"put": {
"deprecated": false,
"description": "Create a debit value updating the account BALANCE.",
"operationId": "Decreasebalanceofanaccount",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert example here",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "statementId",
"required": true,
"schema": {
"default": "insert example here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"value": "-number"
},
"schema": {
"example": {
"value": "-number"
},
"properties": {
"value": {
"default": "-490.0",
"type": "string"
}
},
"required": [
"value"
],
"title": "DecreasebalanceofanaccountRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"description": "",
"headers": {}
}
},
"summary": "Decrease balance of an account",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/tolerance": {
"put": {
"deprecated": false,
"description": "Increase the credit limit of a checking account.",
"operationId": "Changetoleranceofanaccount",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"value": 0.2
},
"schema": {
"example": {
"value": 0.2
},
"properties": {
"value": {
"default": 0.2,
"type": "number"
}
},
"required": [
"value"
],
"title": "ChangetoleranceofanaccountRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"text/plain": {
"schema": {
"type": "object"
}
}
},
"description": "",
"headers": {
"connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"content-length": {
"content": {
"text/plain": {
"example": "0",
"schema": {
"type": "string"
}
}
}
},
"date": {
"content": {
"text/plain": {
"example": "Thu, 25 Jan 2018 13:35:21 GMT",
"schema": {
"type": "string"
}
}
}
},
"server": {
"content": {
"text/plain": {
"example": "Microsoft-IIS/8.5",
"schema": {
"type": "string"
}
}
}
},
"via": {
"content": {
"text/plain": {
"example": "1.1 localhost (squid/3.5.27)",
"schema": {
"type": "string"
}
}
}
},
"x-cache": {
"content": {
"text/plain": {
"example": "MISS from localhost",
"schema": {
"type": "string"
}
}
}
},
"x-cache-lookup": {
"content": {
"text/plain": {
"example": "MISS from localhost:3128",
"schema": {
"type": "string"
}
}
}
},
"x-powered-by": {
"content": {
"text/plain": {
"example": "ASP.NET",
"schema": {
"type": "string"
}
}
}
},
"x-vtex-janus-router-backend-app": {
"content": {
"text/plain": {
"example": "cc-v0.1.32-stable+145",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Change tolerance of an account",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/transaction": {
"post": {
"deprecated": false,
"description": "",
"operationId": "CreateaPreAuthorization",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"expirationDate": "date in ISO8601 (UTC) dateformat (optional default is 1(one) day)",
"installments": "integer (optional default is 1)",
"settle": false,
"value": "decimal (required)"
},
"schema": {
"example": {
"expirationDate": "date in ISO8601 (UTC) dateformat (optional default is 1(one) day)",
"installments": "integer (optional default is 1)",
"settle": false,
"value": "decimal (required)"
},
"properties": {
"expirationDate": {
"default": "1",
"description": "date in ISO8601 (UTC) dateformat (optional default is 1(one) day)",
"type": "string"
},
"installments": {
"default": "1",
"type": "string"
},
"settle": {
"default": false,
"type": "boolean"
},
"value": {
"default": "490.0",
"type": "string"
}
},
"required": [
"value",
"settle",
"installments",
"expirationDate"
],
"title": "CreateaPreAuthorizationRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"description": "",
"headers": {}
}
},
"summary": "Create a Pre Authorization",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/transactions/{transactionId}": {
"delete": {
"deprecated": false,
"description": "",
"operationId": "CancelaPreAuthorization",
"parameters": [
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "transactionId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
}
],
"responses": {
"200": {
"description": "",
"headers": {}
}
},
"summary": "Cancel a Pre Authorization",
"tags": [
"Account"
]
},
"put": {
"deprecated": false,
"description": "",
"operationId": "CreateaPreAuthorization(usingid)",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "transactionId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"expirationDate": "date in ISO8601 (UTC) dateformat (optional default is 1(one) day)",
"installments": "integer (optional default is 1)",
"settle": false,
"value": "decimal (required)"
},
"schema": {
"example": {
"expirationDate": "date in ISO8601 (UTC) dateformat (optional default is 1(one) day)",
"installments": "integer (optional default is 1)",
"settle": false,
"value": "decimal (required)"
},
"properties": {
"expirationDate": {
"default": "1",
"description": "date in ISO8601 (UTC) dateformat (optional default is 1(one) day)",
"type": "string"
},
"installments": {
"default": "1",
"type": "string"
},
"settle": {
"default": false,
"type": "boolean"
},
"value": {
"default": "20.0",
"type": "string"
}
},
"required": [
"value",
"settle",
"installments",
"expirationDate"
],
"title": "",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"description": "",
"headers": {}
}
},
"summary": "Create a Pre Authorization (using id)",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/transactions/{transactionId}/refunds": {
"post": {
"deprecated": false,
"description": "Refund a value from a already settled transaction.",
"operationId": "PartialorTotalRefundaSettlement",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "transactionId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"value": "decimal (required)"
},
"schema": {
"example": {
"value": "decimal (required)"
},
"properties": {
"value": {
"default": "20",
"type": "string"
}
},
"required": [
"value"
],
"title": "PartialorTotalRefundaSettlementRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"example": {
"id": "d7d135000a8347ec8b0a0f9edceccefd",
"value": 100
},
"schema": {
"example": {
"id": "d7d135000a8347ec8b0a0f9edceccefd",
"value": 100
},
"properties": {
"id": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"value",
"id"
],
"title": "ThisoperationcausesthecreationofNinvoices,whereNisthenumberofinstallments.Thefirstinvoicewillhaveaduedatewith30daysandthenextinvoiceswillhaveaduedate30daysawayfrompreviousinvoice.",
"type": "object"
}
}
},
"description": "",
"headers": {
"connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"content-length": {
"content": {
"text/plain": {
"example": "55",
"schema": {
"type": "string"
}
}
}
},
"content-type": {
"content": {
"text/plain": {
"example": "application/json; charset=utf-8",
"schema": {
"type": "string"
}
}
}
},
"date": {
"content": {
"text/plain": {
"example": "Thu, 29 Mar 2018 15:56:55 GMT",
"schema": {
"type": "string"
}
}
}
},
"server": {
"content": {
"text/plain": {
"example": "Microsoft-IIS/8.5",
"schema": {
"type": "string"
}
}
}
},
"x-powered-by": {
"content": {
"text/plain": {
"example": "ASP.NET",
"schema": {
"type": "string"
}
}
}
},
"x-vtex-janus-router-backend-app": {
"content": {
"text/plain": {
"example": "cc-v0.1.37-beta.1+166",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Partial or Total Refund a Settlement",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/accounts/{creditAccountId}/transactions/{transactionId}/settlement": {
"put": {
"deprecated": false,
"description": "Debit a value from checking account.",
"operationId": "CreateorUpdateSettlement",
"parameters": [
{
"description": "Credit account's identification",
"in": "path",
"name": "creditAccountId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "path",
"name": "transactionId",
"required": true,
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"value": "decimal (required)"
},
"schema": {
"example": {
"value": "decimal (required)"
},
"properties": {
"value": {
"default": "490.0",
"type": "string"
}
},
"required": [
"value"
],
"title": "CreateorUpdateSettlementRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"example": {
"id": "d7d135000a8347ec8b0a0f9edceccefd",
"value": 100
},
"schema": {
"example": {
"id": "d7d135000a8347ec8b0a0f9edceccefd",
"value": 100
},
"properties": {
"id": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"value",
"id"
],
"title": "ThisoperationcausesthecreationofNinvoices,whereNisthenumberofinstallments.Thefirstinvoicewillhaveaduedatewith30daysandthenextinvoiceswillhaveaduedate30daysawayfrompreviousinvoice.",
"type": "object"
}
}
},
"description": "",
"headers": {
"connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"content-length": {
"content": {
"text/plain": {
"example": "55",
"schema": {
"type": "string"
}
}
}
},
"content-type": {
"content": {
"text/plain": {
"example": "application/json; charset=utf-8",
"schema": {
"type": "string"
}
}
}
},
"date": {
"content": {
"text/plain": {
"example": "Thu, 29 Mar 2018 15:56:55 GMT",
"schema": {
"type": "string"
}
}
}
},
"server": {
"content": {
"text/plain": {
"example": "Microsoft-IIS/8.5",
"schema": {
"type": "string"
}
}
}
},
"x-powered-by": {
"content": {
"text/plain": {
"example": "ASP.NET",
"schema": {
"type": "string"
}
}
}
},
"x-vtex-janus-router-backend-app": {
"content": {
"text/plain": {
"example": "cc-v0.1.37-beta.1+166",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Create or Update Settlement",
"tags": [
"Account"
]
}
},
"/api/creditcontrol/invoices": {
"get": {
"deprecated": false,
"description": "Returns all invoices according to the informed query params in the request.",
"operationId": "Searchallinvoices",
"parameters": [
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "",
"in": "query",
"name": "from",
"required": false,
"schema": {
"default": "",
"type": "string"
},
"style": "form"
},
{
"description": "",
"in": "query",
"name": "to",
"required": false,
"schema": {
"default": "",
"type": "string"
},
"style": "form"
},
{
"description": "",
"in": "query",
"name": "createdDateFrom",
"required": false,
"schema": {
"example": "",
"type": "string"
},
"style": "form"
},
{
"description": "",
"in": "query",
"name": "createdDateTo",
"required": false,
"schema": {
"example": "",
"type": "string"
},
"style": "form"
},
{
"description": "Invoice's value. It must be completed with a decimal value.",
"in": "query",
"name": "value",
"required": false,
"schema": {
"default": "101.22",
"type": "number"
},
"style": "form"
},
{
"description": "Invoice's status. It must be completed with \"Paid\", \"Cancelled\" or \"Open\" value.",
"in": "query",
"name": "status",
"required": false,
"schema": {
"default": "Paid",
"type": "string"
},
"style": "form"
},
{
"description": "Invoice's identifier",
"in": "query",
"name": "friendlyId",
"schema": {
"default": "insert identifier here",
"type": "string"
},
"style": "form"
},
{
"description": "Credit account's identifier",
"in": "query",
"name": "creditAccountId",
"required": false,
"schema": {
"default": "B75F0",
"type": "string"
},
"style": "form"
}
],
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": {
"data": [
{
"checkingAccountId": "14443385797_CPF",
"createdAt": "2017-06-19T01:53:54",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-07-27T05:58:24",
"id": "ce02c68b2b584d5ba15a63bc485d43f1",
"observation": "",
"originalDueDate": "2017-07-27T05:58:24",
"paymentLink": "",
"status": "Paid",
"updatedAt": "2017-06-27T05:58:24",
"value": 100
},
{
"checkingAccountId": "06100326744_CPF",
"createdAt": "2017-04-27T01:48:27",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-27T07:58:42",
"id": "11ff8f52407047c2966649c3484285bd",
"observation": "",
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-27T07:58:42",
"value": 100
},
{
"checkingAccountId": "06100326744_CPF",
"createdAt": "2017-04-27T01:48:27",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-27T07:58:30",
"id": "2828a856363a4f82b3f5c18b3ef09620",
"observation": "",
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-27T07:58:30",
"value": 100
},
{
"checkingAccountId": "06100326744_CPF",
"createdAt": "2017-04-27T01:48:27",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-27T07:58:52",
"id": "06c8f6160f7a4a50ae43c26a37fe1946",
"observation": "",
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-27T07:58:52",
"value": 100
},
{
"checkingAccountId": "14443385797_CPF",
"createdAt": "2017-04-11T04:50:34",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-11T05:26:07",
"id": "105e79997fbe452ba33ffa69b408f9bf",
"observation": null,
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-11T05:26:07",
"value": 100
}
],
"summary": {
"count": 5,
"total": 500
}
},
"schema": {
"example": {
"data": [
{
"checkingAccountId": "14443385797_CPF",
"createdAt": "2017-06-19T01:53:54",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-07-27T05:58:24",
"id": "ce02c68b2b584d5ba15a63bc485d43f1",
"observation": "",
"originalDueDate": "2017-07-27T05:58:24",
"paymentLink": "",
"status": "Paid",
"updatedAt": "2017-06-27T05:58:24",
"value": 100
},
{
"checkingAccountId": "06100326744_CPF",
"createdAt": "2017-04-27T01:48:27",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-27T07:58:42",
"id": "11ff8f52407047c2966649c3484285bd",
"observation": "",
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-27T07:58:42",
"value": 100
},
{
"checkingAccountId": "06100326744_CPF",
"createdAt": "2017-04-27T01:48:27",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-27T07:58:30",
"id": "2828a856363a4f82b3f5c18b3ef09620",
"observation": "",
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-27T07:58:30",
"value": 100
},
{
"checkingAccountId": "06100326744_CPF",
"createdAt": "2017-04-27T01:48:27",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-27T07:58:52",
"id": "06c8f6160f7a4a50ae43c26a37fe1946",
"observation": "",
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-27T07:58:52",
"value": 100
},
{
"checkingAccountId": "14443385797_CPF",
"createdAt": "2017-04-11T04:50:34",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-11T05:26:07",
"id": "105e79997fbe452ba33ffa69b408f9bf",
"observation": null,
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-11T05:26:07",
"value": 100
}
],
"summary": {
"count": 5,
"total": 500
}
},
"properties": {
"data": {
"description": "",
"items": {
"example": {
"checkingAccountId": "14443385797_CPF",
"createdAt": "2017-06-19T01:53:54",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-07-27T05:58:24",
"id": "ce02c68b2b584d5ba15a63bc485d43f1",
"observation": "",
"originalDueDate": "2017-07-27T05:58:24",
"paymentLink": "",
"status": "Paid",
"updatedAt": "2017-06-27T05:58:24",
"value": 100
},
"properties": {
"checkingAccountId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"description": {
"type": "string"
},
"dueDate": {
"type": "string"
},
"id": {
"type": "string"
},
"observation": {
"nullable": true,
"type": "string"
},
"originalDueDate": {
"type": "string"
},
"paymentLink": {
"nullable": true,
"type": "string"
},
"status": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"id",
"status",
"value",
"checkingAccountId",
"createdAt",
"updatedAt",
"paymentLink",
"originalDueDate",
"dueDate",
"description",
"observation"
],
"title": "Datum",
"type": "object"
},
"type": "array"
},
"summary": {
"example": {
"count": 5,
"total": 500
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
},
"total": {
"type": "number"
}
},
"required": [
"total",
"count"
],
"title": "Summary",
"type": "object"
}
},
"required": [
"data",
"summary"
],
"title": "Paidinvoices",
"type": "object"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "close",
"schema": {
"type": "string"
}
}
}
},
"Content-Encoding": {
"content": {
"text/plain": {
"example": "gzip",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 18:56:52 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"Vary": {
"content": {
"text/plain": {
"example": "Accept-Encoding",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.4",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "stable",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.6-stable+62",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Search all invoices",
"tags": [
"Invoices"
]
}
},
"/api/creditcontrol/storeconfig": {
"get": {
"deprecated": false,
"description": "Get store configuration data.",
"operationId": "Retrievestoreconfiguration",
"parameters": [
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": {
"dailyInterestRate": 0,
"invoicePostponementLimit": 0,
"taxRate": 0,
"tolerancePercent": 0.7
},
"schema": {
"example": {
"dailyInterestRate": 0,
"invoicePostponementLimit": 0,
"taxRate": 0,
"tolerancePercent": 0.7
},
"properties": {
"dailyInterestRate": {
"type": "number"
},
"invoicePostponementLimit": {
"format": "int32",
"type": "integer"
},
"taxRate": {
"type": "number"
},
"tolerancePercent": {
"type": "number"
}
},
"required": [
"dailyInterestRate",
"invoicePostponementLimit",
"taxRate",
"tolerancePercent"
],
"title": "Storeconfig",
"type": "object"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "91",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 20:45:36 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fstoreconfig",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Retrieve store configuration",
"tags": [
"Store Configuration"
]
},
"put": {
"deprecated": false,
"description": "Create or change store configuration data.",
"operationId": "Createorchangestoreconfiguration",
"parameters": [
{
"description": "Media type(s) that is/are acceptable for the response. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Accept",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
},
{
"description": "The Media type of the body of the request. Default value for payment provider protocol is application/json",
"in": "header",
"name": "Content-Type",
"required": true,
"schema": {
"default": "application/json",
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"automaticCheckingAccountCreationEnabled": false,
"dailyInterestRate": "number(percent 0.1=10%) (float)",
"defaultCreditValue": "number (decimal)",
"invoicePostponementLimit": "number (int)",
"maxPostponementDays": "number (int",
"maxPreAuthorizationGrowthRate": "number (percent 0.1=10%) (float)",
"myCreditsEnabled": false,
"postponementEnabled": false,
"taxRate": "number(percent 0.1=10%) (float)",
"toleranceEnabled": false
},
"schema": {
"example": {
"automaticCheckingAccountCreationEnabled": false,
"dailyInterestRate": "number(percent 0.1=10%) (float)",
"defaultCreditValue": "number (decimal)",
"invoicePostponementLimit": "number (int)",
"maxPostponementDays": "number (int",
"maxPreAuthorizationGrowthRate": "number (percent 0.1=10%) (float)",
"myCreditsEnabled": false,
"postponementEnabled": false,
"taxRate": "number(percent 0.1=10%) (float)",
"toleranceEnabled": false
},
"properties": {
"automaticCheckingAccountCreationEnabled": {
"default": false,
"type": "boolean"
},
"dailyInterestRate": {
"default": "0.6",
"type": "string"
},
"defaultCreditValue": {
"default": "150.0",
"type": "string"
},
"invoicePostponementLimit": {
"default": "2",
"type": "string"
},
"maxPostponementDays": {
"default": "3",
"type": "string"
},
"maxPreAuthorizationGrowthRate": {
"default": "0.1",
"type": "string"
},
"myCreditsEnabled": {
"default": true,
"type": "boolean"
},
"notificationsSettings": {
"properties": {
"daysAfter": {
"items": {
"properties": {
"days": {
"default": "0",
"type": "integer"
},
"timeOfDay": {
"default": "12:00:00",
"type": "string"
}
},
"required": [
"days",
"timeOfDay"
],
"type": "object"
},
"type": "array"
},
"daysPrior": {
"items": {
"properties": {
"days": {
"default": 1,
"type": "integer"
},
"timeOfDay": {
"default": "16:00:00",
"type": "string"
}
},
"required": [
"days",
"timeOfDay"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"postponementEnabled": {
"default": false,
"type": "boolean"
},
"taxRate": {
"default": "0.4",
"type": "string"
},
"toleranceEnabled": {
"default": true,
"type": "boolean"
}
},
"required": [
"dailyInterestRate",
"invoicePostponementLimit",
"taxRate",
"maxPostponementDays",
"defaultCreditValue",
"maxPreAuthorizationGrowthRate",
"myCreditsEnabled",
"toleranceEnabled",
"automaticCheckingAccountCreationEnabled",
"postponementEnabled"
],
"title": "CreateorchangestoreconfigurationRequest",
"type": "object"
}
}
},
"description": "",
"required": true
},
"responses": {
"200": {
"content": {
"application/json; charset=utf-8": {
"example": {
"dailyInterestRate": 0.2,
"invoicePostponementLimit": 2,
"taxRate": 0.4,
"tolerancePercent": 0.35
},
"schema": {
"example": {
"dailyInterestRate": 0.2,
"invoicePostponementLimit": 2,
"taxRate": 0.4,
"tolerancePercent": 0.35
},
"properties": {
"dailyInterestRate": {
"type": "number"
},
"invoicePostponementLimit": {
"format": "int32",
"type": "integer"
},
"taxRate": {
"type": "number"
},
"tolerancePercent": {
"type": "number"
}
},
"required": [
"dailyInterestRate",
"invoicePostponementLimit",
"taxRate",
"tolerancePercent"
],
"title": "Savestoreconfig",
"type": "object"
}
}
},
"description": "",
"headers": {
"Connection": {
"content": {
"text/plain": {
"example": "keep-alive",
"schema": {
"type": "string"
}
}
}
},
"Content-Length": {
"content": {
"text/plain": {
"example": "92",
"schema": {
"type": "string"
}
}
}
},
"Date": {
"content": {
"text/plain": {
"example": "Wed, 12 Jul 2017 21:00:07 GMT",
"schema": {
"type": "string"
}
}
}
},
"Server": {
"content": {
"text/plain": {
"example": "nginx",
"schema": {
"type": "string"
}
}
}
},
"X-CDNIgnore": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Powered-by-VTEX-Janus-Edge": {
"content": {
"text/plain": {
"example": "v1.36.5-beta.1",
"schema": {
"type": "string"
}
}
}
},
"X-Track": {
"content": {
"text/plain": {
"example": "beta",
"schema": {
"type": "string"
}
}
}
},
"X-Translate": {
"content": {
"text/plain": {
"example": "1",
"schema": {
"type": "string"
}
}
}
},
"X-Translate-BackEnd": {
"content": {
"text/plain": {
"example": "http%3A%2F%2Fbeta.janus-router-v2.vtexinternal.com.br%2Fapi%2Fcreditcontrol%2Fstoreconfig",
"schema": {
"type": "string"
}
}
}
},
"X-VTEX-Janus-Router-Backend-App": {
"content": {
"text/plain": {
"example": "cc-v0.1.7-beta.5+75",
"schema": {
"type": "string"
}
}
}
}
}
}
},
"summary": "Create or change store configuration",
"tags": [
"Store Configuration"
]
}
}
},
"components": {
"schemas": {
"AddanaccountHolderRequest": {
"example": {
"claims": {
"email": "USER-EMAIL"
}
},
"properties": {
"claims": {
"example": {
"email": "USER-EMAIL"
},
"properties": {
"email": {
"type": "string"
}
},
"required": [
"email"
],
"title": "Claims",
"type": "object"
}
},
"required": [
"claims"
],
"title": "AddanaccountHolderRequest",
"type": "object"
},
"ChangeInvoiceRequest": {
"example": {
"observation": "string (optional)",
"paymentLink": "string (URL) (optional)",
"status": "string"
},
"properties": {
"observation": {
"type": "string"
},
"paymentLink": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"status",
"observation",
"paymentLink"
],
"title": "ChangeInvoiceRequest",
"type": "object"
},
"ChangecreditlimitofanAccountRequest": {
"example": {
"value": 10000
},
"properties": {
"value": {
"format": "int32",
"type": "integer"
}
},
"required": [
"value"
],
"title": "ChangecreditlimitofanAccountRequest",
"type": "object"
},
"ChangetoleranceofanaccountRequest": {
"example": {
"value": 0.2
},
"properties": {
"value": {
"type": "number"
}
},
"required": [
"value"
],
"title": "ChangetoleranceofanaccountRequest",
"type": "object"
},
"Claims": {
"example": {
"email": "USER-EMAIL"
},
"properties": {
"email": {
"type": "string"
}
},
"required": [
"email"
],
"title": "Claims",
"type": "object"
},
"CloseanAccountRequest": {
"example": {
"document": "number",
"documentType": "CPF ou CNPJ ou Other",
"email": "email"
},
"properties": {
"document": {
"type": "string"
},
"documentType": {
"type": "string"
},
"email": {
"type": "string"
}
},
"required": [
"document",
"documentType",
"email"
],
"title": "CloseanAccountRequest",
"type": "object"
},
"CreateaPreAuthorizationRequest": {
"example": {
"expirationDate": "date in ISO8601 (UTC) dateformat (optional default is 1(one) day)",
"installments": "integer (optional default is 1)",
"settle": false,
"value": "decimal (required)"
},
"properties": {
"expirationDate": {
"type": "string"
},
"installments": {
"type": "string"
},
"settle": {
"type": "boolean"
},
"value": {
"type": "string"
}
},
"required": [
"value",
"settle",
"installments",
"expirationDate"
],
"title": "CreateaPreAuthorizationRequest",
"type": "object"
},
"CreateaPreAuthorizationUsingidRequest": {
"example": {
"expirationDate": "date in ISO8601 (UTC) dateformat (optional default is 1(one) day)",
"installments": "integer (optional default is 1)",
"settle": false,
"value": "decimal (required)"
},
"properties": {
"expirationDate": {
"type": "string"
},
"installments": {
"type": "string"
},
"settle": {
"type": "boolean"
},
"value": {
"type": "string"
}
},
"required": [
"value",
"settle",
"installments",
"expirationDate"
],
"title": "",
"type": "object"
},
"CreateorUpdateSettlementRequest": {
"example": {
"value": "decimal (required)"
},
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"title": "CreateorUpdateSettlementRequest",
"type": "object"
},
"CreateorchangestoreconfigurationRequest": {
"example": {
"automaticCheckingAccountCreationEnabled": false,
"dailyInterestRate": "number(percent 0.1=10%) (float)",
"defaultCreditValue": "number (decimal)",
"invoicePostponementLimit": "number (int)",
"maxPostponementDays": "number (int",
"maxPreAuthorizationGrowthRate": "number (percent 0.1=10%) (float)",
"myCreditsEnabled": false,
"postponementEnabled": false,
"taxRate": "number(percent 0.1=10%) (float)",
"toleranceEnabled": false
},
"properties": {
"automaticCheckingAccountCreationEnabled": {
"type": "boolean"
},
"dailyInterestRate": {
"type": "string"
},
"defaultCreditValue": {
"type": "string"
},
"invoicePostponementLimit": {
"type": "string"
},
"maxPostponementDays": {
"type": "string"
},
"maxPreAuthorizationGrowthRate": {
"type": "string"
},
"myCreditsEnabled": {
"type": "boolean"
},
"postponementEnabled": {
"type": "boolean"
},
"taxRate": {
"type": "string"
},
"toleranceEnabled": {
"type": "boolean"
}
},
"required": [
"dailyInterestRate",
"invoicePostponementLimit",
"taxRate",
"maxPostponementDays",
"defaultCreditValue",
"maxPreAuthorizationGrowthRate",
"myCreditsEnabled",
"toleranceEnabled",
"automaticCheckingAccountCreationEnabled",
"postponementEnabled"
],
"title": "CreateorchangestoreconfigurationRequest",
"type": "object"
},
"Datum": {
"example": {
"checkingAccountId": "14443385797_CPF",
"createdAt": "2017-06-19T01:53:54",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-07-27T05:58:24",
"id": "ce02c68b2b584d5ba15a63bc485d43f1",
"observation": "",
"originalDueDate": "2017-07-27T05:58:24",
"paymentLink": "",
"status": "Paid",
"updatedAt": "2017-06-27T05:58:24",
"value": 100
},
"properties": {
"checkingAccountId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"description": {
"type": "string"
},
"dueDate": {
"type": "string"
},
"id": {
"type": "string"
},
"observation": {
"nullable": true,
"type": "string"
},
"originalDueDate": {
"type": "string"
},
"paymentLink": {
"nullable": true,
"type": "string"
},
"status": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"id",
"status",
"value",
"checkingAccountId",
"createdAt",
"updatedAt",
"paymentLink",
"originalDueDate",
"dueDate",
"description",
"observation"
],
"title": "Datum",
"type": "object"
},
"Datum1": {
"example": {
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:57:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "f9a056cb63f5417fb900ed5128bc1b15",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 240
},
"properties": {
"checkingAccountId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"description": {
"type": "string"
},
"dueDate": {
"type": "string"
},
"id": {
"type": "string"
},
"observation": {
"type": "string"
},
"originalDueDate": {
"type": "string"
},
"paymentLink": {
"type": "string"
},
"status": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"id",
"status",
"value",
"checkingAccountId",
"createdAt",
"updatedAt",
"paymentLink",
"originalDueDate",
"dueDate",
"description",
"observation"
],
"title": "Datum1",
"type": "object"
},
"Datum2": {
"example": {
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
},
"properties": {
"account": {
"type": "string"
},
"balance": {
"type": "number"
},
"creditLimit": {
"type": "number"
},
"description": {
"type": "string"
},
"document": {
"type": "string"
},
"documentType": {
"type": "string"
},
"email": {
"type": "string"
},
"lastUpdate": {
"type": "string"
}
},
"required": [
"account",
"balance",
"document",
"documentType",
"creditLimit",
"lastUpdate",
"description",
"email"
],
"title": "Datum2",
"type": "object"
},
"DecreasebalanceofanaccountRequest": {
"example": {
"value": "-number"
},
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"title": "DecreasebalanceofanaccountRequest",
"type": "object"
},
"Getaccount": {
"example": {
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
},
"properties": {
"account": {
"type": "string"
},
"balance": {
"type": "number"
},
"creditLimit": {
"type": "number"
},
"description": {
"type": "string"
},
"email": {
"type": "string"
},
"lastUpdate": {
"type": "string"
}
},
"required": [
"account",
"balance",
"creditLimit",
"lastUpdate",
"description",
"email"
],
"title": "Getaccount",
"type": "object"
},
"Getinvoicesfromacheckingaccount": {
"example": {
"data": [
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:57:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "f9a056cb63f5417fb900ed5128bc1b15",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:57:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "ae45d73bfe534325bc6cfef3521d675c",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:45:40",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "8b984881a6934a06b65ab679c3b6641b",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:44:49",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:44:51",
"id": "c19d55551ac84e2d84c5b60f53c77daa",
"observation": "",
"originalDueDate": "2017-08-05T01:44:51",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:44:52",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:40:02",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:40:03",
"id": "b588919ac65a4bc58bc1b87957ca136a",
"observation": "",
"originalDueDate": "2017-08-05T01:40:03",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:40:03",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:39:17",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:39:19",
"id": "fabb9ae209cb4c50ac048ab72363d488",
"observation": "",
"originalDueDate": "2017-08-05T01:39:19",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:39:20",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:38:15",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:38:17",
"id": "bc4e409f1490495b8dc351e2f93ac766",
"observation": "",
"originalDueDate": "2017-08-05T01:38:17",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:38:18",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:37:35",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:37:38",
"id": "b23eb606d9054e29a789745c1473d123",
"observation": "",
"originalDueDate": "2017-08-05T01:37:38",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:37:38",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:36:25",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:36:29",
"id": "2f67b460ca0742118d5eadd7d3752480",
"observation": "",
"originalDueDate": "2017-08-05T01:36:29",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:36:30",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:35:18",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:35:21",
"id": "36102b1baec74904a80dcc6baf8dd5e7",
"observation": "",
"originalDueDate": "2017-08-05T01:35:21",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:35:22",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:31:31",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:31:32",
"id": "2166d1d0b35a4ece826fac580652348b",
"observation": "",
"originalDueDate": "2017-08-05T01:31:32",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:31:32",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:30:18",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:30:20",
"id": "4d7ae513368a425db3c0c567fa2e9704",
"observation": "",
"originalDueDate": "2017-08-05T01:30:20",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:30:21",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:29:32",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:29:34",
"id": "98332e38da024e269670bf6a5fce24ca",
"observation": "",
"originalDueDate": "2017-08-05T01:29:34",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:29:35",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:28:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:29:00",
"id": "f2caa32762f14961895f93ddd1eb66cb",
"observation": "",
"originalDueDate": "2017-08-05T01:29:00",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:29:01",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:19:14",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:19:15",
"id": "c44a7c0d2d944fe1bffc59b79ffdb214",
"observation": "",
"originalDueDate": "2017-08-05T01:19:15",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:19:15",
"value": 240
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:18:25",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:18:28",
"id": "f5c4725b549e4e77bfbf69f9ec6b5f44",
"observation": "",
"originalDueDate": "2017-08-05T01:18:28",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:18:29",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:17:34",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:17:37",
"id": "76054911732743e3b011a36fdf99ac9b",
"observation": "",
"originalDueDate": "2017-08-05T01:17:37",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:17:38",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:16:54",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:16:57",
"id": "d5d5bc644d9e4068bb108bcca420343b",
"observation": "",
"originalDueDate": "2017-08-05T01:16:57",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:16:58",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:16:14",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:16:17",
"id": "c8de1d1b4f144a8bbb339f2a1c873c7e",
"observation": "",
"originalDueDate": "2017-08-05T01:16:17",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:16:18",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:14:40",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:14:43",
"id": "a84cc2c91ee048c2bcf94b3214af31b2",
"observation": "",
"originalDueDate": "2017-08-05T01:14:43",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:14:43",
"value": 20
},
{
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:13:22",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:13:23",
"id": "3bf5ea95cb75465e80ea8c0f16cbc4d2",
"observation": "",
"originalDueDate": "2017-08-05T01:13:23",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:13:23",
"value": 240
}
],
"summary": {
"count": 194,
"total": 1740
}
},
"properties": {
"data": {
"description": "",
"items": {
"example": {
"checkingAccountId": "12345677811_CPF",
"createdAt": "2017-07-06T01:57:58",
"description": "Invoice from debit of 240.0M. Installment 1/1",
"dueDate": "2017-08-05T01:57:58",
"id": "f9a056cb63f5417fb900ed5128bc1b15",
"observation": "",
"originalDueDate": "2017-08-05T01:57:58",
"paymentLink": "",
"status": "Opened",
"updatedAt": "2017-07-06T01:57:58",
"value": 240
},
"properties": {
"checkingAccountId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"description": {
"type": "string"
},
"dueDate": {
"type": "string"
},
"id": {
"type": "string"
},
"observation": {
"type": "string"
},
"originalDueDate": {
"type": "string"
},
"paymentLink": {
"type": "string"
},
"status": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"id",
"status",
"value",
"checkingAccountId",
"createdAt",
"updatedAt",
"paymentLink",
"originalDueDate",
"dueDate",
"description",
"observation"
],
"title": "Datum1",
"type": "object"
},
"type": "array"
},
"summary": {
"example": {
"count": 5,
"total": 500
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
},
"total": {
"type": "number"
}
},
"required": [
"total",
"count"
],
"title": "Summary",
"type": "object"
}
},
"required": [
"data",
"summary"
],
"title": "Getinvoicesfromacheckingaccount",
"type": "object"
},
"IncreasebalanceofanaccountRequest": {
"example": {
"value": "number"
},
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"title": "IncreasebalanceofanaccountRequest",
"type": "object"
},
"MarkaninvoiceasPaidRequest": {
"example": {
"value": "number (FULL invoice value [deprecated])"
},
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"title": "MarkaninvoiceasPaidRequest",
"type": "object"
},
"OpenanAccountRequest": {
"example": {
"creditLimit": "number",
"description": "description",
"document": "number",
"documentType": "CPF ou CNPJ ou Other",
"email": "email",
"tolerance": "1 is 100%"
},
"properties": {
"creditLimit": {
"type": "string"
},
"description": {
"type": "string"
},
"document": {
"type": "string"
},
"documentType": {
"type": "string"
},
"email": {
"type": "string"
},
"tolerance": {
"type": "string"
}
},
"required": [
"document",
"documentType",
"email",
"creditLimit",
"description",
"tolerance"
],
"title": "OpenanAccountRequest",
"type": "object"
},
"OpenorChangeAccountRequest": {
"example": {
"creditLimit": "number",
"email": "email"
},
"properties": {
"creditLimit": {
"type": "string"
},
"email": {
"type": "string"
}
},
"required": [
"email",
"creditLimit"
],
"title": "OpenorChangeAccountRequest",
"type": "object"
},
"Paidinvoices": {
"example": {
"data": [
{
"checkingAccountId": "14443385797_CPF",
"createdAt": "2017-06-19T01:53:54",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-07-27T05:58:24",
"id": "ce02c68b2b584d5ba15a63bc485d43f1",
"observation": "",
"originalDueDate": "2017-07-27T05:58:24",
"paymentLink": "",
"status": "Paid",
"updatedAt": "2017-06-27T05:58:24",
"value": 100
},
{
"checkingAccountId": "06100326744_CPF",
"createdAt": "2017-04-27T01:48:27",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-27T07:58:42",
"id": "11ff8f52407047c2966649c3484285bd",
"observation": "",
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-27T07:58:42",
"value": 100
},
{
"checkingAccountId": "06100326744_CPF",
"createdAt": "2017-04-27T01:48:27",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-27T07:58:30",
"id": "2828a856363a4f82b3f5c18b3ef09620",
"observation": "",
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-27T07:58:30",
"value": 100
},
{
"checkingAccountId": "06100326744_CPF",
"createdAt": "2017-04-27T01:48:27",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-27T07:58:52",
"id": "06c8f6160f7a4a50ae43c26a37fe1946",
"observation": "",
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-27T07:58:52",
"value": 100
},
{
"checkingAccountId": "14443385797_CPF",
"createdAt": "2017-04-11T04:50:34",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-05-11T05:26:07",
"id": "105e79997fbe452ba33ffa69b408f9bf",
"observation": null,
"originalDueDate": "",
"paymentLink": null,
"status": "Paid",
"updatedAt": "2017-04-11T05:26:07",
"value": 100
}
],
"summary": {
"count": 5,
"total": 500
}
},
"properties": {
"data": {
"description": "",
"items": {
"example": {
"checkingAccountId": "14443385797_CPF",
"createdAt": "2017-06-19T01:53:54",
"description": "Invoice from debit of 100M. Installment 1/1",
"dueDate": "2017-07-27T05:58:24",
"id": "ce02c68b2b584d5ba15a63bc485d43f1",
"observation": "",
"originalDueDate": "2017-07-27T05:58:24",
"paymentLink": "",
"status": "Paid",
"updatedAt": "2017-06-27T05:58:24",
"value": 100
},
"properties": {
"checkingAccountId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"description": {
"type": "string"
},
"dueDate": {
"type": "string"
},
"id": {
"type": "string"
},
"observation": {
"nullable": true,
"type": "string"
},
"originalDueDate": {
"type": "string"
},
"paymentLink": {
"nullable": true,
"type": "string"
},
"status": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"id",
"status",
"value",
"checkingAccountId",
"createdAt",
"updatedAt",
"paymentLink",
"originalDueDate",
"dueDate",
"description",
"observation"
],
"title": "Datum",
"type": "object"
},
"type": "array"
},
"summary": {
"example": {
"count": 5,
"total": 500
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
},
"total": {
"type": "number"
}
},
"required": [
"total",
"count"
],
"title": "Summary",
"type": "object"
}
},
"required": [
"data",
"summary"
],
"title": "Paidinvoices",
"type": "object"
},
"PartialorTotalRefundaSettlementRequest": {
"example": {
"value": "decimal (required)"
},
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"title": "PartialorTotalRefundaSettlementRequest",
"type": "object"
},
"PostponeaninvoiceRequest": {
"example": {
"dueDays": "number (integer)"
},
"properties": {
"dueDays": {
"type": "string"
}
},
"required": [
"dueDays"
],
"title": "PostponeaninvoiceRequest",
"type": "object"
},
"Retrievedinvoice": {
"example": {
"checkingAccountId": "76655291437_CPF",
"createdAt": "2017-07-12T08:53:04",
"description": "Invoice issued from a API call",
"dueDate": "2017-07-27T08:53:04",
"id": "029f4009-ac4b-4739-8644-50df050f34ca",
"observation": "Some observation about the invoice",
"originalDueDate": "2017-07-27T08:53:04",
"paymentLink": "http://foo.bar",
"status": "Opened",
"updatedAt": "2017-07-12T08:53:04",
"value": 50
},
"properties": {
"checkingAccountId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"description": {
"type": "string"
},
"dueDate": {
"type": "string"
},
"id": {
"type": "string"
},
"observation": {
"type": "string"
},
"originalDueDate": {
"type": "string"
},
"paymentLink": {
"type": "string"
},
"status": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"id",
"status",
"value",
"checkingAccountId",
"createdAt",
"updatedAt",
"paymentLink",
"originalDueDate",
"dueDate",
"description",
"observation"
],
"title": "Retrievedinvoice",
"type": "object"
},
"Savestoreconfig": {
"example": {
"dailyInterestRate": 0.2,
"invoicePostponementLimit": 2,
"taxRate": 0.4,
"tolerancePercent": 0.35
},
"properties": {
"dailyInterestRate": {
"type": "number"
},
"invoicePostponementLimit": {
"format": "int32",
"type": "integer"
},
"taxRate": {
"type": "number"
},
"tolerancePercent": {
"type": "number"
}
},
"required": [
"dailyInterestRate",
"invoicePostponementLimit",
"taxRate",
"tolerancePercent"
],
"title": "Savestoreconfig",
"type": "object"
},
"Searchaccounts": {
"example": {
"data": [
{
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
}
],
"summary": {
"count": 39
}
},
"properties": {
"data": {
"description": "",
"items": {
"example": {
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
},
"properties": {
"account": {
"type": "string"
},
"balance": {
"type": "number"
},
"creditLimit": {
"type": "number"
},
"description": {
"type": "string"
},
"document": {
"type": "string"
},
"documentType": {
"type": "string"
},
"email": {
"type": "string"
},
"lastUpdate": {
"type": "string"
}
},
"required": [
"account",
"balance",
"document",
"documentType",
"creditLimit",
"lastUpdate",
"description",
"email"
],
"title": "Datum2",
"type": "object"
},
"type": "array"
},
"summary": {
"example": {
"count": 39
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
}
},
"required": [
"count"
],
"title": "Summary2",
"type": "object"
}
},
"required": [
"data",
"summary"
],
"title": "Searchaccounts",
"type": "object"
},
"Searchcheckingaccounts": {
"example": {
"data": [
{
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
}
],
"summary": {
"count": 39
}
},
"properties": {
"data": {
"description": "",
"items": {
"example": {
"account": "ambienteqa",
"balance": 220,
"creditLimit": 240,
"description": "",
"document": "12345677811",
"documentType": "CPF",
"email": "test@test.com",
"lastUpdate": "2017-07-06T01:57:39.4317119Z"
},
"properties": {
"account": {
"type": "string"
},
"balance": {
"type": "number"
},
"creditLimit": {
"type": "number"
},
"description": {
"type": "string"
},
"document": {
"type": "string"
},
"documentType": {
"type": "string"
},
"email": {
"type": "string"
},
"lastUpdate": {
"type": "string"
}
},
"required": [
"account",
"balance",
"document",
"documentType",
"creditLimit",
"lastUpdate",
"description",
"email"
],
"title": "Datum2",
"type": "object"
},
"type": "array"
},
"summary": {
"example": {
"count": 39
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
}
},
"required": [
"count"
],
"title": "Summary2",
"type": "object"
}
},
"required": [
"data",
"summary"
],
"title": "Searchcheckingaccounts",
"type": "object"
},
"Statements": {
"example": {
"currentBalance": 0,
"intervalBalance": 0,
"previousBalance": 0,
"statements": [
{
"date": "2017-07-03T16:47:19.4578611Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:47:19.6678789Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:47:20.118935Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:47:20.4899776Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:52:00.9443838Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:52:01.2514187Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:52:01.671466Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:52:01.9424961Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:54:40.0782046Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:54:40.3252276Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:54:40.6552638Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:54:40.8932962Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:55:57.197841Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:55:57.5278732Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:55:57.9019147Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:55:58.1179392Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:11.8426054Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:13.8889672Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:16.5197295Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:18.3509528Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:18.7869726Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:19.0240035Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T16:57:19.3770378Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T16:57:19.7050818Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:07:15.8348399Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:07:16.1788809Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:07:16.5469147Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:07:16.7959479Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:33.0252059Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:09:33.5372179Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:34.1453238Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:09:34.468359Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:53.1504362Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:09:55.3629113Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T17:09:58.6401036Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T17:10:00.782546Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:49:22.3349339Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:49:22.6879717Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:49:23.0600071Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:49:23.3570469Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:57:01.460345Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:57:02.2444344Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T18:57:02.6094762Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T18:57:03.0085156Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T19:01:09.3831094Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T19:01:09.7391531Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T19:01:10.3811954Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T19:01:13.7475991Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T20:48:39.1243969Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T20:48:39.6534554Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T20:48:39.976498Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T20:48:40.2195183Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:43:36.8709735Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:43:39.3015912Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:43:42.4497005Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:43:45.0294261Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:52:42.0202602Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:52:44.2187306Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T21:52:47.6370182Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T21:52:49.6223473Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:00:43.7004457Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:00:45.8558835Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:00:48.8719015Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:00:50.9332797Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:06:14.2397182Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:06:14.8247757Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:06:15.3018042Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:06:15.5878612Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:13:11.2934159Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:13:11.6004563Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:13:13.677688Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:13:13.9407125Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:24:18.0640865Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:24:18.3391219Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-03T22:24:18.7501665Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-03T22:24:19.0612052Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:35:32.4265204Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:35:32.670556Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:35:33.0035923Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:35:33.2296111Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:43:18.0936755Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:43:18.5677311Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:43:19.0377821Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:43:19.3078114Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:46:24.2995291Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:46:24.5415575Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T13:46:25.1666258Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T13:46:25.3926527Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T15:10:11.6542275Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T15:10:25.101228Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T15:10:46.4925416Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T15:10:53.5622728Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T16:47:02.1152214Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T16:47:02.4332644Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T16:47:02.9263133Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T16:47:03.2213519Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:15:05.4888997Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:15:06.0669661Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:15:06.6290272Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:15:07.0140703Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:29:04.8128943Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:29:05.1829369Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-04T18:29:05.7749947Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-04T18:29:06.0640335Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:15:29.5981555Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:15:29.8481897Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:15:30.2942391Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:15:30.5592684Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:44:37.2988823Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:44:37.851942Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T17:44:38.3920041Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T17:44:38.7030381Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:09:37.3571808Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:09:37.72222Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:09:38.0552519Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:09:38.2922837Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:20:18.4320323Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:20:21.3519865Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:20:24.16387Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:20:25.8389893Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:22:52.2991989Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:22:52.5682339Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:22:53.0962861Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:22:53.6013417Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:24:44.309999Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:24:46.5064706Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T20:24:49.6956032Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T20:24:51.4547805Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T21:14:17.4331001Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T21:14:30.1921448Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T22:20:16.0386883Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T22:20:25.5770708Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-05T23:59:03.2527657Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T23:59:08.3266609Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-05T23:59:16.9109105Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-05T23:59:22.5296797Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T01:57:44.2482508Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T01:57:44.5012788Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T01:57:45.2343532Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T01:57:45.5723968Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:22:00.5618842Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:05.5812446Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:22:13.7547136Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:16.3029568Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:17.7061162Z",
"description": "Credits emptied",
"value": -20000
},
{
"date": "2017-07-06T14:22:20.5444338Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:22:21.0144862Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:32:59.6762693Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:07.7819136Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:08.2790261Z",
"description": "Credits emptied",
"value": -20000
},
{
"date": "2017-07-06T14:33:08.3789839Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-06T14:33:09.0970636Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:09.5591087Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:33:20.0709176Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:33:27.9481914Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:39:44.5993553Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:39:44.8493768Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T14:39:45.4174464Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T14:39:45.8154911Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:02:28.6075704Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:02:28.9126055Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:02:29.361656Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:02:29.6296853Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:14:48.6134384Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:14:48.937473Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:14:51.6977841Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:14:52.0238222Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:58:40.45117Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:58:40.7472093Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T18:58:41.1442492Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T18:58:41.7183119Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:10:20.391709Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:10:20.6657389Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:10:21.3558225Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:10:21.6258492Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:11:48.5505811Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:11:49.0886414Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-06T20:11:49.797721Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-06T20:11:50.1477661Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T02:33:28.0860427Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T02:33:28.4040771Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T02:33:28.9461381Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T02:33:29.3731885Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T03:19:29.0522439Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T03:19:29.3802781Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-07T03:19:29.8033262Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-07T03:19:30.1083606Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:38:32.0646398Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:38:38.5399737Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:38:52.0400096Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:38:59.0326902Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:46:39.5442819Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:46:39.8743121Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:46:40.8354262Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:46:41.1404609Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:53:23.68054Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:53:23.9735672Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T16:53:24.4196165Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T16:53:24.7606614Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T17:02:28.3755391Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T17:02:28.7075311Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-09T17:02:30.9268213Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-09T17:02:31.4268761Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:31:13.8141713Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:31:14.1722149Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:31:14.7582781Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:31:15.008306Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:36:12.620413Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:36:15.3802583Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:36:20.0483828Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:36:22.3108969Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:39:13.5468917Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:39:14.0169506Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:39:14.4700013Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:39:14.7320264Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:48:49.3203773Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:48:49.6554153Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T15:48:50.2114767Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T15:48:50.5725163Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:01:48.7536577Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:01:49.0086875Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:01:49.3867329Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:01:49.720771Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:21:56.4849081Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:21:56.7768944Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T16:21:57.420015Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T16:21:57.7600564Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:44:22.3239425Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:44:22.6069739Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:44:23.0380212Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:44:23.7830985Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:46:15.7306413Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:46:16.0676798Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T18:46:16.7557547Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-10T18:46:17.0717915Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-10T20:46:09.0601995Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T20:46:09.7432736Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T20:59:50.5891534Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T20:59:51.1332589Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T21:50:23.5218551Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-10T21:50:24.1779278Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T14:33:29.5236904Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T14:33:30.0347475Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:09:06.1221118Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:09:06.6011653Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:11:55.696109Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T16:11:56.2121659Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T16:11:56.8692618Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T16:11:57.1562724Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T16:19:51.1613469Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T16:19:51.5924019Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:08:27.2440987Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:31:27.2874184Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:38:25.7778188Z",
"description": "Credited",
"value": 1
},
{
"date": "2017-07-11T17:38:47.9508788Z",
"description": "Decrease credits",
"value": -1
},
{
"date": "2017-07-11T17:40:23.1954791Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T17:42:40.0572365Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T17:44:01.6719325Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:45:45.1352607Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:46:26.9859192Z",
"description": "Credits emptied",
"value": 0
},
{
"date": "2017-07-11T17:52:50.7294541Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T17:52:55.3262378Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:01:50.9566941Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:01:51.27073Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:01:51.8287917Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:01:52.13982Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:23:21.8592583Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:23:22.202299Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T18:23:22.6883482Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T18:23:23.0293898Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:39:37.8348611Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:39:38.2699106Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:39:38.7839661Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:39:39.1620082Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:53:39.9211228Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:53:40.8032621Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T20:53:41.3593193Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T20:53:41.7023675Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T21:49:07.6918338Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T21:49:08.0898827Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T21:49:09.7340616Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T21:49:10.298129Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T22:13:29.121493Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T22:13:29.7035615Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-11T22:13:31.0747185Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-11T22:13:31.3367462Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-12T15:19:01.7803787Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-12T15:19:02.2223874Z",
"description": "Credits emptied",
"value": -10000
},
{
"date": "2017-07-12T15:19:02.7854971Z",
"description": "Credited",
"value": 10000
},
{
"date": "2017-07-12T15:19:03.3115534Z",
"description": "Credits emptied",
"value": -10000
}
]
},
"properties": {
"currentBalance": {
"type": "number"
},
"intervalBalance": {
"type": "number"
},
"previousBalance": {
"type": "number"
},
"statements": {
"description": "",
"items": {
"example": {
"date": "2017-07-03T16:47:19.4578611Z",
"description": "Credited",
"value": 10000
},
"properties": {
"date": {
"type": "string"
},
"description": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"value",
"date",
"description"
],
"title": "Statements1",
"type": "object"
},
"type": "array"
}
},
"required": [
"statements",
"currentBalance",
"intervalBalance",
"previousBalance"
],
"title": "Statements",
"type": "object"
},
"Statements1": {
"example": {
"date": "2017-07-03T16:47:19.4578611Z",
"description": "Credited",
"value": 10000
},
"properties": {
"date": {
"type": "string"
},
"description": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"value",
"date",
"description"
],
"title": "Statements1",
"type": "object"
},
"Storeconfig": {
"example": {
"dailyInterestRate": 0,
"invoicePostponementLimit": 0,
"taxRate": 0,
"tolerancePercent": 0.7
},
"properties": {
"dailyInterestRate": {
"type": "number"
},
"invoicePostponementLimit": {
"format": "int32",
"type": "integer"
},
"taxRate": {
"type": "number"
},
"tolerancePercent": {
"type": "number"
}
},
"required": [
"dailyInterestRate",
"invoicePostponementLimit",
"taxRate",
"tolerancePercent"
],
"title": "Storeconfig",
"type": "object"
},
"Summary": {
"example": {
"count": 5,
"total": 500
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
},
"total": {
"type": "number"
}
},
"required": [
"total",
"count"
],
"title": "Summary",
"type": "object"
},
"Summary2": {
"example": {
"count": 39
},
"properties": {
"count": {
"format": "int32",
"type": "integer"
}
},
"required": [
"count"
],
"title": "Summary2",
"type": "object"
},
"Thisoperation": {
"example": {
"id": "d7d135000a8347ec8b0a0f9edceccefd",
"value": 100
},
"properties": {
"id": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"value",
"id"
],
"title": "ThisoperationcausesthecreationofNinvoices,whereNisthenumberofinstallments.Thefirstinvoicewillhaveaduedatewith30daysandthenextinvoiceswillhaveaduedate30daysawayfrompreviousinvoice.",
"type": "object"
},
"UpdateemailanddescriptionofaaccountRequest": {
"example": {
"description": "string",
"email": "email"
},
"properties": {
"description": {
"type": "string"
},
"email": {
"type": "string"
}
},
"required": [
"description",
"email"
],
"title": "UpdateemailanddescriptionofaaccountRequest",
"type": "object"
}
},
"securitySchemes": {
"appKey": {
"in": "header",
"name": "X-VTEX-API-AppKey",
"type": "apiKey"
},
"appToken": {
"in": "header",
"name": "X-VTEX-API-AppToken",
"type": "apiKey"
}
}
}
}