v1
latestOpenAPI 3.1.02026-07-242325051.4 MBContactMethods
ContactMethod:Undelete
Undelete a contact method that was recently deleted. This can only be done within a 15 minute time window.
post/v2/contactmethods/{contactMethodCode}/undelete
Path parameters
contactMethodCodestring required
Provide the CM-code of the contact method you want to undelete.
Response
Undeleted
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"
}