Update a single Payment
Apply partial modifications to a single payment resource.
Required scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">single: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
ISO 4217 currency code. If not specified, the default currency is set to EUR.
The Customer object contains detailed information about the customer involved in the transaction. Used for update operations where all fields are optional.
A customizable text field for users to input their own identifier for the resource. This can be any string that helps the user uniquely identify or reference the resource in their own system.
The SDD Mandate object contains the necessary fields to update a SEPA Direct Debit mandate. All fields are optional for update operations.
Example request
{
"currency": "EUR",
"customer": {
"name": "Jonh Doe",
"email": "customer@example.com",
"phone": "962496235",
"phone_indicative": "351",
"fiscal_number": "PT277712580",
"key": "01J1PKR2RPHJNJQGFWGDYXY0KM",
"language": "PT"
},
"key": "01J1PKR2RPHJNJQGFWGDYXY0KM",
"sdd_mandate": {
"iban": "PT50002700000001234567833",
"key": "Sdd mandate Key Example",
"name": "John Doe",
"email": "john.doe@example.com",
"phone": "911234567",
"account_holder": "John Doe"
}
}Response
OK
An array of messages providing details about the response status. These messages give additional context about the operation result.
Indicates the overall status of the API response. 'ok' means the request was successful, 'error' indicates there was a problem.
Example response
{
"id": "c6056234-a3f9-42de-b944-3ed793fcb6bb",
"message": [
"Your request was successfully created"
],
"status": "ok",
"method": {
"entity": "11683",
"reference": "665876931",
"url": "https://cc.easypay.pt/v3/public/card-details/cec55ab6-bda3-4ab3-af22-04d2ad2c046a"
},
"customer": {
"id": "c6056234-a3f9-42de-b944-3ed793fcb6bb"
}
}Changes
No recorded changes to this operation across all 11 revisions of this API.