Documentation

crm.item.payment.unpay

crm.item.payment.unpay(id: number)

This method updates payment status «Not paid».

Parameters

Parameter Description
id Payment ID.

Example

BX.rest.callMethod(
	'crm.item.payment.unpay',
	{
		id: 179,
	},
	function(result) 
	{
		if (result.error())
		{
			console.error(result.answer.error_description);
		}
		else
		{
			console.log(result.data());
		}
	}
);


© «Bitrix24», 2001-2024