You are on page 1of 2

{

"id": "WH-4D3576808P209763F-83292759883090543",
"create_time": "2022-09-07T11:42:48.514Z",
"resource_type": "subscription",
"event_type": "BILLING.SUBSCRIPTION.CANCELLED",
"summary": "Subscription cancelled",
"resource": {
"quantity": "1",
"subscriber": {
"email_address": "sb-dtsma19610204@personal.example.com",
"payer_id": "F7RUDTW4JUDBL",
"name": {
"given_name": "John",
"surname": "Doe"
},
"shipping_address": {
"address": {
"address_line_1": "calle Vilamari 76993- 17469",
"admin_area_2": "Albacete",
"admin_area_1": "Albacete",
"postal_code": "02001",
"country_code": "ES"
}
}
},
"create_time": "2022-09-07T08:48:06Z",
"custom_id": "userId=f9c525bd-513f-44bb-8d0d-
85a3dc0d2faa;roleId=c650065b-4df9-41e0-b94b-d72fe7ff8cae",
"plan_overridden": false,
"shipping_amount": {
"currency_code": "EUR",
"value": "0.0"
},
"start_time": "2022-09-07T08:47:02Z",
"update_time": "2022-09-07T11:42:21Z",
"billing_info": {
"outstanding_balance": {
"currency_code": "EUR",
"value": "0.0"
},
"cycle_executions": [
{
"tenure_type": "REGULAR",
"sequence": 1,
"cycles_completed": 1,
"cycles_remaining": 0,
"current_pricing_scheme_version": 1,
"total_cycles": 0
}
],
"last_payment": {
"amount": {
"currency_code": "EUR",
"value": "14.99"
},
"time": "2022-09-07T08:48:06Z"
},
"failed_payments_count": 0
},
"links": [
{
"href":
"https://api.sandbox.paypal.com/v1/billing/subscriptions/I-5XFPDA8DHTKF",
"rel": "self",
"method": "GET",
"encType": "application/json"
}
],
"id": "I-5XFPDA8DHTKF",
"plan_id": "P-6GJ93841C8134415AMMMFQ3Q",
"status": "CANCELLED",
"status_update_time": "2022-09-07T11:42:21Z"
},
"status": "PENDING",
"transmissions": [
{
"webhook_url": "https://oralsurgery-portal-servicehttp2bus-
dev.azurewebsites.net/paypal/v1/webhook/event",
"transmission_id": "34c3f2f0-2ea2-11ed-b975-1910493d9d6c",
"status": "PENDING"
},
{
"webhook_url": "https://webhook.site/113ad5a4-6d37-4d14-a61b-
af76f53855a1",
"transmission_id": "34c57990-2ea2-11ed-b975-1910493d9d6c",
"status": "PENDING"
}
],
"links": [
{
"href":
"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-
4D3576808P209763F-83292759883090543",
"rel": "self",
"method": "GET",
"encType": "application/json"
},
{
"href":
"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-
4D3576808P209763F-83292759883090543/resend",
"rel": "resend",
"method": "POST",
"encType": "application/json"
}
],
"event_version": "1.0",
"resource_version": "2.0"
}

You might also like