DChaps
DChaps

Reputation: 526

Retrieve "Related Guest Payments" via Stripe API

We have some customers that have 'related guest payments' instead of an actual payment since the charge didn't get linked up correctly on creation. When retrieving the customers charges via the stripe api stripe.Charge.list(customer_ID) it doesnt return the 'related guest payments' since they are not technically part of that account. The docs say that they are "grouped" into the customers view based on a matching field (i.e. credit card number).

Is it possible to retrieve ALL charges related to a customers account INCLUDING 'related guest payments'?

Upvotes: 1

Views: 516

Answers (1)

koopajah
koopajah

Reputation: 25622

Stripe's Guest Customers feature is only available in the Dashboard. Stripe uses a variety of signal to determine if payments might be related such as the card's fingerprint, the email/billing details and such.

It's not possible to view Guest Customers details in the API in any way today. The only solution would be for you to list all your Charges and then try to find matches based on criteria similar to Stripe

Upvotes: 2

Related Questions