API Reference

Allocate payment

Set an existing payment as the specified invoice’s payment.

Error codes:

invoice_not_foundcannot find invoice specified in the request
payment_not_foundcannot find payment specified in the request
customer_missmatchthe invoice’s customer does not match the payment’s customer
currency_mismatchthe invoice’s currency does not match the payment’s currency
Path Params
string
required
Defaults to your-site-name-1

Name of your project

string
required

Invoice id

Body Params
string
required

Id of the payment to allocate

Responses

Language
Credentials
:
Choose an example:
application/json