Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Support for card not present transaction details in PaymentsApps API

You can now enhance the security of "card not present" transactions by providing additional verification details through the Payments Apps API. This update allows you to include Address Verification System (AVS) and Card Verification Value (CVV) results when resolving payment sessions.

To implement these new fields, incorporate them into your paymentSessionResolve mutation:

mutation PaymentSessionResolve($id: ID\!, $paymentDetails: PaymentSessionDetailsInput) {
  paymentsAppPaymentSessionResolve(id: $id, paymentDetails: $paymentDetails) {
    paymentSession {
      id
    }
  }
}

The new CardNotPresentInput type includes the following fields:

  • cvvResultCode: The response code from CVV verification.
  • avsResultCode: The response code from address verification.

By utilizing these fields, you can provide more granular level of fraud analysis data for transactions where the card is not physically present, helping merchants make the right decisions.

For more detailed information, please refer to the Payments Apps API documentation.

Was this section helpful?