Payrix Hosted eDDR (electronic Direct Debit Request)
eDDR (electronic Direct Debit Request)
The Payrix platform offers the ability to utilise the Payrix Hosted eDDR (electronic Direct Debit Request) page which is implemented via a re-direction to the Payrix Hosted eDDR page. This offering is the simplest way to integrate a payment solution to your software with minimal development work required.
Functionality of an eDDR:
Purpose of eDDR is to collect payment method to submit a following scheduled payment via API to debit the payers account
Has the ability to collect either card or bank account as payment method
Payment is NOT submitted in real-time
Submit schedule via API (date and amount specified in API body request)
The process for using the Payrix eDDR token is simply:
Call the POST Generate eDDR Token to obtain a token and a redirect URL.
Redirect your customer to the URL you received with the token.
After your customer has completed the form we will redirect them back to your website using the returnURL you provided when generating the token.
Call the Token Lookup API endpoint to obtain the result of the token.
Please note the token is valid for 20 minutes. You may wish to use a landing page to trigger this if the page will not be completed as part of the flow.
The typical API workflow is noted below:
Payrix Hosted eDDR
Schedule single or multiple payments - Implement Scheduling API to debit payer
Determine result of scheduled debit - GET Search for transaction status change
Remove transaction from data set - POST Acknowledge transaction status change
Step 1 - Sample API flow for successful eDDR page completion
API |
---|
Refer to Token [eDDR] Generate Model and Token [eDDR] Payer Model for more information around the API properties. |
Sample |
---|
Example Request
JSON
JSON
Example Response
JSON
|
Next Steps once page is completed and submitted
API |
---|
Call the Token Lookup API endpoint to obtain the result of the token.
|
Sample |
---|
Example Request
JSON
Example Response
JSON
|
Step 2 - Initiate a scheduled debit
Refer to Implement Scheduling API to debit payer
This concludes the API workflow of implementing the Payrix eDDR page. Refer to the next steps in implementation or our other methods available for accepting payments.