1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
{
"id": "evt_1CWxfoFa1jDYIR5sI7",
"object": "event",
"api_version": "2018-01-23",
"created": 1527561296,
"data": {
"object": {
"id": "in_1CWxfoFa1jDYlf8FCEJExQir",
"object": "invoice",
"amount_due": 255,
"amount_paid": 255,
"amount_remaining": 0,
"application_fee": null,
"attempt_count": 0,
"attempted": true,
"billing": "charge_automatically",
"billing_reason": "subscription_update",
"charge": "ch_1CWxfoFa1jDYlf8",
"closed": true,
"currency": "eur",
"customer": "cus_CwrOrgzt",
"date": 1527561298,
"description": null,
"discount": null,
"due_date": null,
"ending_balance": 0,
"forgiven": false,
"lines": {
"object": "list",
"data": [{
"id": "bonjourajax",
"object": "line_item",
"amount": 199,
"currency": "eur",
"description": "bonjourajax",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"end": 1528166096,
"start": 1527561296
},
"plan": {
"id": "plan_Cwq7FlNCg67vlH",
"object": "plan",
"aggregate_usage": null,
"amount": 199,
"billing_scheme": "per_unit",
"created": 1527556563,
"currency": "eur",
"interval": "week",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "bonjourajax",
"nickname": "bonjourajax",
"product": "prod_Cwq61rkVXdzs6g",
"statement_descriptor": null,
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"proration": false,
"quantity": 1,
"subscription": null,
"subscription_item": "si_CwrOpVbqyr5q6b",
"type": "subscription"
}],
"has_more": false,
"total_count": 1,
"url": "\/v1\/invoices\/in_1CWxfoFa1jDYlf8FCEJExQir\/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"number": "89CCF50-0001",
"paid": true,
"period_end": 1527561296,
"period_start": 1527561296,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": "sub_CwrOB8kr4KLVf8",
"subtotal": 199,
"tax": null,
"tax_percent": null,
"total": 199,
"webhooks_delivered_at": null
}
},
"livemode": false,
"pending_webhooks": 1,
"request": {
"id": "req_l9nGAtGgSjwX5B",
"idempotency_key": null
},
"type": "invoice.payment_succeeded"
} |
Partager