{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"subscriptionPlanId": "4b92ad1d-59e2-484e-b3e4-a8317760e6e7",
"status": "active",
"reference": "string",
"customerData": [
{
"type": "name",
"value": "string"
}
],
"link": "http://example.com",
"latestInvoice": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
"status": "paid",
"invoiceDate": "string",
"total": {
"units": 0,
"currencyCode": "GBP"
},
"taxes": [
{
"name": "string",
"inclusive": true,
"amount": {
"units": 0,
"currencyCode": "GBP"
}
}
],
"payment": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "card",
"cardDetails": {
"country": "string",
"lastFour": "string",
"type": "string"
},
"tip": {
"units": 0,
"currencyCode": "GBP"
},
"taxes": [
{
"name": "string",
"inclusive": true,
"rate": "string",
"amount": {
"units": 0,
"currencyCode": "GBP"
}
}
],
"subtotal": {
"units": 0,
"currencyCode": "GBP"
},
"total": {
"units": 0,
"currencyCode": "GBP"
},
"status": "success",
"createdAt": "string",
"updatedAt": "string"
},
"latestPaymentAttempt": "string",
"createdAt": "string",
"updatedAt": "string"
},
"cancelledAt": "string",
"createdAt": "string",
"updatedAt": "string"
}