ContactMethods
ContactMethod:Update
Updates a contact method for a merchant. All fields for the request are optional. Note you need to have access to the merchant if the contact method that you want to update is not available under your own merchant registration.
patch/v2/contactmethods/{contactMethodCode}
Request
- Base URLhttps://connect.pay.nl
- URLhttps://connect.pay.nl/v2/contactmethods/{contactMethodCode}
- Auth
- HTTP basic
- or HTTP bearer
Path parameters
contactMethodCodestring required
Provide the CM-code of the contact method you want to update.
Request body
Response
Updated
Example response
{
"code": "CM-1234-4321",
"type": "email",
"value": "sandbox@pay.nl",
"description": "The email address for the sandbox environment.",
"public": true,
"merchant": {
"code": "M-1234-4321",
"name": "GMS Demo Merchant",
"status": "ACTIVE",
"incorporationCountry": "NL"
},
"createdAt": "2024-06-04T08:15:00+01:00",
"createdBy": "A-1234-4321",
"modifiedAt": "2024-06-04T08:15:00+01:00",
"modifiedBy": "A-1234-4321",
"deletedAt": "A-1234-4321",
"deletedBy": "A-1234-4321"
}Changes
No recorded changes to this operation across all 1 revision of this API.