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
Request
- The document declares no server URL.
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Payment session object created or session token was retrieved from wallets
Example response
{
"session_token": [
{
"transaction_info": {
"total_price": "38.02"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.