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.

Autorisations

  • Authorizationstringheaderobligatoire

    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.

Permission requise : organization.billing.pay

Paramètres de chemin

  • idstring<uuid>obligatoire

Corps

application/json
  • providerTransactionIdstringobligatoire

    Limites :length >= 1

  • providerTypeenum<string>obligatoire

    Valeurs autorisées :STRIPEMANUALACCOUNT_CREDIT

Réponse

200 · application/json

OK

  • successbooleanobligatoire

    Valeurs autorisées :true

  • dataobject | nullobligatoire