Frequent Payment
Updates frequent payment details
Required scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">frequent:update</code>
patch/frequent/{id}
Path parameters
idstring uuid required
Resource Identification
Request body
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
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"
}
}