---
title: "Payment Method Session - Update a saved payment method"
method: PUT
path: "/v1/payment-method-sessions/{id}/update-saved-payment-method"
tags: ["Payment Method Session"]
---

# Payment Method Session - Update a saved payment method

`PUT /v1/payment-method-sessions/{id}/update-saved-payment-method`

Update a saved payment method from the given payment method session.

## Path parameters

- `id` string, required

## Headers

- `X-Profile-Id` string, required

## Request body

- PaymentMethodSessionUpdateSavedPaymentMethod
  - `payment_method_data` union
    - object
      - `card` CardDetailUpdate, required
        - `card_holder_name` string, required — Card Holder Name
        - `nick_name` string, nullable — Card Holder's Nick Name
        - `card_cvc` string, nullable — The CVC number for the card
    - object
      - `bank_debit` BankDebitDetailUpdate, required
        - `ach` object, required
          - `bank_account_holder_name` string, nullable
  - `connector_token_details` ConnectorTokenDetails — Token information that can be used to initiate transactions by the merchant.
    - `token` string, required — A token that can be used to make payments directly with the connector.
    - `connector_token_request_reference_id` string, nullable — The reference id sent to the connector when creating the token
  - `network_transaction_id` string, nullable — The network transaction ID provided by the card network during a Customer Initiated Transaction (CIT) when `setup_future_usage` is set to `off_session`.
  - `acknowledgement_status` 'authenticated' | 'failed'
  - `payment_method_token` string, nullable — The payment method token associated with the payment method session. If not provided, a new token will be generated.

## Response `200`

The payment method has been updated successfully

