#TaniaObando

1 messages ยท Page 1 of 1 (latest)

kind tokenBOT
maiden magnet
#

Hello, is cus_sadgreg a placeholder or is that the actual ID of your customer in your system?

#

If not, can you send me the actual ID? I can look in to what API field you can find this value in

wary hinge
#

Ok look

#

cus_OaO2mUMkpb1d86

maiden magnet
#

Thank you, checking in to that and will get back to you

wary hinge
#

ok

maiden magnet
wary hinge
#

But If a dont have tax id

#

What other solution is posible ?

maiden magnet
#

That API call retrieves the field that you are interested in from your screenshot

#

I don't think it is possible to have that field filled in without it being possible to retrieve via the API like that

kind tokenBOT
wary hinge
#

Tax id is equal to fiscal ID ?

slate glen
#

Hi ๐Ÿ‘‹

What do you mean by fiscal ID? What does this identifier do?

wary hinge
#

Yes look the pictura that I share

#

The last field say "ID fiscal""

#

And the value is 123.456.789-0

#

How to retrieve this field with api?

slate glen
#

I don't see any picture. Where is this data being entered?

wary hinge
#

Ok look

slate glen
#

Is that form in the Dashboard?

wary hinge
#

No, in the customer

#

I want to record a video

slate glen
#

No, in the customer
I'm afraid I don't know what that means. What happens when you use the API to retrieve the Customer object for the ID you referenced?

wary hinge
#

This is the json

#

<Customer customer id=cus_OaO2mUMkpb1d86 at 0x7f5428fc8510> JSON: {
"address": {
"city": "Cali",
"country": "CO",
"line1": "Cra 15",
"line2": null,
"postal_code": null,
"state": "MAG"
},
"balance": 0,
"created": 1693974169,
"currency": "eur",
"default_source": null,
"delinquent": false,
"description": null,
"discount": null,
"email": "colombiana@gmail.com",
"id": "cus_OaO2mUMkpb1d86",
"invoice_prefix": "DC3CE40C",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null,
"rendering_options": null
},
"livemode": false,
"metadata": {
"apply_taxes": "True",
"company": "subcuenta 1",
"company_id": "6",
"country": "ES",
"exclude_region": "True",
"request_user_email": "colombiana@gmail.com",
"tax_id": "764671247234"
},
"name": "La cholombiana",
"object": "customer",
"phone": "+573211231231",
"preferred_locales": [
"es-419"
],
"shipping": null,
"tax_exempt": "none",
"test_clock": null
}

#

This is the request

#

stripe.Customer.retrieve("cus_OaO2mUMkpb1d86")

#

But in the json doesnt exist the field about ID fiscal

slate glen
wary hinge
#

Ok perfect, thank you so much