Invoices
Get an invoice by its Id
GET
/
api
/
invoice
/
get
/
{invoice_id}
Authorization
Path
curl --request GET \
--url https://api.senddotssandbox.com/api/api/invoice/get/{invoice_id} \
--header 'Authorization: <authorization>'
{
"success": true,
"invoice": {
"id": 0,
"api_app": {
"id": 0,
"user_id": 0,
"name": "string"
},
"amount": 0,
"expiry": "2019-08-24T14:15:22Z",
"status": "string",
"items": [
{
"name": "string",
"unit_amount": 0,
"quantity": 0,
"description": "string"
}
],
"breakdown": {
"items_total": 0,
"tax": 0,
"shipping": 0
},
"requested_information": ["shipping_address"],
"metadata": {},
"payer": {}
}
}
Authorizations
Authorizationheaderrequired
string
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
invoice_idrequired
string
Id of invoice to return
Response
200 - application/json
invoice
object
success
boolean
curl --request GET \
--url https://api.senddotssandbox.com/api/api/invoice/get/{invoice_id} \
--header 'Authorization: <authorization>'
{
"success": true,
"invoice": {
"id": 0,
"api_app": {
"id": 0,
"user_id": 0,
"name": "string"
},
"amount": 0,
"expiry": "2019-08-24T14:15:22Z",
"status": "string",
"items": [
{
"name": "string",
"unit_amount": 0,
"quantity": 0,
"description": "string"
}
],
"breakdown": {
"items_total": 0,
"tax": 0,
"shipping": 0
},
"requested_information": ["shipping_address"],
"metadata": {},
"payer": {}
}
}