Direct Debit subscription create response

{ "object": "Subscription", "id": "vin-ARC-ABID-2018April118 T22", "vid": "f5a920914606ba7e536d1302fc1ada2f0168c898", "created": "2018-04-18T17:01:57-07:00", "account": { "object": "Account", "id": "Test DirectDebit April 18 T2", "vid": "f0abf862bcea04cfc9a5f3a3b84f0fed87eba353", "created": "2018-04-18T16:02:32-07:00", "default_currency": "USD", "email": "hkoppuravuri@vindicia.com", "email_type": "html", "language": "EN", "notify_before_billing": false, "name": "Yar", "shipping_address": { "object": "Address", "vid": "cdf98eece7ee35c03615de0318b3bd5088cb4fe8", "name": "Yar", "line1": "11235 Fibonacci St.", "city": "San Mateo", "district": "CA", "postal_code": "94403", "country": "US", "phone": "(650) 555-1212x42" }, "payment_methods": { "object": "List", "data": [ { "object": "PaymentMethod", "id": "PMApril18T22", "vid": "d02d83625e6a18d17fc1ec864e93ff48ca78f2ee", "created": "2018-04-18T17:01:58-07:00", "type": "DirectDebit", "direct_debit": { "object": "DirectDebit", "account": "", "last_digits": null, "account_length": null, "country_code": "UK", "bank_sort_code": "561971053", "rib_code": null }, "account_holder": "Road Runner", "billing_address": { "object": "Address", "vid": "bced78ac5c8c5f390a7bba123884a469ebc56b9c", "country": "UK" }, "primary": true, "active": true }, { "object": "PaymentMethod", "id": "PMApril18T2", "vid": "d5354a0f50228013127e01f29644cce3d0f6d0ee", "created": "2018-04-18T17:00:44-07:00", "type": "DirectDebit", "direct_debit": { "object": "DirectDebit", "account": "", "last_digits": null, "account_length": null, "country_code": "DE", "bank_sort_code": "561971053", "rib_code": null }, "account_holder": "Road Runner", "billing_address": { "object": "Address", "vid": "91b0df1558a5a45edfef5470b31645a7a40e11c3", "line1": "2226 Mary Ave", "city": "Santa Clara", "postal_code": "95050", "country": "DE", "phone": "408408408" }, "primary": false, "active": true } ], "total_count": 2 } }, "billing_plan": { "object": "BillingPlan", "id": "KHP Daily billing plan", "vid": "120c7035599094a863b0d55b45000dc6c89abc09", "created": "2017-10-26T15:43:37-07:00", "description": "KHP Daily billing plan", "status": "Active", "periods": { "object": "List", "data": [ { "object": "BillingPlanPeriod", "type": "Day", "quantity": 1, "cycles": 0, "prices": { "object": "List", "data": [ { "object": "BillingPlanPrice", "amount": 0, "currency": "USD" } ], "total_count": 1 }, "do_not_notify_first_bill": false } ], "total_count": 1 }, "billing_notification_days": 3, "entitlements": { "object": "List", "data": [ { "object": "Entitlement", "id": "access_gold", "description": "Access To gold Subsription" }, { "object": "Entitlement", "id": "basic_access", "description": "basic Access description" }, { "object": "Entitlement", "id": "MonthlyAccess", "description": "Customer gets access to regular monthly subscription" } ], "total_count": 3 }, "used_on_subscriptions": true }, "payment_method": { "object": "PaymentMethod", "id": "PMApril18T22", "vid": "d02d83625e6a18d17fc1ec864e93ff48ca78f2ee", "created": "2018-04-18T17:01:58-07:00", "type": "DirectDebit", "direct_debit": { "object": "DirectDebit", "account": "", "last_digits": null, "account_length": null, "country_code": "UK", "bank_sort_code": "561971053", "rib_code": null }, "account_holder": "Road Runner", "billing_address": { "object": "Address", "vid": "bced78ac5c8c5f390a7bba123884a469ebc56b9c", "country": "UK" }, "primary": true, "active": true }, "currency": "USD", "status": "Processing", "billing_state": "Unbilled", "starts": "2018-04-18T17:01:56-07:00", "ends": "2018-05-16T00:00:00-07:00", "entitled_through": "2018-05-16T00:00:00-07:00", "items": { "object": "List", "data": [ { "object": "SubscriptionItem", "id": "vin-ARC-ABItemIDApril18 T22", "vid": "7da55864281bf99862b8d142e595036f45784217", "index": 0, "product": { "object": "Product", "id": "khp_netflix_basic_sub", "vid": "4279c4acde0f6d3f31cc493e7b09d1d796f62f5f", "created": "2017-07-11T15:07:58-07:00", "descriptions": { "object": "List", "data": [ { "object": "ProductDescription", "language": "EN", "description": "Changed Description" } ], "total_count": 1 }, "status": "Active", "tax_classification": "Tax9999", "metadata": { "vind:Division": "movie" }, "entitlements": { "object": "List", "data": [ { "object": "Entitlement", "id": "basic_access", "description": "basic Access description" } ], "total_count": 1 }, "credit_granted": { "object": "Credit" }, "prices": { "object": "List", "data": [ { "object": "ProductPrice", "amount": 2, "currency": "USD" }, { "object": "ProductPrice", "amount": 700, "currency": "INR" } ], "total_count": 2 } }, "quantity": 1, "created": "2018-04-18T17:01:56-07:00", "starts": "2018-04-18T00:00:00-07:00" } ], "total_count": 1 }, "source_ip": "192.168.99.130", "billing_day": 19, "minimum_commitment": 0, "notify_on_transition": false, "most_recent_billing": { "object": "Transaction", "id": "KHPNFD00001640", "vid": "e4145f3849a85760351d5c87462a7a71af2a15d6", "created": "2018-04-18T17:01:57-07:00", "amount": 2.15, "currency": "USD", "account": { "object": "Account", "id": "Test DirectDebit April 18 T2", "vid": "f0abf862bcea04cfc9a5f3a3b84f0fed87eba353", "created": "2018-04-18T16:02:32-07:00", "default_currency": "USD", "email": "hkoppuravuri@vindicia.com", "email_type": "html", "language": "EN", "notify_before_billing": false, "name": "Yar", "shipping_address": { "object": "Address", "vid": "cdf98eece7ee35c03615de0318b3bd5088cb4fe8", "name": "Yar", "line1": "11235 Fibonacci St.", "city": "San Mateo", "district": "CA", "postal_code": "94403", "country": "US", "phone": "(650) 555-1212x42" }, "payment_methods": { "object": "List", "data": [ { "object": "PaymentMethod", "id": "PMApril18T22", "vid": "d02d83625e6a18d17fc1ec864e93ff48ca78f2ee", "created": "2018-04-18T17:01:58-07:00", "type": "DirectDebit", "direct_debit": { "object": "DirectDebit", "account": "", "last_digits": null, "account_length": null, "country_code": "UK", "bank_sort_code": "561971053", "rib_code": null }, "account_holder": "Road Runner", "billing_address": { "object": "Address", "vid": "bced78ac5c8c5f390a7bba123884a469ebc56b9c", "country": "UK" }, "primary": true, "active": true }, { "object": "PaymentMethod", "id": "PMApril18T2", "vid": "d5354a0f50228013127e01f29644cce3d0f6d0ee", "created": "2018-04-18T17:00:44-07:00", "type": "DirectDebit", "direct_debit": { "object": "DirectDebit", "account": "", "last_digits": null, "account_length": null, "country_code": "DE", "bank_sort_code": "561971053", "rib_code": null }, "account_holder": "Road Runner", "billing_address": { "object": "Address", "vid": "91b0df1558a5a45edfef5470b31645a7a40e11c3", "line1": "2226 Mary Ave", "city": "Santa Clara", "postal_code": "95050", "country": "DE", "phone": "408408408" }, "primary": false, "active": true } ], "total_count": 2 } }, "source_payment_method": { "object": "PaymentMethod", "id": "PMApril18T22", "vid": "d02d83625e6a18d17fc1ec864e93ff48ca78f2ee", "created": "2018-04-18T17:01:58-07:00", "type": "DirectDebit", "direct_debit": { "object": "DirectDebit", "account": "", "last_digits": null, "account_length": null, "country_code": "UK", "bank_sort_code": "561971053", "rib_code": null }, "account_holder": "Road Runner", "billing_address": { "object": "Address", "vid": "bced78ac5c8c5f390a7bba123884a469ebc56b9c", "country": "UK" }, "primary": true, "active": true }, "status_log": { "object": "List", "data": [ { "object": "TransactionStatus", "status": "New", "created": "2018-04-18T17:01:57-07:00", "payment_method_type": "DirectDebit", "direct_debit_status": { "object": "TransactionStatusDirectDebit" } } ], "total_count": 1 }, "payment_processor": "Test", "shipping_address": { "object": "Address", "vid": "cdf98eece7ee35c03615de0318b3bd5088cb4fe8", "name": "Yar", "line1": "11235 Fibonacci St.", "city": "San Mateo", "district": "CA", "postal_code": "94403", "country": "US", "phone": "(650) 555-1212x42" }, "metadata": { "vin:RetryNumber": "0", "vin:TaxError_1": "Item #0 Avalara TaxCode changed. We sent (Tax9999) verbatim and Avalara changed it to (P0000000). sku (KHP Daily billing plan)", "vin:recurring": "1", "vin:BillingCycle": "0", "vin:TaxError_2": "Item #1 Avalara TaxCode changed. We sent (Tax9999) verbatim and Avalara changed it to (P0000000). sku (khp_netflix_basic_sub)" }, "items": { "object": "List", "data": [ { "object": "TransactionItem", "sku": "KHP Daily billing plan", "index_number": 1, "item_type": "Purchase", "name": "KHP Daily billing plan", "quantity": 1, "tax_classification": "Tax9999", "service_period_starts": "2018-04-18T00:00:00-07:00", "service_period_ends": "2018-04-18T00:00:00-07:00", "tax_type": "Exclusive Sales", "total": 0 }, { "object": "TransactionItem", "sku": "khp_netflix_basic_sub", "index_number": 2, "item_type": "Purchase", "name": "Changed Description", "subscription_item": { "object": "SubscriptionItem", "id": "vin-ARC-ABItemIDApril18 T22", "vid": "7da55864281bf99862b8d142e595036f45784217" }, "price": 2, "quantity": 1, "tax_classification": "Tax9999", "service_period_starts": "2018-04-18T00:00:00-07:00", "service_period_ends": "2018-04-18T00:00:00-07:00", "tax_type": "Exclusive Sales", "tax": { "object": "List", "data": [ { "object": "TaxItem", "jurisdiction": "COUNTY_081", "name": "SAN MATEO COUNTY SALES TAX", "amount": 0.01, "external_tax_name": "CA COUNTY TAX", "external_jurisdiction_name": "SAN MATEO", "tax_rate": 0.0025 }, { "object": "TaxItem", "jurisdiction": "SPECIAL_EMTY0", "name": "SAN MATEO CO LOCAL TAX SL SPECIAL SALES TAX", "amount": 0.02, "external_tax_name": "CA SPECIAL TAX", "external_jurisdiction_name": "SAN MATEO CO LOCAL TAX SL", "tax_rate": 0.01 }, { "object": "TaxItem", "jurisdiction": "STATE_06", "name": "CALIFORNIA STATE SALES TAX", "amount": 0.12, "external_tax_name": "CA STATE TAX", "external_jurisdiction_name": "CALIFORNIA", "tax_rate": 0.06 } ], "total_count": 3 }, "subtotal": 2, "total": 2.15 }, { "object": "TransactionItem", "sku": "Total Tax", "index_number": 3, "item_type": "Purchase", "name": "Total Tax", "price": 0, "quantity": 1, "tax_classification": "TaxExempt", "service_period_starts": "2018-04-18T00:00:00-07:00", "service_period_ends": "2018-04-18T00:00:00-07:00", "tax_type": "Exclusive Sales", "tax": { "object": "List", "data": [ { "object": "TaxItem", "jurisdiction": "COUNTY_081", "name": "SAN MATEO COUNTY SALES TAX", "amount": 0.01 }, { "object": "TaxItem", "jurisdiction": "SPECIAL_EMTY0", "name": "SAN MATEO CO LOCAL TAX SL SPECIAL SALES TAX", "amount": 0.02 }, { "object": "TaxItem", "jurisdiction": "STATE_06", "name": "CALIFORNIA STATE SALES TAX", "amount": 0.12 } ], "total_count": 3 }, "discount": 0, "subtotal": 0, "total": 0.15 } ], "total_count": 3 }, "source_ip": "192.168.99.130", "sales_tax_address": { "object": "Address", "vid": "9383ad5e3eb3d0aeac6fcb152386d2c8164f77df", "name": "Yar", "line1": "11235 Fibonacci St.", "city": "SAN MATEO", "district": "CA", "postal_code": "94403", "country": "US" }, "subscription_sequence": 1, "billing_plan_sequence": 1, "original_billing_date": "2018-04-18T00:00:00-07:00", "billing_attempt": 0, "subscription": { "object": "Subscription", "id": "vin-ARC-ABID-2018April118 T22", "vid": "f5a920914606ba7e536d1302fc1ada2f0168c898" } }, "next_billing": { "object": "Transaction", "created": "2018-04-19T00:00:00-07:00", "amount": 2, "currency": "USD", "items": { "object": "List", "data": [ { "object": "TransactionItem", "sku": "khp_netflix_basic_sub", "item_type": "Purchase", "name": "Changed Description", "price": 2, "quantity": 1, "tax_classification": "Tax9999", "tax_type": "Exclusive Sales", "subtotal": 2, "total": 2 } ], "total_count": 1 } }, "balance": 2.15 }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.