invoice.payment_action_required
The invoice.payment_action_required
event gets triggered when an invoice payment attempt requires further end-user action to complete. In this case, the invoice will remain in open
status until paid.
{
"type": "invoice.payment_action_required",
"id": "evt_rhquiJ9QiImp6stzvFksBA1n",
"created": 1663940968,
"data": {
"object": {
"object": "invoice",
"id": null,
"address_billing": null,
"address_shipping": null,
"amount_due": 1000,
"amount_paid": 0,
"amount_remaining": 1000,
"auto_advance": true,
"billing": "charge_automatically",
"billing_address": null,
"billing_reason": "manual",
"created": "2022-09-23T13:49:23.000000Z",
"currency": "cad",
"customer": {
"object": "customer",
"id": 49,
"balance": 0,
"created": "2022-09-23T13:34:46.000000Z",
"currency": null,
"default_source": null,
"delinquent": false,
"display_name": null,
"email": "[email protected]",
"email_confirm": null,
"first_name": null,
"has_password": 1,
"language": "en",
"last_login_method": 'email',
"last_name": null,
"metadata": null,
"object_id": "cus_LfuIniIMswP65V",
"password_last_updated_at": null,
"phone": null,
"phone_confirm": null,
"salutation": null,
"title": null,
"username": null
},
"customer_address": null,
"customer_shipping": null,
"default_tax_rates": null,
"ending_balance": null,
"hosted_invoice_url": null,
"invoice_pdf": null,
"lines": null,
"number": null,
"object_id": "in_1LlCFrF6T5bzNO3zuuxY18ZZ",
"paid_at": null,
"payment_link": "https://www.pelcro.com/invoice/payment/eyJpdiI6ImhJeENWbHd5ZGZQdW9IQk1HOTlRSkE9PSIsInZhbHVlIjoiNVVraWZiam1tYks1R2RlY1UyUjB0UT09IiwibWFjIjoiNzUxNDkwMjBkMjA0NGQyNDlmYThiNDA5NzRjMzEzNDQxNmMzNzE3NmI2MzVmMDQ4ZmI0MWI5NjJhYzk0OTYxOCIsInRhZyI6IiJ9",
"period_end": "2022-09-23T13:49:22.000000Z",
"period_start": "2022-09-23T13:49:22.000000Z",
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"source": null,
"plan": {
"id": 1,
"nickname": "test",
"interval": "day"
},
"product": {
"id": 1,
"name": "test",
"name_internal": null
},
"subscription_id": 10,
"starting_balance": 0,
"status": "open",
"subtotal": 1000,
"tax": null,
"tax_percent": null,
"total": 1000,
"total_tax_amounts": null
}
}
}
Updated about 2 months ago