Documentation

POST invoice/payment

Used for

Create payment for invoice. This can be based on a payment provider or based on the PIN or CASH method.
No payment is created at the payment provider. This API is to register the external payment in i-Reserve.

Authentication

Admin access

Parameters

Parameter Description Mandatory Example
method Payment method, payment provider or PIN, CASH Yes* INGENICO
invoice_number Invoice number Yes* 1721
amount Amount in cents (integer) Yes 1095 (=10.95)
currency Currency Yes EUR

Example

Create a payment for invoice.

POST api/rest/invoice/payment
request:
{
   "method": "INGENICO",
   "invoice_number": 1721,
   "amount": 1095,
   "currency": "EUR"
}
Response:
{
   "20093108"
}
The following right may be necessary in order to use this functionality.