POST
/
invoices
/
{id}
/
payments

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

Invoice identifier

Body

paymentMethod
string
required

The payment method id used for the payment.

description
string
required

The description of the payment.

amount
number

The amount of the payment.

currencyCode
string | null

The currency of the payment. If not set, the currency of the invoice is used.

feeAmount
number | null

Optional fees, which occured for that payment. This is only for informational purposes.

paymentDate
string | null

The date of the payment. If not set, the current date is used.

Response

201
application/json
id
string

The unique identifier of the invoice.

customer
object

The customer of the invoice.

paymentMethod
object | null

The payment method which should be used to fullfill the payment of the invoice.

referencedInvoice
object | null

The referenced invoice of the invoice. This could be in case of a reminder, refund etc.