v1
latestOpenAPI 3.1.02026-07-242325051.4 MBContactMethods
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}
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"
}