API reference
Get portal invoice payment status
Check a StableOps Portal invoice payment status within the customer’s session to refresh billing progress and avoid treating browser redirects as payment proof.
GET
/v1/merchant/portal/invoices/{id}/payment-statusPath Parameters
id*unknown
Merchant invoice id.
Response Body
application/json
curl -X GET "https://example.com/v1/merchant/portal/invoices/{id}/payment-status"{
"invoice_id": "string",
"status": "open",
"payment_order": {
"id": "string",
"merchant_order_id": "string",
"amount": "string",
"requested_amount": "string",
"status": "created",
"expires_at": "2019-08-24T14:15:22Z",
"payment_instructions": [
{
"chain": "ethereum",
"asset": "USDC",
"address": "string"
}
]
}
}How is this guide?
Last updated
Create portal invoice checkout session POST
Create a StableOps hosted Checkout Session for a Portal invoice with accepted assets and return URLs, then redirect the customer and verify invoice settlement.
Cancel portal subscription POST
Cancel a subscription through its StableOps Portal session, choosing immediate or period-end cancellation and checking the state before updating access.