A representation of a system that Elevate will interoperate with to collect payments, e.g. Go Cardless or Finastra
- Get a list of refunds
Trigger a refund for an invoice or an adhoc invoice payment
Get a list of refunds
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
Download OpenAPI description
Languages
Servers
https://rest.elevatebilling.com/v1
- https://rest.elevatebilling.com/v1/refunds
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/refunds?customerId=1&invoiceId=1&billRunType=NORMAL&page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Third party refund status
Enum"CREATED""PENDING_SUBMISSION""SUBMITTED""PAID""CANCELLED""BOUNCED""FUNDS_RETURNED""MANUALLY_REFUNDED""REFUND_SETTLED"
Refund description
Error information from third party payment provider
Payment method
Enum"CHEQUE""DIRECT_DEBIT""CANCELLED_DD""CANCELLED_CARD""CREDIT_CARD""PAYPAL""BACS""POST_OFFICE_PAYMENT_CARD""EZYPAY""GO_CARDLESS"
Amount to refund in major currency (e.g pounds/dollars/euros)
Example: 10.5
Response
application/json
[ { "id": 1, "invoiceId": 1, "customerId": 1, "billRunType": "NORMAL", "thirdPartyRefundStatus": "CREATED", "description": "string", "errorInfo": "string", "paymentMethod": "CHEQUE", "amountInMajorCurrency": 10.5 } ]
Bodyapplication/jsonrequired
Create a refund for an invoice
Refund description
Payment method
Enum"CHEQUE""DIRECT_DEBIT""CANCELLED_DD""CANCELLED_CARD""CREDIT_CARD""PAYPAL""BACS""POST_OFFICE_PAYMENT_CARD""EZYPAY""GO_CARDLESS"
- https://rest.elevatebilling.com/v1/refunds
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/refunds \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"invoiceId": 1,
"billRunType": "NORMAL",
"description": "string",
"paymentMethod": "CHEQUE",
"amountInMajorCurrency": 10.5
}'OK
Third party refund status
Enum"CREATED""PENDING_SUBMISSION""SUBMITTED""PAID""CANCELLED""BOUNCED""FUNDS_RETURNED""MANUALLY_REFUNDED""REFUND_SETTLED"
Refund description
Error information from third party payment provider
Payment method
Enum"CHEQUE""DIRECT_DEBIT""CANCELLED_DD""CANCELLED_CARD""CREDIT_CARD""PAYPAL""BACS""POST_OFFICE_PAYMENT_CARD""EZYPAY""GO_CARDLESS"
Response
application/json
{ "id": 1, "invoiceId": 1, "customerId": 1, "billRunType": "NORMAL", "thirdPartyRefundStatus": "CREATED", "description": "string", "errorInfo": "string", "paymentMethod": "CHEQUE", "amountInMajorCurrency": 10.5 }