Skip to main content
POST
Pay an invoice

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Headers

spacebring-network-id
string<uuid>

The id of the network. Required when using bearer token authentication

Path Parameters

invoiceId
string<uuid>
required

The id of an invoice

Body

application/json
amount
number

Partial payment amount in major units.

Required range: x > 0
payment
object

Payment details. Takes precedence over the deprecated paymentMethod field.

paymentMethod
object
deprecated

Payment method to use. Use payment.method instead.

Whether the user has accepted the payment terms.

Response

OK

invoice
object
payment
object