Skip to main content
POST
Registra un incasso

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Obbligatoria. La stessa chiave entro 24 ore ripete la prima risposta 2xx.

Maximum string length: 255

Path Parameters

id
string<uuid>
required

Identificativo della risorsa.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Body

application/json
amount
number
required

In euro, al centesimo.

Required range: x <= 1000000Must be a multiple of 0.01
method
enum<string>
required
Available options:
cash,
credit_card,
debit_card,
bank_transfer,
insurance,
other
notes
string
Maximum string length: 500

Response

L'incasso e la fattura aggiornata.

payment
object
required
invoice
object
required