Send an email, or an SMS to the customer, requesting for an payment option
Definition
Here are a list of terms, used in this document.
Term | description |
---|---|
Request | FarPay sends a message, based on a standard, or customized template, that requests the customer to create a payment option |
Payment option | A common term of a payment mandate, used for recurring payments. When given, the customer gives the sender the capability of a withdraw of a specific amount, from the payment option. |
Channel | The request can be distributed to the customer by a channel, given the user the capability of completing the request of creating the payment option. |
Available channels
The available channels are currently:
- SMS
The email is free of charge, while SMS has a marginal cost, attached to each sent SMS.
How to send a request
Email request
Send an e-mail to customer 123456
with email address [email protected]
https://farpay-api-staging.azurewebsites.net/v2/customers/123456/agreementRequest?type=card&email=hans%40hansen.dk
SMS Request
Send an SMS to customer 123456
with phone number +45nnnnnnnn
https://farpay-api-staging.azurewebsites.net/v2/customers/123456/agreementRequest?type=card&phone=%2B45nnnnnnnn
Flow
Here is a flow description, of how the system acts upon the request, sent to FarPay. The example is sending a push notification to the customer phone.
Step | Action |
---|---|
1 | Create the API request |
2 | Customer receives an e-mail or SMS with a link to create the mandate |
3 | Customer accepts terms |
4 | Mandate (Payment option) is created |
Step 1: Create the request, using the API, as mentioned above in "How to send a request"
Step 2: The customer receives an email or SMS with a link to the agreement.
Step 3
The customer clicks the link and is redirected to the agreement page. The customer can read the terms and conditions and accept the agreement.
Step 4
The customer sees a confirmation message that the agreement has been created.