#GVBRIEL-error
1 messages · Page 1 of 1 (latest)
hi! like it says, that's not the format.
it's billing_details: { address: {zip:"94103"}} for example.
I was looking rn at this: https://stripe.com/docs/api/charges/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I found this object:
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": "Jenny Rosen",
"phone": null
},
Trying now to map the postal_code + state params
city: null
country: "US"
line1: null
line2: null
postal_code: "12345"
state: "AL"
Worked. Thank you so much, @wise flame
yeah but you're not using the Charge object
you're using PaymentIntents/PaymentMethods and they use a different shape