Skip to navigation

Fetch Upcoming Renewal

Returns what your company’s next billing cycle renews into and when it will be charged. Not paginated, no parameters. Only for companies on SalaryBox’s current pricing.

  • data is null when the company has no recurring payment set up.
  • This shows what auto-renew will charge next. upcoming_renewal in Fetch Company Subscription shows a cycle that is already paid for.
  • Returns 503 "Service temporarily unavailable. Please try again later." when this can’t be fetched right now.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Response

The next renewal, or null data when no recurring payment is set up.

messagestring
statusboolean
dataobject or null

null when the company has no recurring payment set up.

Errors

403
Forbidden Error
503
Service Unavailable Error