Invoices

Confirm invoice payment

POST/v1/billing/invoices/{id}/confirm-payment

Confirms a payment the caller completed with the payment provider and records it on the invoice.

Authorizations

  • Authorizationstringheaderrequired

    Organization API key (org_...), created in the cloud console at https://cloud.serverside.com and shown once, sent as Authorization: Bearer <key>. It authenticates as the organization.

Required permission: organization.billing.pay

Path parameters

  • idstring<uuid>required

Body

application/json
  • providerTransactionIdstringrequired

    Limits:length >= 1

  • providerTypeenum<string>required

    Allowed values:STRIPEMANUALACCOUNT_CREDIT

Response

200 · application/json

OK

  • successbooleanrequired

    Allowed values:true

  • dataobject | nullrequired