Documentation

sale.paysystem.settings.invoice.get

sale.paysystem.settings.invoice.get(
 invoice_id,
 bx_rest_handler
)

This method gets payment system settings for a specific invoice.

Parameters:

Method Description Available from version
invoice_id Invoice ID
bx_rest_handler REST-handler code

Example

var id = prompt("Enter invoice ID");
var handler_code = prompt("Enter REST-handler code");

BX24.callMethod('sale.paysystem.settings.invoice.get', {"invoice_id": id, "bx_rest_handler": handler_code},
	function(result)
	{
		if(result.error())
			console.error(result.error());
		else
		{
			console.dir(result.data());
		}
	}
);


© «Bitrix Inc.», 2001-2020, «Bitrix Inc.», 2020