post

/merchants/{merchant_id}/token

Use this method if you have already configured at least one of the Store modules and the Integrate Commerce API toggle in the Settings section of the Publisher Account is set to Off. Otherwise, implement receiving a token in accordance with the checkout instructions.

Set the following parameters when receiving a token for a checkout purchase.

Note

This API method can't be used under high load. When the number of requests is high, rate limits may apply. Contact your Account Manager to find out the rate limits for this API method.
Deprecated

Avoid using this API operation if possible. It will be removed in a future version.

Authorization

basic

Request Parameters

1 Path Parameter

Request Body

1 Example
Schema
object
$schema: http://json-schema.org/draft-04/schema#
user
object

User details.

settings
object

Custom project settings.

purchase
object

Object containing purchase details.

Responses

Created.

1 Example
Schema
object
$schema: http://json-schema.org/draft-04/schema#
token
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
merchant_id
$$.env
username
password