A representation of a system that Elevate will interoperate with to collect payments, e.g. Go Cardless or Finastra
- Create a new invoice payment
Elevate Payment and Refund API (1.37)
- PaymentProvider - a representation of a system that Elevate will interoperate with to collect payments, e.g. Go Cardless
- SitePaymentMandate - a token from the payment provider that gives authority to take a direct debit from a bank account
- InvoicePayment - a single payment for an invoice that has happened externally or passed to a payment provider to collect funds
- AdhocInvoicePayment - a single payment for an adhoc invoice that has happened externally or passed to a payment provider to collect funds
- Refund - the funds returned to the customer that have previously been collected
- CustomerPayments - a single payment to an invoice or customer outstanding balance
- CustomerOutstandingBalance - the amount a customer is in debt (if negative) or has in credit (if positive)
- CustomerCreditStatus - returns a customer balance versus their credit threshold
- PaymentProviderPaymentLink - An external hyperlink that allows a customer to pay for an invoice or any amount towards the customer balance
Results to return per page
Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change
Comma-delimited list of the field(s) to return if only a subset is required
Filter by customer payment type
- https://rest.elevatebilling.com/v1/invoice-payments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/invoice-payments?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&billRunId=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&customerPaymentType=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&customerPaymentId=0&generatedInvoiceId=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Invoice payment status. Not applicable for manual payments
Amount in major currency (e.g pounds/dollars/euros)
Payment description
Meta data
Error information from payment provider
Payment method
Type of payment
[ { "id": 1, "generatedInvoiceId": 1, "thirdPartyPaymentStatus": "NEW", "amountInMajorCurrency": 10.5, "currencyId": 1, "description": "string", "metaData": "string", "errorInfo": "string", "paymentMethod": "CHEQUE", "paymentDate": "2019-08-24", "customerPaymentType": "CUSTOMER", "customerPaymentId": 1 } ]
New invoice payment
Invoice payment status. Not applicable for manual payments
Amount in major currency (e.g pounds/dollars/euros)
Payment description
- https://rest.elevatebilling.com/v1/invoice-payments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/invoice-payments \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"generatedInvoiceId": 1,
"thirdPartyPaymentStatus": "NEW",
"amountInMajorCurrency": 10.5,
"description": "string",
"paymentMethod": "CHEQUE"
}'OK
Invoice payment status. Not applicable for manual payments
Amount in major currency (e.g pounds/dollars/euros)
Payment description
Meta data
Error information from payment provider
Payment method
Type of payment
{ "id": 1, "generatedInvoiceId": 1, "thirdPartyPaymentStatus": "NEW", "amountInMajorCurrency": 10.5, "currencyId": 1, "description": "string", "metaData": "string", "errorInfo": "string", "paymentMethod": "CHEQUE", "paymentDate": "2019-08-24", "customerPaymentType": "CUSTOMER", "customerPaymentId": 1 }
- https://rest.elevatebilling.com/v1/invoice-payments/{invoice_payment_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v1/invoice-payments/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Invoice payment found
Invoice payment status. Not applicable for manual payments
Amount in major currency (e.g pounds/dollars/euros)
Payment description
Meta data
Error information from payment provider
Payment method
Type of payment
{ "id": 1, "generatedInvoiceId": 1, "thirdPartyPaymentStatus": "NEW", "amountInMajorCurrency": 10.5, "currencyId": 1, "description": "string", "metaData": "string", "errorInfo": "string", "paymentMethod": "CHEQUE", "paymentDate": "2019-08-24", "customerPaymentType": "CUSTOMER", "customerPaymentId": 1 }