--- title: PaymentSessionRejectionReasonInput - Payments Apps API description: The input fields for the reason why the payment was rejected. api_version: 2025-01 api_name: payments-apps type: input-object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/payments-apps/2025-01/input-objects/PaymentSessionRejectionReasonInput md: >- https://shopify.dev/docs/api/payments-apps/2025-01/input-objects/PaymentSessionRejectionReasonInput.md --- # Payment​Session​Rejection​Reason​Input input\_object The input fields for the reason why the payment was rejected. ## Fields * code [Payment​Session​State​Rejected​Reason!](https://shopify.dev/docs/api/payments-apps/2025-01/enums/PaymentSessionStateRejectedReason) non-null The reason code. * merchant​Message [String](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) A custom, localized message for the merchant. *** ## Map No referencing types