---
title: "Check the payment status of the current account with Stripe"
method: POST
path: "/billing/purchases/{id}/reconcile"
tags: ["billing"]
---

# Check the payment status of the current account with Stripe

`POST /billing/purchases/{id}/reconcile`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/billing/purchases/{id}/reconcile`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Response `200`

Top-up status after the check

- object
  - `success` boolean, required
  - `purchase` object, required
    - `id` string, required
    - `pack_name` string, required
    - `credits` integer, required
    - `amount` integer, required
    - `currency` string, required
    - `kind` 'credits' | 'usage', required
    - `status` 'pending' | 'paid' | 'expired' | 'failed', required
    - `created_at` integer, required
    - `paid_at` integer, nullable, required

## Other responses

- `404`: Top-up not found
- `503`: Unable to check the payment right now

---

[API](https://skmtc.dev/mailly/apis/mailly-api.md) · [All operations](https://skmtc.dev/mailly/apis/mailly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mailly/apis/mailly-api/revisions/1ceb29637301?raw)
