API Reference
Account
Responses
The /account/read
API provides a response in the following format:
200 Success
AccountResponse Model - Account information for an organization. | |
---|---|
organizationId | string The organization Id. |
creditBalance | number The current account balance. |
card | Card object Credit card information. |
Example |
{ "organizationId": "string", "creditBalance": 0, "card": { "brand": "string", "expiration": "2021-11-26T15:18:27.693Z", "last4": "string" } } |
Card Model - Credit card information. | |
---|---|
brand | string Credit card brand. |
expiration | string($date-time) The credit card expiration. |
last4 | string The last 4 digits of the card. |
Example |
{ "brand": "string", "expiration": "2021-11-26T15:18:27.693Z", "last4": "string" } |
401 Authentication Error
UnauthorizedError Model - Unauthorized response from the API. Key is missing, invalid, or timestamp is too old for hash. | |
---|---|
www_authenticate | string Header |