- PaymentMethodSessionResponse
  - `id` string, required
  - `customer_id` string, nullable — The customer id for which the payment methods session is to be created
  - `billing` Address
    - `address` AddressDetails — Address details
      - `city` string, nullable — The city, district, suburb, town, or village of the address.
      - `country` 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'US'
      - `line1` string, nullable — The first line of the street address or P.O. Box.
      - `line2` string, nullable — The second line of the street address or P.O. Box (e.g., apartment, suite, unit, or building).
      - `line3` string, nullable — The third line of the street address, if applicable.
      - `zip` string, nullable — The zip/postal code for the address
      - `state` string, nullable — The address state
      - `first_name` string, nullable — The first name for the address
      - `last_name` string, nullable — The last name for the address
      - `origin_zip` string, nullable — The zip/postal code of the origin
    - `phone` PhoneDetails
      - `number` string, nullable — The contact number
      - `country_code` string, nullable — The country code attached to the number
    - `email` string, nullable
  - `network_tokenization` NetworkTokenization — The network tokenization configuration for creating the payment method session
    - `enable` 'Enable' | 'Skip', required — The network tokenization toggle, whether to enable or skip the network tokenization
  - `tokenization_data` unknown
  - `expires_at` string, date-time, required — The iso timestamp when the session will expire Trying to retrieve the session or any operations on the session after this time will result in an error
  - `client_secret` string, required — Client Secret
  - `return_url` string, nullable — The return url to which the user should be redirected to
  - `next_action` union
    - object — Contains the url for redirection flow
      - `redirect_to_url` string, required
      - `type` 'redirect_to_url', required
    - object — Informs the next steps for bank transfer and also contains the charges details (ex: amount received, amount charged etc)
      - `bank_transfer_steps_and_charges_details` union, required
        - object
          - `doku_bank_transfer_instructions` DokuBankTransferInstructions, required
            - `expires_at` string, required
            - `reference` string, required
            - `instructions_url` string, required
          - `receiver` ReceiverDetails
            - `amount_received` integer, required — The amount received by receiver
            - `amount_charged` integer, nullable — The amount charged by ACH
            - `amount_remaining` integer, nullable — The amount remaining to be sent via ACH
        - object
          - `ach_credit_transfer` AchTransfer, required
            - `account_number` string, required
            - `bank_name` string, required
            - `routing_number` string, required
            - `swift_code` string, required
          - `receiver` ReceiverDetails
            - `amount_received` integer, required — The amount received by receiver
            - `amount_charged` integer, nullable — The amount charged by ACH
            - `amount_remaining` integer, nullable — The amount remaining to be sent via ACH
        - object
          - `sepa_bank_instructions` SepaBankTransferInstructions, required
            - `account_holder_name` string, required
            - `bic` string, required
            - `country` string, required
            - `iban` string, required
            - `reference` string, required
          - `receiver` ReceiverDetails
            - `amount_received` integer, required — The amount received by receiver
            - `amount_charged` integer, nullable — The amount charged by ACH
            - `amount_remaining` integer, nullable — The amount remaining to be sent via ACH
        - object
          - `bacs_bank_instructions` BacsBankTransferInstructions, required
            - `account_holder_name` string, required
            - `account_number` string, required
            - `sort_code` string, required
          - `receiver` ReceiverDetails
            - `amount_received` integer, required — The amount received by receiver
            - `amount_charged` integer, nullable — The amount charged by ACH
            - `amount_remaining` integer, nullable — The amount remaining to be sent via ACH
        - object
          - `multibanco` MultibancoTransferInstructions, required
            - `reference` string, required
            - `entity` string, required
          - `receiver` ReceiverDetails
            - `amount_received` integer, required — The amount received by receiver
            - `amount_charged` integer, nullable — The amount charged by ACH
            - `amount_remaining` integer, nullable — The amount remaining to be sent via ACH
      - `type` 'display_bank_transfer_information', required
    - object — Contains third party sdk session token response
      - `session_token` union
        - object
          - `delayed_session_token` boolean, required — Identifier for the delayed session response
          - `connector` string, required — The name of the connector
          - `sdk_next_action` SdkNextAction, required
            - `next_action` union, required
              - …
            - `should_block_confirm` boolean, nullable — Whether the SDK should block the confirm call for user.
          - `wallet_name` 'google_pay', required
        - object
          - `merchant_info` GpayMerchantInfo, required
            - `merchant_id` string, nullable — The merchant Identifier that needs to be passed while invoking Gpay SDK
            - `merchant_name` string, required — The name of the merchant that needs to be displayed on Gpay PopUp
          - `shipping_address_required` boolean, required — Is shipping address required
          - `email_required` boolean, required — Is email required
          - `shipping_address_parameters` GpayShippingAddressParameters, required
            - `phone_number_required` boolean, required — Is shipping phone number required
          - `allowed_payment_methods` GpayAllowedPaymentMethods[], required — List of the allowed payment methods
            - `type` string, required — The type of payment method
            - `parameters` GpayAllowedMethodsParameters, required
              - …
            - `tokenization_specification` GpayTokenizationSpecification, required
              - …
          - `transaction_info` GpayTransactionInfo, required
            - `country_code` 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'US', required
            - `currency_code` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL', required — The three-letter ISO 4217 currency code (e.g., "USD", "EUR") for the payment amount. This field is mandatory for creating a payment.
            - `total_price_status` string, required — The total price status (ex: 'FINAL')
            - `total_price` string, required — The total price
          - `delayed_session_token` boolean, required — Identifier for the delayed session response
          - `connector` string, required — The name of the connector
          - `sdk_next_action` SdkNextAction, required
            - `next_action` union, required
              - …
            - `should_block_confirm` boolean, nullable — Whether the SDK should block the confirm call for user.
          - `secrets` SecretInfoToInitiateSdk
            - `display` string, required
            - `payment` string, required
          - `wallet_name` 'google_pay', required
        - object
          - `version` string, required — Samsung Pay API version
          - `service_id` string, required — Samsung Pay service ID to which session call needs to be made
          - `order_number` string, required — Order number of the transaction
          - `merchant` SamsungPayMerchantPaymentInformation, required
            - `name` string, required — Merchant name, this will be displayed on the Samsung Pay screen
            - `url` string, nullable — Merchant domain that process payments, required for web payments
            - `country_code` 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'US', required
          - `amount` SamsungPayAmountDetails, required
            - `option` 'FORMAT_TOTAL_PRICE_ONLY' | 'FORMAT_TOTAL_ESTIMATED_AMOUNT', required
            - `currency_code` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL', required — The three-letter ISO 4217 currency code (e.g., "USD", "EUR") for the payment amount. This field is mandatory for creating a payment.
            - `total` string, required — The total amount of the transaction
          - `protocol` 'PROTOCOL3DS', required
          - `allowed_brands` string[], required — List of supported card brands
          - `billing_address_required` boolean, required — Is billing address required to be collected from wallet
          - `shipping_address_required` boolean, required — Is shipping address required to be collected from wallet
          - `wallet_name` 'samsung_pay', required
        - object
          - `session_token` string, required — The session token for Klarna
          - `session_id` string, required — The identifier for the session
          - `wallet_name` 'klarna', required
        - object
          - `connector` string, required — Name of the connector
          - `session_token` string, required — The session token for PayPal
          - `sdk_next_action` SdkNextAction, required
            - `next_action` union, required
              - …
            - `should_block_confirm` boolean, nullable — Whether the SDK should block the confirm call for user.
          - `client_token` string, nullable — Authorization token used by client to initiate sdk
          - `transaction_info` PaypalTransactionInfo
            - `flow` 'checkout', required
            - `currency_code` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL', required — The three-letter ISO 4217 currency code (e.g., "USD", "EUR") for the payment amount. This field is mandatory for creating a payment.
            - `total_price` string, required — Total price
          - `data_user_id_token` string, nullable — User token required for returning customer flow, used by client to initiate sdk
          - `currency` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL' — The three-letter ISO 4217 currency code (e.g., "USD", "EUR") for the payment amount. This field is mandatory for creating a payment.
          - `intent` 'capture' | 'authorize'
          - `wallet_name` 'paypal', required
        - object
          - `session_token_data` union
            - ThirdPartySdkSessionResponse
              - …
            - unknown
            - unknown
          - `payment_request_data` ApplePayPaymentRequest
            - `country_code` 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'US', required
            - `currency_code` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL', required — The three-letter ISO 4217 currency code (e.g., "USD", "EUR") for the payment amount. This field is mandatory for creating a payment.
            - `total` AmountInfo, required
              - …
            - `merchant_capabilities` string[], nullable — The list of merchant capabilities(ex: whether capable of 3ds or no-3ds)
            - `supported_networks` string[], nullable — The list of supported networks
            - `merchant_identifier` string, nullable
            - `required_billing_contact_fields` ApplePayAddressParameters[]
            - `required_shipping_contact_fields` ApplePayAddressParameters[]
            - `recurring_payment_request` ApplePayRecurringPaymentRequest
              - …
          - `connector` string, required — The session token is w.r.t this connector
          - `delayed_session_token` boolean, required — Identifier for the delayed session response
          - `sdk_next_action` SdkNextAction, required
            - `next_action` union, required
              - …
            - `should_block_confirm` boolean, nullable — Whether the SDK should block the confirm call for user.
          - `connector_reference_id` string, nullable — The connector transaction id
          - `connector_sdk_public_key` string, nullable — The public key id is to invoke third party sdk
          - `connector_merchant_id` string, nullable — The connector merchant id
          - `wallet_name` 'apple_pay', required
        - object
          - `open_banking_session_token` string, required — The session token for OpenBanking Connectors
          - `wallet_name` 'open_banking', required
        - object
          - `client_id` string, required — Paze Client ID
          - `client_name` string, required — Client Name to be displayed on the Paze screen
          - `client_profile_id` string, required — Paze Client Profile ID
          - `transaction_currency_code` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL', required — The three-letter ISO 4217 currency code (e.g., "USD", "EUR") for the payment amount. This field is mandatory for creating a payment.
          - `transaction_amount` string, required — The transaction amount
          - `email_address` string, nullable — Email Address
          - `wallet_name` 'paze', required
        - object
          - `dpa_id` string, required
          - `dpa_name` string, required
          - `locale` string, required
          - `card_brands` CardNetwork[], required
          - `acquirer_bin` string, required
          - `acquirer_merchant_id` string, required
          - `merchant_category_code` string, nullable
          - `merchant_country_code` string, required
          - `transaction_amount` string, required
          - `transaction_currency_code` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL', required — The three-letter ISO 4217 currency code (e.g., "USD", "EUR") for the payment amount. This field is mandatory for creating a payment.
          - `phone_number` string, nullable
          - `email` string, nullable
          - `phone_country_code` string, nullable
          - `provider` 'visa' | 'mastercard'
          - `dpa_client_id` string, nullable
          - `wallet_name` 'click_to_pay', required
        - object
          - `merchant_id` string, required — Amazon Pay merchant account identifier
          - `ledger_currency` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL', required — The three-letter ISO 4217 currency code (e.g., "USD", "EUR") for the payment amount. This field is mandatory for creating a payment.
          - `store_id` string, required — Amazon Pay store ID
          - `payment_intent` 'Confirm' | 'Authorize' | 'AuthorizeWithCapture', required
          - `total_shipping_amount` string, required — The total shipping costs
          - `total_tax_amount` string, required — The total tax amount for the order
          - `total_base_amount` string, required — The total amount for items in the cart
          - `delivery_options` AmazonPayDeliveryOptions[], required — The delivery options available for the provided address
            - `id` string, required — Delivery Option identifier
            - `price` AmazonPayDeliveryPrice, required
              - …
            - `shipping_method` AmazonPayShippingMethod, required
              - …
            - `is_default` boolean, required — Specifies if this delivery option is the default
          - `wallet_name` 'amazon_pay', required
        - object
          - `wallet_name` 'no_session_token_received', required
      - `type` 'third_party_sdk_session_token', required
    - object — Contains url for Qr code image, this qr code has to be shown in sdk
      - `image_data_url` string, required — Hyperswitch generated image data source url
      - `display_to_timestamp` integer, nullable
      - `qr_code_url` string, required — The url for Qr code given by the connector
      - `display_text` string, nullable
      - `border_color` string, nullable
      - `raw_qr_data` string, nullable — The raw QR code data (EMV copy and paste) used for Brazilian payment methods like Pix
      - `type` 'qr_code_information', required
    - object — Contains url to fetch Qr code data
      - `qr_code_fetch_url` string, required
      - `type` 'fetch_qr_code_information', required
    - object
      - `sdk_uri` string, required
      - `display_from_timestamp` integer, required
      - `display_to_timestamp` integer, nullable
      - `poll_config` PollConfig
        - `delay_in_secs` integer, required — Interval of the poll
        - `frequency` integer, required — Frequency of the poll
      - `type` 'invoke_upi_intent_sdk', required
    - object
      - `qr_code_url` string, required
      - `display_from_timestamp` integer, required
      - `display_to_timestamp` integer, nullable
      - `poll_config` PollConfig
        - `delay_in_secs` integer, required — Interval of the poll
        - `frequency` integer, required — Frequency of the poll
      - `type` 'invoke_upi_qr_flow', required
    - object — Contains the download url and the reference number for transaction
      - `voucher_details` string, required
      - `type` 'display_voucher_information', required
    - object — Contains duration for displaying a wait screen, wait screen with timer is displayed by sdk
      - `display_from_timestamp` integer, required
      - `display_to_timestamp` integer, nullable
      - `poll_config` PollConfig
        - `delay_in_secs` integer, required — Interval of the poll
        - `frequency` integer, required — Frequency of the poll
      - `type` 'wait_screen_information', required
    - object — Contains the information regarding three_ds_method_data submission, three_ds authentication, and authorization flows
      - `three_ds_data` ThreeDsData, required
        - `three_ds_authentication_url` string, required — ThreeDS authentication url - to initiate authentication
        - `three_ds_authorize_url` string, required — ThreeDS authorize url - to complete the payment authorization after authentication
        - `three_ds_method_details` ThreeDsMethodData, required
          - `three_ds_method_data_submission` boolean, required — Whether ThreeDS method data submission is required
          - `three_ds_method_data` string, nullable — ThreeDS method data
          - `three_ds_method_url` string, nullable — ThreeDS method url
          - `three_ds_method_key` 'threeDSMethodData' | 'JWT'
          - `consume_post_message_for_three_ds_method_completion` boolean, required — Indicates whether to wait for Post message after 3DS method data submission
        - `poll_config` PollConfigResponse, required
          - `poll_id` string, required — Poll Id
          - `delay_in_secs` integer, required — Interval of the poll
          - `frequency` integer, required — Frequency of the poll
        - `message_version` string, nullable — Message Version
        - `directory_server_id` string, nullable — Directory Server ID
        - `card_network` 'Visa' | 'Mastercard' | 'AmericanExpress' | 'JCB' | 'DinersClub' | 'Discover' | 'CartesBancaires' | 'UnionPay' | 'Interac' | 'RuPay' | 'Maestro' | 'Star' | 'Pulse' | 'Accel' | 'Nyce' | 'Prop' | 'PrivateLabel' | 'Dinacard' — Indicates the card network.
        - `three_ds_connector` string, nullable — Preferred 3ds Connector
      - `type` 'three_ds_invoke', required
    - object
      - `next_action_data` SdkNextActionData, required
        - `next_action` union, required
          - 'post_session_tokens' — The next action call is Post Session Tokens
          - 'confirm' — The next action call is confirm
          - 'sync' — The next action call is sync
          - 'complete_authorize' — The next action call is Complete Authorize
          - 'await_merchant_callback' — The next action is to await for a merchant callback
          - object
            - `deny` object, required — The next action is to deny the payment with an error message
              - …
          - 'eligibility_check' — The next action is to perform eligibility check
        - `order_id` string, nullable
      - `type` 'invoke_sdk_client', required
    - object — Contains consent to collect otp for mobile payment
      - `consent_data_required` 'consent_required' | 'consent_not_required' | 'consent_optional', required
      - `type` 'collect_otp', required
    - object — Contains data required to invoke hidden iframe
      - `iframe_data` IframeData, required
        - `three_ds_method_url` string, required — ThreeDS method url
        - `three_ds_method_data_submission` boolean, required — Whether ThreeDS method data submission is required
        - `three_ds_method_data` string, nullable — ThreeDS method data
        - `directory_server_id` string, required — ThreeDS Server ID
        - `message_version` string, nullable — ThreeDS Protocol version
        - `method_key` 'threeDSMethodData', required
      - `type` 'invoke_hidden_iframe', required
    - object — The data required to trigger the DDC (Device Data Collection) flow by rendering the provided URL in a hidden iframe.
      - `ddc_data` DDCData, required
        - `iframe_url` string, required
        - `timeout_ms` integer, nullable
      - `type` 'invoke_ddc', required
  - `authentication_details` AuthenticationDetails
    - `status` 'succeeded' | 'failed' | 'cancelled' | 'cancelled_post_capture' | 'processing' | 'requires_customer_action' | 'requires_merchant_action' | 'requires_payment_method' | 'requires_confirmation' | 'requires_capture' | 'partially_captured' | 'partially_captured_and_capturable' | 'partially_authorized_and_requires_capture' | 'partially_captured_and_processing' | 'conflicted' | 'expired' | 'review', required — Represents the overall status of a payment intent. The status transitions through various states depending on the payment method, confirmation, capture method, and any subsequent actions (like customer authentication or manual capture).
    - `error` ErrorDetails — Error details for the payment
      - `code` string, required — The error code
      - `message` string, required — The error message
      - `reason` string, nullable — The detailed error reason that was returned by the connector.
      - `unified_code` string, nullable — The unified error code across all connectors. This can be relied upon for taking decisions based on the error.
      - `unified_message` string, nullable — The unified error message across all connectors. If there is a translation available, this will have the translated message
      - `network_advice_code` string, nullable — This field can be returned for both approved and refused Mastercard payments. This code provides additional information about the type of transaction or the reason why the payment failed. If the payment failed, the network advice code gives guidance on if and when you can retry the payment.
      - `network_decline_code` string, nullable — For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
      - `network_error_message` string, nullable — A string indicating how to proceed with an network error if payment gateway provide one. This is used to understand the network error code better.
  - `associated_payment_methods` AssociatedPaymentMethods[], nullable — The payment method that was created using this payment method session
    - `payment_method_token` AssociatedPaymentMethodTokenType, required — Token type for Payment Method Session associated payment methods
      - `type` 'payment_method_session_token', required
      - `data` string, required — Payment Method Session Token
  - `associated_token_id` string, nullable — The token-id created if there is tokenization_data present
  - `storage_type` 'volatile' | 'persistent', required
  - `card_cvc_token_storage` CardCVCTokenStorageDetails
    - `is_stored` boolean, required — Indicates whether the card cvc is stored or not
    - `expires_at` string, date-time, nullable — A timestamp (ISO 8601 code) that determines expiry for stored card cvc token
  - `payment_method_data` union
    - object
      - `card` CardDetailFromLocker, required
        - `issuer_country` 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'US'
        - `last4_digits` string, nullable
        - `expiry_month` string, nullable
        - `expiry_year` string, nullable
        - `card_holder_name` string, nullable
        - `card_fingerprint` string, nullable
        - `nick_name` string, nullable
        - `card_network` 'Visa' | 'Mastercard' | 'AmericanExpress' | 'JCB' | 'DinersClub' | 'Discover' | 'CartesBancaires' | 'UnionPay' | 'Interac' | 'RuPay' | 'Maestro' | 'Star' | 'Pulse' | 'Accel' | 'Nyce' | 'Prop' | 'PrivateLabel' | 'Dinacard' — Indicates the card network.
        - `card_isin` string, nullable
        - `card_issuer` string, nullable
        - `card_type` string, nullable
        - `saved_to_locker` boolean, required
    - object
      - `bank_debit` BankDebitDetailsPaymentMethod, required
        - `ach_bank_debit` object, required
          - `account_number_last4_digits` string, required
          - `routing_number_last4_digits` string, required
          - `bank_account_holder_name` string, nullable
          - `bank_name` string, required
          - `bank_type` string, required
          - `bank_holder_type` string, required
    - object
      - `wallet` union, required
        - object
          - `apple_pay` PaymentMethodDataWalletInfo, required
            - `last4` string, nullable — Last 4 digits of the card number
            - `card_network` string, nullable — The information of the payment method
            - `type` string, nullable — The type of payment method
            - `card_exp_month` string, nullable — The card's expiry month
            - `card_exp_year` string, nullable — The card's expiry year
            - `auth_code` string, nullable — Unique authorisation code for the payment
            - `email` string, nullable — Email address associated with the wallet (e.g. PayPal email)
        - object
          - `google_pay` PaymentMethodDataWalletInfo, required
            - `last4` string, nullable — Last 4 digits of the card number
            - `card_network` string, nullable — The information of the payment method
            - `type` string, nullable — The type of payment method
            - `card_exp_month` string, nullable — The card's expiry month
            - `card_exp_year` string, nullable — The card's expiry year
            - `auth_code` string, nullable — Unique authorisation code for the payment
            - `email` string, nullable — Email address associated with the wallet (e.g. PayPal email)
        - object
          - `pay_pal` PaypalRedirection, required
            - `email` string, nullable — paypal's email address
  - `sdk_authorization` string, nullable — SDK authorization token for client SDK usage Contains encoded authentication details for subsequent API calls
  - `keep_alive` boolean, required — Whether the card with new status should be listed in the session
  - `network_tokenization_data` NetworkTokenResponse
    - `payment_method_data` NetworkTokenDetailsPaymentMethod, required
      - `last4_digits` string, nullable
      - `issuer_country` 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'US'
      - `network_token_expiry_month` string, nullable
      - `network_token_expiry_year` string, nullable
      - `nick_name` string, nullable
      - `card_holder_name` string, nullable
      - `card_isin` string, nullable
      - `card_issuer` string, nullable
      - `card_network` 'Visa' | 'Mastercard' | 'AmericanExpress' | 'JCB' | 'DinersClub' | 'Discover' | 'CartesBancaires' | 'UnionPay' | 'Interac' | 'RuPay' | 'Maestro' | 'Star' | 'Pulse' | 'Accel' | 'Nyce' | 'Prop' | 'PrivateLabel' | 'Dinacard' — Indicates the card network.
      - `card_type` string, nullable
      - `saved_to_locker` boolean
      - `par` string, nullable
  - `external_vault_details` union
    - object
      - `vgs` VgsSessionDetails, required
        - `external_vault_id` string, required — The identifier of the external vault
        - `sdk_env` string, required — The environment for the external vault initiation
    - object
      - `hyperswitch_vault` HyperswitchVaultSessionDetails, required
        - `sdk_authorization` string, required — Base64-encoded SDK authorization token for the Hyperswitch Vault session

## Other responses

- `404` — The request is invalid

---

[API](https://skmtc.net/hyperswitch/apis/dynamic-routing-openapi-3-0.md) · [All operations](https://skmtc.net/hyperswitch/apis/dynamic-routing-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperswitch/dynamic-routing-openapi-3-0/revisions/8fbf69ab2597/schema)
