API reference
Get portal invoice
Retrieve a customer invoice through a StableOps Portal session, checking the invoice ID, amount, due date, and status before displaying a wallet payment flow.
GET
/v1/merchant/portal/invoices/{id}Path Parameters
id*unknown
Merchant invoice id.
Response Body
application/json
curl -X GET "https://example.com/v1/merchant/portal/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 portal invoices GET
List invoices available to a StableOps Portal session so customers can inspect their billing history, identify open invoices, and choose the next payment.
Pay portal invoice POST
Prepare a StableOps Portal invoice payment with accepted assets and return the Payment Order instructions for the customer’s own wallet to send the transfer.