API2023-01
New credit card fields added to Transaction's payment details
As of the 2023-01 release candidate in the Admin API, new fields are available under the REST Transaction property, and the GraphQL OrderTransaction includes a new
property.
New fields added to REST Transaction
: The holder of the credit card.
: The wallet type where this credit card was retrieved from.
: The month in which the credit card expires.
: The year in which the credit card expires.
Learn more about the REST Transaction resource on Shopify.dev.
New property added to GraphQL OrderTransaction
A new field, , is available under the GraphQL OrderTransaction resource. The type of this field is
, a new union type. Only one type is available at the moment,
, which defines the following properties:
: The response code from the address verification system (AVS).
bin
: The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card.company
: The name of the company that issued the customer's credit card.: The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly.
: The month in which the credit card expires.
: The year in which the credit card expires.
name
: The holder of the credit card.number
: The customer's credit card number, with most of the leading digits redacted.wallet
: Digital wallet used for the payment.
Learn more about the GraphQL OrderTransaction resource on Shopify.dev.
Was this section helpful?