コンテンツにスキップ

支払方法

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

イベント名 pos:payment-methods

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