Skip to main content
PATCH
/
location
/
{locationId}
/
payment-settings
Update payment settings
curl --request PATCH \
  --url https://api.example.com/location/{locationId}/payment-settings \
  --header 'Content-Type: application/json' \
  --data '
{
  "paymentMethods": [
    "HandledByStore",
    "PersistentCard",
    "TemporaryCard",
    "Twint",
    "RevolutPay"
  ]
}
'
{
  "mode": "stripe",
  "paymentMethods": [
    "card",
    "apple_pay",
    "google_pay",
    "twint"
  ]
}

Path Parameters

locationId
string
required

ID of the location to update payment settings for

Example:

"loc_12345"

Body

application/json

Updated payment settings

paymentMethods
enum<string>[]
required

Supported payment methods

Available options:
HandledByStore,
PersistentCard,
TemporaryCard,
Twint,
RevolutPay
Example:
[
"HandledByStore",
"PersistentCard",
"TemporaryCard",
"Twint",
"RevolutPay"
]

Response

Payment settings updated successfully

mode
enum<string>
required

Payment mode

Available options:
store,
stripe
Example:

"stripe"

paymentMethods
string[]
required

Supported payment methods

Example:
["card", "apple_pay", "google_pay", "twint"]