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

Wallet
Purpose

Apple Pay

Initialize PKPaymentSession

Google Pay

Configure PaymentDataRequest

PayPal SDK

Set up checkout context

Request Fields

Field
Type
Required
Description

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

Field
Type
Description

sessionToken

object

Wallet-specific session data

statusCode

number

HTTP status code

Example

SDK Setup

Request

Response

Next Steps

Last updated

Was this helpful?