A representation of a system that Elevate will interoperate with to collect payments, e.g. Go Cardless or Finastra
- Get a list of customer or invoice payments
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
Filter out negative payments
- https://rest.elevatebilling.com/v1/customer-payments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/customer-payments?customer_id=1&page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&filter=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&customerPaymentType=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&excludeDebits=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&excludeCredits=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Amount in major currency (e.g pounds/dollars/euros)
customer balance after transaction has been applied in major currency (e.g pounds/dollars/euros)
Payment description
Payment reference from third party payment system
Payment method
Type of payment
Type of transaction
[ { "id": 1, "customerId": 1, "amountInMajorCurrency": 10.5, "resultingCustomerBalance": 10.5, "currencyId": 1, "description": "string", "reference": "string", "type": "CHEQUE", "paymentDate": "2019-08-24", "customerPaymentType": "CUSTOMER", "txnType": "INVOICE_CREATED", "invoiceNumber": "string", "invoiceId": 0, "billRunType": "NORMAL" } ]
New customer payment
Amount in major currency (e.g pounds/dollars/euros)
Payment description
Payment reference from third party payment system
Payment method
- https://rest.elevatebilling.com/v1/customer-payments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/customer-payments \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"customerId": 1,
"amountInMajorCurrency": 10.5,
"description": "string",
"reference": "string",
"type": "CHEQUE",
"billRunType": "NORMAL"
}'Customer payment created
Amount in major currency (e.g pounds/dollars/euros)
customer balance after transaction has been applied in major currency (e.g pounds/dollars/euros)
Payment description
Payment reference from third party payment system
Payment method
Type of payment
Type of transaction
{ "id": 1, "customerId": 1, "amountInMajorCurrency": 10.5, "resultingCustomerBalance": 10.5, "currencyId": 1, "description": "string", "reference": "string", "type": "CHEQUE", "paymentDate": "2019-08-24", "customerPaymentType": "CUSTOMER", "txnType": "INVOICE_CREATED", "invoiceNumber": "string", "invoiceId": 0, "billRunType": "NORMAL" }
- https://rest.elevatebilling.com/v1/customer-payments/{customer_payment_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v1/customer-payments/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Payment provider found
Amount in major currency (e.g pounds/dollars/euros)
customer balance after transaction has been applied in major currency (e.g pounds/dollars/euros)
Payment description
Payment reference from third party payment system
Payment method
Type of payment
Type of transaction
{ "id": 1, "customerId": 1, "amountInMajorCurrency": 10.5, "resultingCustomerBalance": 10.5, "currencyId": 1, "description": "string", "reference": "string", "type": "CHEQUE", "paymentDate": "2019-08-24", "customerPaymentType": "CUSTOMER", "txnType": "INVOICE_CREATED", "invoiceNumber": "string", "invoiceId": 0, "billRunType": "NORMAL" }