Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi! Specific question: By reading the docs on the Balance Transaction object, it is not completely clear all the possible values for the field source_type. For example, in the GET example response provided in the docs, one of the transactions contains a value of Payments::Refund for the source_type field. But in the description of the transaction object, the docs says:
So, if I want to check for a source_type that represents a refund, should i check for the value "refund", or for the value "Payments::refund"?
Thanks.
Solved! Go to the solution
This is an accepted solution.
Hey @Johnathan2
Thanks for getting in touch, I agree we could make it clearer and I've mentioned this internally.
I'd performed some tests against the shopify_payments/balance/transactions.json REST endpoint, and you'd be looking for "Payments::refund" for source_type.
I can confirm the documentation here for shopify_payments/balance/transactions.json would be the source of truth. Hope that helps!
This is an accepted solution.
Hey @Johnathan2
Thanks for getting in touch, I agree we could make it clearer and I've mentioned this internally.
I'd performed some tests against the shopify_payments/balance/transactions.json REST endpoint, and you'd be looking for "Payments::refund" for source_type.
I can confirm the documentation here for shopify_payments/balance/transactions.json would be the source of truth. Hope that helps!
User | RANK |
---|---|
5 | |
4 | |
4 | |
3 | |
3 |