Documentation

sale.paysystem.settings.invoice.get

Scope: pay_system Permissions to execute: for all

Description

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

The method gets payment system settings for specific invoice.

Parameters:

a
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());
		}
	}
);


© «Bitrix24», 2001-2024