Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How to get SellerDetails for Stripe?

Solved

How to get SellerDetails for Stripe?

Gudata
New Member
5 0 0

Hello,

I am using the API to query the transactions for an order.

For PayPal there is a PaymentInfo in the "receipt" of the "transaction". There I can see SellerDetails.

 

"SellerDetails":  {
  "PayPalAccountID": "xxxxxxxxxx",
  "SecureMerchantAccountID": "xxxxxxxxxx
}

 

How to get the same information for Stripe payments?

Accepted Solution (1)

Luke_K
Shopify Staff
402 66 103

This is an accepted solution.

Hey @Gudata 

Thanks for getting in touch! So, the response when calling the transactions endpoint would differ from payment gateway to payment gateway as the responses are structured differently dependent on payment gateway - for example, Sellerdetails I believe to be used for Paypal transactions only. 

Calling transactions.json for a Stripe  transaction should give you a wealth of related transactional information in the receipt object - there is alot of useful information in the payment_method_details hash nested within the charges object. Hope that helps!

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!

View solution in original post

Reply 1 (1)

Luke_K
Shopify Staff
402 66 103

This is an accepted solution.

Hey @Gudata 

Thanks for getting in touch! So, the response when calling the transactions endpoint would differ from payment gateway to payment gateway as the responses are structured differently dependent on payment gateway - for example, Sellerdetails I believe to be used for Paypal transactions only. 

Calling transactions.json for a Stripe  transaction should give you a wealth of related transactional information in the receipt object - there is alot of useful information in the payment_method_details hash nested within the charges object. Hope that helps!

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!