Skip to main content
POST
Get a contract (v1)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Contract and customer IDs

customer_id
string<uuid>
required
contract_id
string<uuid>
required
include_ledgers
boolean

Include commit ledgers in the response. Setting this flag may cause the query to be slower.

include_balance
boolean

Include the balance of credits and commits in the response. Setting this flag may cause the query to be slower.

Response

Success

data
object
required