POST
/
invoices
/
{id}
/
payment-method

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

Invoice identifier

Body

paymentMethodId
string
required

The payment method id to change the invoice payment method to.

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.