コンテンツにスキップ

支払方法分類

POST
/webhook-payment-method-groups
curl --request POST \
--url https://api.smaregi.dev/TARGET-CONTRACT-ID/pos/webhook-payment-method-groups \
--header 'Content-Type: application/json' \
--data '{ "contractId": "string", "event": "string", "action": "created", "paymentMethodGroupIds": [ "1", "10", "12" ] }'
Smaregi-Event
string

イベント名 pos:payment-method-groups

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • created: 登録
  • edited: 更新
  • deleted: 削除
string
Allowed values: created edited deleted
paymentMethodGroupIds
支払方法分類IDリスト
array
Example
{
"contractId": "string",
"event": "string",
"action": "created",
"paymentMethodGroupIds": [
"1",
"10",
"12"
]
}