- Updates frequent payment details
Lists frequent payments
Create frequent payment
Shows frequent payment details
Deletes frequent payment
Request Authorisation
Updates frequent payment...
Required scope: frequent:update
Segurança
accountId and apiKey
Frequent Payment object to edit existing one
Expiration date and time for the payment
Exemplo:"2017-12-12 16:05"
ISO 4217 currency code. If not specified, the default currency is set to EUR.
Value:"EUR"
Exemplo:"EUR"
The Customer object contains the necessary details about the customer involved in the transaction. This includes identification information, contact details, and preferences. All fields are optional unless specified otherwise.
Transactions will be unlimited, max or min value will be refreshed on each payment.
Padrão:true
- Sandboxhttps://api.test.easypay.pt/2.0/frequent/{id}
- Productionhttps://api.prod.easypay.pt/2.0/frequent/{id}
curl -i -X PATCH \
'https://api.test.easypay.pt/2.0/frequent/{id}' \
-H 'AccountId: 2b0f63e2-9fb5-4e52-aca0-b4bf0339bbe6' \
-H 'ApiKey: eae4aa59-8e5b-4ec2-887d-b02768481a92' \
-H 'Content-Type: application/json' \
-d '{
"status": "active",
"expiration_time": "2038-12-12 16:05",
"currency": "EUR",
"customer": {
"id": "22ea3cc9-424b-489a-91b7-8955f643dc93",
"name": "Customer Example",
"email": "customer@example.com",
"phone": "911234567",
"phone_indicative": "+351",
"fiscal_number": "PT123456789",
"key": "Key Example",
"language": "PT"
},
"key": "Example Key",
"max_value": 20,
"min_value": 2,
"unlimited_payments": false,
"sdd_mandate": {
"id": "12345678901",
"iban": "PT50002700000001234567833",
"key": "Key Example",
"name": "Name Example",
"email": "customer@example.com",
"phone": "911234567",
"account_holder": "Account Name Example",
"country_code": "PT",
"max_num_debits": "12"
}
}'OK
Unique identifier for the frequent payment
Exemplo:"86401037-1c8d-4cf3-9172-d0a29b17b9fd"
Resposta
{ "method": { "type": "DD", "sdd_mandate": { … } }, "status": "ok", "message": [ "Your request was successfully created" ] }