Create SDK Session Token
Overview
The createSdkSessionToken method initializes wallet payment sessions for Apple Pay, Google Pay, and other SDK-based payments. It sets up the secure context needed for tokenized wallet payments.
Business Use Case: When offering Apple Pay or Google Pay checkout, initialize a session with merchant configuration and payment details.
Purpose
Apple Pay
Initialize PKPaymentSession
Google Pay
Configure PaymentDataRequest
PayPal SDK
Set up checkout context
Request Fields
merchantSdkSessionId
string
Yes
Your unique SDK session reference
amount
Money
Yes
Payment amount
paymentMethodType
string
No
APPLE_PAY, GOOGLE_PAY
countryCode
string
No
ISO country code
customer
object
No
Customer information
Response Fields
sessionToken
object
Wallet-specific session data
statusCode
number
HTTP status code
Example
SDK Setup
Request
Response
Next Steps
Payment Service - Process wallet payments
Last updated
Was this helpful?

