Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": "WH-0PT77256DE660593H-49695103W6353245D",
- "event_version": "1.0",
- "create_time": "2018-08-16T08:41:38.736Z",
- "resource_type": "Agreement",
- "event_type": "BILLING.SUBSCRIPTION.CREATED",
- "summary": "A billing subscription was created",
- "resource": {
- "agreement_details": {
- "outstanding_balance": {
- "value": "0.00"
- },
- "num_cycles_remaining": "0",
- "num_cycles_completed": "0",
- "next_billing_date": "2018-08-17T10:00:00Z",
- "final_payment_due_date": "1970-01-01T00:00:00Z",
- "failed_payment_count": "0"
- },
- "description": "Description Super Plan",
- "links": [
- {
- "href": "api.sandbox.paypal.com/v1/payments/billing-agreements/I-8XDDEX45F1LH",
- "rel": "self",
- "method": "GET"
- }
- ],
- "shipping_address": {
- "recipient_name": "super buyer",
- "line1": "1 Main St",
- "city": "San Jose",
- "state": "CA",
- "postal_code": "95131",
- "country_code": "US"
- },
- "id": "I-8XDDEX45F1LH",
- "state": "Active",
- "payer": {
- "payment_method": "paypal",
- "status": "verified",
- "payer_info": {
- "email": "rogba-superbuyer@inbox.ru",
- "first_name": "super",
- "last_name": "buyer",
- "payer_id": "8KBDDX9CRTDKN",
- "shipping_address": {
- "recipient_name": "super buyer",
- "line1": "1 Main St",
- "city": "San Jose",
- "state": "CA",
- "postal_code": "95131",
- "country_code": "US"
- }
- }
- },
- "plan": {
- "curr_code": "USD",
- "links": [],
- "payment_definitions": [
- {
- "type": "REGULAR",
- "frequency": "Week",
- "frequency_interval": "1",
- "amount": {
- "value": "20.00"
- },
- "cycles": "0",
- "charge_models": [
- {
- "type": "TAX",
- "amount": {
- "value": "0.00"
- }
- },
- {
- "type": "SHIPPING",
- "amount": {
- "value": "0.00"
- }
- }
- ]
- }
- ],
- "merchant_preferences": {
- "setup_fee": {
- "value": "0.00"
- },
- "auto_bill_amount": "YES",
- "max_fail_attempts": "3"
- }
- },
- "start_date": "2018-08-17T07:00:00Z"
- },
- "links": [
- {
- "href": "https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-0PT77256DE660593H-49695103W6353245D",
- "rel": "self",
- "method": "GET"
- },
- {
- "href": "https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-0PT77256DE660593H-49695103W6353245D/resend",
- "rel": "resend",
- "method": "POST"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement