API reference
Retrieve a merchant invoice
Retrieve a StableOps merchant invoice by ID to inspect its amount, due date, subscription link, and payment status before requesting payment or reconciling it.
GET
/v1/merchant/invoices/{id}Authorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Path Parameters
id*unknown
Merchant invoice id.
Response Body
application/json
curl -X GET "https://example.com/v1/merchant/invoices/{id}"{
"id": "string",
"subscription_id": "string",
"merchant_user_id": "string",
"kind": "first",
"period_start": "2019-08-24T14:15:22Z",
"period_end": "2019-08-24T14:15:22Z",
"amount": "string",
"asset": "USDC",
"status": "open",
"payment_order_id": "string",
"target_plan_id": "string",
"due_at": "2019-08-24T14:15:22Z",
"paid_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}How is this guide?
Last updated
List merchant invoices GET
List StableOps merchant subscription invoices to inspect billing periods, amounts, and payment states, then identify unpaid or late invoices for follow-up.
Pay a merchant invoice POST
Prepare payment for a StableOps merchant invoice with accepted chains and assets, then use the returned Payment Order instructions for a wallet transfer.