---
title: "paymentMethodUpdated payment-method"
method: POST
path: "/payment_method/updated"
tags: ["payment-method"]
---

# paymentMethodUpdated payment-method

`POST /payment_method/updated`

Handle payment method update events from PubSub

## Query parameters

- `token` string, required — Verification token sent as a query string

## Request body

- PubSubPayload2
  - `deliveryAttempt` integer — The number of times the service has attempted to deliver a message.
  - `message` MessagePayload
    - `attributes` object — Attributes of the message.
    - `data` string, required — Base64 data body.
    - `messageId` string — The message ID.
    - `orderingKey` string — The ordering key of the message.
    - `publishTime` string — The time at which the message was published.
  - `subscription` string — The subscription name.

## Response `200`

OK response.

## Other responses

- `400` — BadRequest: Bad Request response.
- `401` — Unauthorized: Unauthorized response.
- `403` — InvalidScopes: Forbidden response.

---

[API](https://skmtc.net/topi/apis/topi-public-api.md) · [All operations](https://skmtc.net/topi/apis/topi-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topi/topi-public-api/revisions/fa134b7fc959/schema)
