--- title: >- Introduce onsite credit card support for payments apps - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/introduce-onsite-credit-card-support-for-payments-apps md: >- https://shopify.dev/changelog/introduce-onsite-credit-card-support-for-payments-apps.md metadata: effectiveApiVersion: 2023-04 affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: New handle: new indicatesActionRequired: false createdAt: '2023-02-15T14:34:12-05:00' postedAt: '2023-04-01T00:00:00-04:00' updatedAt: '2024-12-13T17:24:36-05:00' effectiveAt: '2023-04-01T00:00:00-04:00' --- April 1, 2023 Tags: * API * 2023-04 # Introduce onsite credit card support for payments apps As of version `2023-04`, payments apps will have support for onsite credit card payments through new types introduced to the GraphQL Payments Apps API. Changes to support on-site credit card processing are as follows: * [New rejection codes](https://shopify.dev/docs/api/payments-apps/2023-04/enums/PaymentSessionStateRejectedReason) are now available in the [`paymentSessionReject` GraphQL mutation](https://shopify.dev/docs/api/payments-apps/2023-04/mutations/paymentSessionReject) for credit card payments apps * [A new error code](https://shopify.dev/docs/api/payments-apps/2023-04/enums/PaymentSessionPendingUserErrorCode#value-unsupportedpaymentmethod) is introduced in the [`paymentSessionPending` GraphQL mutation](https://shopify.dev/docs/api/payments-apps/2023-04/mutations/paymentSessionPending)