#Moustache

1 messages · Page 1 of 1 (latest)

cobalt urchinBOT
formal bramble
#

Hi, no Sources is a legacy product. What request are you making? Can you add way more details here?

astral pelican
#

customer data returns <Customer customer id=cus_FYzUl0YUcKCnxy at 0x7fa988b55830> JSON: {
"address": {
"city": "Albuquerque",
"country": "US",
"line1": "1309 Vassar Drive Southeast",
"line2": null,
"postal_code": "87106",
"state": "New Mexico"
},
"balance": 0,
"created": 1564955099,
"currency": "usd",
"default_currency": "usd",
"default_source": null,
"delinquent": false,
"description": "ChargeBee handle: 1t0AvwDRYDXemcxcK",
"discount": null,
"email": "marciacubra@gmail.com",
"id": "cus_FYzUl0YUcKCnxy",
"invoice_prefix": "7E07652C",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": "pm_1MNg6iAvKDlB0uGd0X2u0IId",
"footer": null,
"rendering_options": null
},
"livemode": true,
"metadata": {
"Address": "1309 Vassar Drive Southeast",
"Admin": "https://dashboard.littlegreenbucket.com//admin/customers/change/276/",
"City": "Albuquerque",
"Schedules": "TUE Residential",
"State": "New Mexico",
"Zip": "87106",
"tags": "chargebee synced, residential, testing"
},
"name": null,
"next_invoice_sequence": 2,
"object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null,
"sources": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_FYzUl0YUcKCnxy/sources"
},

#

but the sources array is blank despite having a default payment method

#

So I should be using payment methods instead of sources?

#

I see so the sources appear as payment methods but payment methods do not appear as sources