Skip to main content

Upcoming invoice

Allows the users to get the upcoming invoice amounts through the organization object.

Obtain the upcoming invoice

curl -X 'GET' \
'https://api.gigapipe.com/v1/organizations/upcoming-invoice' \
-H 'accept: application/json' \
-H 'Authorization: <your_access_token>'
# Payload response ::Dictionary
{
"amount_due": 0,
"amount_spent": 0,
"credits_left": -60000,
"credits_live": -60000
}

The Upcoming Invoice Object

Attributes


amount_due  ::Float

What your organization owes for the current month so far


amount_spent  ::Float

What your organization has spent the current month so far


credits_left  ::Float

The remaining credits your company still has


credits_live  ::Float

The number of credits your company has used so far