PaymentRequiredError
error object
messagestring
Example:
The last payment failed. Update your payment method to avoid interruption.typestring
Example:
payment_requiredreasonstring
Por que o acesso foi bloqueado.
Possible values: [trial_ended, past_due, unpaid, canceled, incomplete, paused, license_expired, message_limit, capacity_exceeded, no_subscription]
billable_numbersinteger
Números cobráveis da conta no momento da recusa.
action object
A saída do bloqueio: o que fazer e a página do painel onde se faz. Todo 402 traz este campo.
kindstring
Possible values: [subscribe, update_payment_method, pay_invoices, finish_checkout, resume_subscription, renew_license, upgrade_plan, manage_numbers]
urlstring<uri>
Example:
https://app.joinotify.com/billingPaymentRequiredError
{
"error": {
"message": "The last payment failed. Update your payment method to avoid interruption.",
"type": "payment_required",
"reason": "trial_ended",
"billable_numbers": 0,
"action": {
"kind": "subscribe",
"url": "https://app.joinotify.com/billing"
}
}
}