#mangoiv
1 messages · Page 1 of 1 (latest)
Can you share the request ID?
req_bmGwLPfbxcet5s
in the customer field
In the API response when you create the checkout session?
afaict when not expanded it should contain a stirng
Customer won't exist at that point though, the session needs to be completed in order for the customer to be created
Checkout will collect the billing information and create the customer when you complete the checkout session
will it be available in the webhook request?
Yes
thank you, that solves it then.
Or if you manually retrieve the checkout session once it's been completed
NP! 🙂 Happy to help
can you refer me to the place of when is what available?
I find it very confusing that object schemata are reused over the course of time
it would be much more intuitive if the response to a checkout session request wouldn't hvae a field for customer
We don't have a comprehensive list somewhere unfortunately.
it would be much more intuitive if the response to a checkout session request wouldn't hvae a field for customer
The reason it has the field is because the API responds with the Checkout Session object at that point in time but def understand your concern. You'd likely want to play around with the API in test mode and see what's expected.
right, just take this as a feedback if that's possible ;D