---
title: "Payment success webhook"
method: POST
path: "/api/webhooks/payments"
tags: ["billing"]
---

# Payment success webhook

`POST /api/webhooks/payments`

## Request

- Base URL: `https://api.monacloud.vn`
- URL: `https://api.monacloud.vn/api/webhooks/payments`
- Auth: API key in header `x-api-key`

Tạo dữ liệu hoặc thực thi thao tác tại `/api/webhooks/payments`. Phản hồi dùng JSON và tuân theo schema được công bố bên dưới.

## Headers

- `x-api-key` string

## Request body

- PaymentWebhook
  - `amount` integer, required
  - `description` string, required
  - `transfer_date` integer, required
  - `transaction_code` union, required
    - integer
    - string
  - `account_number` string, required
  - `bank_name` string, required
  - `type` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud.md) · [All operations](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud/llms.txt) · [OpenAPI document](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud/revisions/34a120ed37ce?raw)
