Paycose Docs
Application
PUT/applications/{id}/countries/{country}/webhook/token

Update Webhook Token

Request body: SetWebhookTokenDTO

Responses: 200, 400

Generated from the code contract; no hand-written description yet.

Request

Example

curl -X PUT 'https://api.paycose.com/api/v1/app1/platform/wallet/applications/{{id}}/countries/{{country}}/webhook/token' \
  -H 'Content-Type: application/json' \
  -d '{
  "token": "<string>"
}'

Headers

NameValue
Content-Typeapplication/json

Body

NameTypeValue
tokenstring<string>
{
  "token": "<string>"
}

Responses

400400 Bad Request

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}

On this page