---
title: "POST /api.php"
method: POST
path: "/api.php"
tags: ["payment"]
---

# POST /api.php

`POST /api.php`

## Request body

- PaymentRefundOrderRequest
  - `key` string, required
  - `money` number, required
  - `out_trade_no` string
  - `pid` string, required
  - `trade_no` integer, required

## Response `200`

OK

- PaymentRefundMerchantOrderResponse
  - `code` integer
  - `msg` string

## Changes

- **2025-12-08** `71d857447231` — 1 info
  - endpoint added
- **2025-11-28** `aad9e35a109e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/linux-do/apis/linux-do-credit/changes/api.php/post.md)

---

[API](https://skmtc.dev/linux-do/apis/linux-do-credit.md) · [All operations](https://skmtc.dev/linux-do/apis/linux-do-credit/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/linux-do/linux-do-credit/revisions/c7aa35359176/schema)
