Retrieves a list of payments on a particular checkout

Retrieves a list of payments on a particular checkout

RitikaThakur
Shopify Partner
19 0 6

Hi All we are in need to use this API (https://shopify.dev/api/admin-rest/2021-07/resources/payment#[get]/admin/api/2021-07/checkouts/{toke...) to Retrieves a list of payments on a particular checkout. We also do have scopes read_payment_terms, write_payment_terms (although these scopes are not mentioned necessary ). But every time it shows error "No Found" .

Reply 1 (1)

giodamo
Shopify Partner
1 0 0

I think a possible solution is to use the storefront api , and retrieve the data you need, it can be from the payment or specifically from the cards used.

 

https://shopify.dev/api/storefront/2022-10/objects/Payment

 

https://shopify.dev/api/storefront/2022-10/objects/CreditCard

 

Let me know if you got it working.