Supported Formats

json

GET /api/accounts/:account_id/invoices
Lists all account invoices

Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden
404 Account Not found

Params

Param name Description
account_id
required

Account Id

Validations:

  • Must be a String

page
optional

Pagination Parameter

Validations:

  • Must be a Integer

per_page
optional

Describes how many invoices to show on the list. Default is 50

Validations:

  • Must be a Integer


GET /api/accounts/:account_id/invoices/:id.pdf
Download account invoice

Supported Formats

pdf, json

Errors

Code Description
401 Unauthorized
403 Forbidden
404 Account Id Not Found
404 Invoice Id Not Found

Params

Param name Description
account_id
required

Account Id

Validations:

  • Must be a String

id
required

Invoice Id to download

Validations:

  • Must be a String


POST /api/accounts/:account_id/invoices
Creates invoice

Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden
404 Account Id Not Found

Params

Param name Description
account_id
required

Account Id

Validations:

  • Must be a String