Skip to main content

payment_required

Status
402 Payment required
Code
payment_required
Retry?
After adding a card

A card is needed, or the payment failed. This would add a charge, and your account has no card on file, or the card was declined.

Common causes​

  • Putting a SIM with no plan on one (it starts billing).
  • Creating a pool.
  • Ordering SIMs.
  • Buying a top-up.

What to do​

An admin adds or updates the card in the portal, under Settings > Billing. GET /billing/payment-method tells you whether there's one. Cards can't be added through the API.

Example​

{
"type": "https://developer.zentarinetworks.com/axis/errors/payment_required",
"title": "Payment required",
"status": 402,
"detail": "Add a payment card in Billing first: provisioning a SIM starts billing for it.",
"code": "payment_required",
"traceId": "0HN7Q2KJ1V3F4:00000002"
}

All error codes