Updates frequent payment details
Changed onRequired scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">frequent:update</code>
Request
- Base URLhttps://api.test.easypay.pt/2.0
- AuthAPI key in header AccountId and API key in header ApiKey
Path parameters
Resource Identification
Request body
Status of the frequent payment
Expiration date and time for the payment
ISO 4217 currency code. If not specified, the default currency is set to 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.
The merchant's key for identifying the payment.
Maximum value allowed for transactions. Send 0 to remove the maximum.
Minimum value allowed for transactions. Send 0 to remove the minimum.
Transactions will be unlimited, max or min value will be refreshed on each payment.
The SDD Mandate object contains the necessary fields to create a SEPA Direct Debit mandate. This object ensures that all required information is provided to authorize and process SEPA Direct Debit transactions. Object required when method is Direct Debit.
Example request
{
"status": "active",
"expiration_time": "2017-12-12 16:05",
"currency": "EUR",
"customer": {
"id": "649e88cf-0b78-4c36-8f99-33f5ebb812a1",
"name": "John Doe",
"email": "john.doe@example.com",
"phone": "911234567",
"phone_indicative": "+351",
"fiscal_number": "PT123456789",
"key": "customer Key Example",
"language": "PT"
},
"key": "Key Example",
"max_value": 25.5,
"min_value": 10,
"sdd_mandate": {
"iban": "PT50002700000001234567833",
"key": "Sdd mandate Key Example",
"name": "John Doe",
"email": "john.doe@example.com",
"phone": "911234567",
"account_holder": "John Doe",
"country_code": "PT",
"max_num_debits": "12",
"billing_entity": "PT16103627"
}
}Response
OK
Status of the request
Array of status messages
Unique identifier for the frequent payment
Payment method details
Customer information
Example response
{
"status": "ok",
"message": [
"Your request was successfully created"
],
"id": "86401037-1c8d-4cf3-9172-d0a29b17b9fd",
"method": {
"type": "CC",
"status": "waiting",
"url": "https://cc.test.easypay.pt/start/86401037-1c8d-4cf3-9172-d0a29b17b9fd",
"entity": "59126",
"reference": "810000618",
"sdd_mandate": {
"id": "12345678901",
"iban": "PT50002700000001234567833",
"key": "Key Example",
"name": "Name Example",
"email": "customer@example.com",
"phone": "911234567",
"account_holder": "Acount Name Example",
"country_code": "PT",
"max_num_debits": "12",
"reference_adc": "987654321123"
}
},
"customer": {
"id": "e7bb115b-3e59-441a-bdb4-60b0f066c2d0"
}
}Changes
- info
the
max_valuerequest property's min was decreased from0.01to0.00 - info
the
min_valuerequest property's min was decreased from0.01to0.00
- info
- info
the request optional property
sdd_mandate/billing_entitybecame read-only
- info