Value of order authorization code

Value of order authorization code

maxyface
Visitor
1 0 0

I am building a Shopify app. I would like to be able to access the value of the authorization code associated with a transaction (usually a 6-digit number; printed on paper receipts). In the GraphQL API, this is what I am referring to:

{
  order(id: "xxxx") {
    transactions {
      authorizationCode
    }
  }
}

 So far in my experimentation with a test store and in-development app, we have only seen Stripe payment intent id's in the response. My questions are:

  • is there any way to retrieve the actual value of the authorization code associated with this payment intent?
  • if a store uses a 3rd party payment provider (as opposed to Shopify Payments), would I also see an id for some object hidden behind a 3rd party API?
  • would taking my app live and testing with a real store taking real payments (via Shopify Payments) give a different outcome?
Reply 1 (1)

jmmc
Shopify Partner
19 0 3

Hello OP, did you figure this one out?

Jmmc