How to get SellerDetails for Stripe?

Solved
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
Shopify Staff
402 65 92

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
Shopify Staff
402 65 92

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!