Skip to main content
POST
Generate widget token

Authorizations

x-api-key
string
header
required

Your SideShift Connect API key (sk_live_* or sk_test_*). Generate from Settings → Connect.

Body

application/json
sideshiftAccountId
string
required
Example:

"acct_a1b2c3d4e5f6"

widgetType
enum<string>
required
Available options:
payout,
payin,
both
Example:

"both"

expiresInSeconds
integer
default:3600

Token lifetime in seconds

Required range: 60 <= x <= 86400
targetDomain
string

Embedding domain (must be in allowed domains)

escrowMode
boolean
default:false

Route pay-in deposits to your company wallet

escrowDestinationCompanyId
string

Override escrow destination (defaults to your company)

allowFraudBypass
boolean
default:false

Enable Fraudless non-3DS card payments in the pay-in widget. Your platform is responsible for disputes and chargebacks.

Response

Token generated

success
boolean
data
object