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

# GET /api.php

`GET /api.php`

## Query parameters

- `act` string
- `key` string, required
- `out_trade_no` string
- `pid` string, required
- `trade_no` integer, required

## Response `200`

OK

- PaymentQueryMerchantOrderResponse
  - `addtime` string
  - `code` integer
  - `endtime` string
  - `money` string
  - `msg` string
  - `name` string
  - `out_trade_no` string
  - `pid` string
  - `status` integer
  - `trade_no` string
  - `type` 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/get.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/2db3266c86e3/schema)
