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.

Autorizaciones

  • Authorizationstringheaderobligatorio

    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.

Permiso necesario: organization.billing.pay

Parámetros de ruta

  • idstring<uuid>obligatorio

Cuerpo

application/json
  • providerTransactionIdstringobligatorio

    Límites:length >= 1

  • providerTypeenum<string>obligatorio

    Valores permitidos:STRIPEMANUALACCOUNT_CREDIT

Respuesta

200 · application/json

OK

  • successbooleanobligatorio

    Valores permitidos:true

  • dataobject | nullobligatorio