Payments
Payments - Session token
Creates a session object or a session token for wallets like Apple Pay, Google Pay, etc. These tokens are used by Hyperswitch’s SDK to initiate these wallets’ SDK.
POST
/
payments
/
session_tokens
Authorizations
api-key
string
headerrequiredPublishable keys are a type of keys that can be public and have limited scope of usage.
Body
application/json
payment_id
string
requiredThe identifier for the payment
client_secret
string
requiredThis is a token which expires after 15 minutes, used from the client to authenticate and create sessions from the SDK
wallets
enum<string>[]
requiredThe list of the supported wallets
Available options:
ach
, affirm
, afterpay_clearpay
, alfamart
, ali_pay
, ali_pay_hk
, alma
, apple_pay
, atome
, bacs
, bancontact_card
, becs
, benefit
, bizum
, blik
, boleto
, bca_bank_transfer
, bni_va
, bri_va
, card_redirect
, cimb_va
, classic
, credit
, crypto_currency
, cashapp
, dana
, danamon_va
, debit
, duit_now
, efecty
, eps
, fps
, evoucher
, giropay
, givex
, google_pay
, go_pay
, gcash
, ideal
, interac
, indomaret
, klarna
, kakao_pay
, local_bank_redirect
, mandiri_va
, knet
, mb_way
, mobile_pay
, momo
, momo_atm
, multibanco
, online_banking_thailand
, online_banking_czech_republic
, online_banking_finland
, online_banking_fpx
, online_banking_poland
, online_banking_slovakia
, oxxo
, pago_efectivo
, permata_bank_transfer
, open_banking_uk
, pay_bright
, paypal
, paze
, pix
, pay_safe_card
, przelewy24
, prompt_pay
, pse
, red_compra
, red_pagos
, samsung_pay
, sepa
, sofort
, swish
, touch_n_go
, trustly
, twint
, upi_collect
, upi_intent
, vipps
, viet_qr
, venmo
, walley
, we_chat_pay
, seven_eleven
, lawson
, mini_stop
, family_mart
, seicomart
, pay_easy
, local_bank_transfer
, mifinity
, open_banking_pis
merchant_connector_details
object
Merchant connector details used to make payments.
Response
200 - application/json
payment_id
string
requiredThe identifier for the payment
client_secret
string
requiredThis is a token which expires after 15 minutes, used from the client to authenticate and create sessions from the SDK
session_token
object[]
requiredThe list of session token object