Skip to main content

Upcoming invoice

Allows the users to get the upcoming invoice amounts, which belong to the organization the user is in.

Obtain the upcoming invoice

Provide the API with your access token to obtain the upcoming invoice of your organization

curl -X 'GET' \
'https://api.gigapipe.com/v1/users/upcoming-invoice' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <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