TillsafeDocstillsafe.comRequest early access

Merchant

Settings for the key's mode

GET /v1/merchant/settings

Retrieve the merchant settings for this mode.

Authentication: Secret key

Responses

StatusDescriptionBody
200
MerchantSettings application/json
401
ErrorResponse application/json

POST /v1/merchant/settings

Update the merchant settings for this mode. Omitted fields are unchanged.

webhook_url must be a public https:// endpoint. Registered destinations cannot be changed here.

Authentication: Secret key

Parameters

ParameterInTypeDescription
Idempotency-Keyrequiredheaderstring

Unique per logical operation

Request body

application/json

UpdateSettingsRequest

FieldTypeDescription
display_namestring or null
webhook_urlstring or null

https:// URL of your webhook endpoint, or null to stop deliveries.

default_assetsarray of string or null
underpay_tolerance_bpsinteger (int32) or null
  • Minimum: 0

Responses

StatusDescriptionBody
200
MerchantSettings application/json
400

Invalid value, including a refused webhook URL

ErrorResponse application/json
403

Tried to change registered destinations, or a live-mode webhook URL (use the dashboard)

ErrorResponse application/json

POST /v1/merchant/webhook_secret/roll

Replace the webhook signing secret. The response is the only time the new secret is readable; deliveries are signed with it from now on.

Authentication: Secret key

Parameters

ParameterInTypeDescription
Idempotency-Keyrequiredheaderstring

Unique per logical operation

Responses

StatusDescriptionBody
200
WebhookSecret application/json
401
ErrorResponse application/json
403

Live mode: use the dashboard's protected-change flow

ErrorResponse application/json