GET
/
invoices
/
{id}
curl --request GET \
  --url https://commerce.driv.ly/api/invoices/{id}
{
  "data": {
    "id": "inv_39dk39dks933",
    "deal": "deal_5ksj49dkvdl2",
    "customer": "cus_k3j5s9qj3w0d"
  },
  "success": true
}

Path Parameters

id
string
required

Invoice is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Response

200
application/json

Invoice Found

The response is of type object.