Skip to content

Create token

Adrian edited this page Mar 10, 2024 · 17 revisions

Issue #2

$XsollaSDK.create_token(merchant_id : int, user_id : String, project_id : int, email : String)

Parameters

  • merchant_id * Merchant ID

  • user_id * User ID

  • project_id * You can find this parameter in your Publisher Account next to the name of the project

  • email * User email

    • Must be valid according to the RFC 822 protocol

api_key * Define this variable using $XsollaSDK.set_api_key(api2_key : String)

Caution

Please use temporary API keys to reduce the risk of exploits

* Required

Clone this wiki locally