Decrease balance of an account in VTEX Customer Credit
A documented VTEX Customer Credit operation that changes something in your account. Describe the outcome you want in plain words — HumDay writes the program, proves it, and runs it.
What this operation does
Decrease balance of an account
- PUTChanges data · Account
vtex.local/api/creditcontrol/accounts/{creditAccountId}/statements/{statementId}
How HumDay uses it
- You describe the outcome. Not this operation by name — what you want to happen. HumDay works out which operations it needs.
- The contract names it. Before anything is built, you see exactly which VTEX Customer Credit operations the program may use, and this is one of them.
- You approve access. Because this one changes data, it cannot run until you have explicitly granted it.
Other VTEX Customer Credit operations
- Create or change store configurationPUT · changes data
- Mark an invoice as PaidPOST · changes data
- Update email and description of a accountPUT · changes data
- Open an AccountPOST · changes data
- Cancel InvoiceDELETE · changes data
- Change InvoicePUT · changes data
- Add an account HolderPOST · changes data
- Create a Pre AuthorizationPOST · changes data
Questions
- Can HumDay decrease balance of an account in VTEX Customer Credit?
- Yes. This operation is published in VTEX Customer Credit's own API description, so HumDay can use it without a hand-built connector — once you have approved it for your automation.
- Will this change my VTEX Customer Credit data?
- Yes — this is a PUT operation, so it changes something in VTEX Customer Credit. HumDay holds anything that writes behind an approval you grant explicitly, and the contract you approve says what it may touch.
- Do I need to write code?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a proof run before anything touches your VTEX Customer Credit account.
Where this came from
Read from a published API description for VTEX Customer Credit at raw.githubusercontent.com/vtex/openapi-schemas/master/VTEX - Customer Credit API.json. The description above is the provider’s own wording, not ours. Last published 2023-03-03.