Set Callback URLs
POST {{api_base_url}}/v1/merchant/callbacks
Configure callbacks URLs for a Bolt merchant division. This will store or override only the callback URLs that are specified in the request. Operations are fully transactional.
Required Variables
url:
The endpoint path Bolt will send callback requests to.
The required variables are the minimum initial values necessary to get a request working. It is expected that you will add/modify more parameters throughout the integration process. For example, you don't need to set every callback URL or you may have different URLs per callback type.
Request Body
{"callback_urls"=>[{"type"=>"oauth_redirect", "url"=>"{{url}}"}, {"type"=>"oauth_logout", "url"=>"{{url}}"}, {"type"=>"get_account", "url"=>"{{url}}"}], "division_id"=>"{{division_id}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-API-Key | string | Bolt Account API Key |