Value of order authorization code

maxyface
New Member
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?
Replies 0 (0)