Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Inputs (Array[]) inherits from EntityBase

NameTypeDescriptionMandatoryAvailable from version
Namestring Name of this transfer receiver True 2.1213
Commentstring A comment or description False 
BatchOrdersbool True if orders on this account should be batch processed  True 
PersonGuid The ID of the person who owns this account True 
TransferReceiverExtraInfoComplex

 Determines the account type. Also contains a type specific payload (spec below). One of the following:

  • TransferReceiverExtraInfoAutoGiro
  • TransferReceiverExtraInfoBankGiro
  • TransferReceiverExtraInfoDirectBankDomestic
  • TransferReceiverExtraInfoDirectBankForeign
  • TransferReceiverExtraInfoSecurities
  • TransferReceiverExtraInfoSecuritiesAccount
  • TransferReceiverExtraInfoPlusGiro
 True 

TransferReceiverExtraInfoAutoGiro

...

NameTypeDescriptionAvailable from version
EntitiesArrayAll TransferReceivers in the request is returned. And array of Errors per TransferReceiver 

Code examples

Code Block
languagec#
themeRDark
titleC# - Create an AutoGiro TransferReceiver
linenumberstrue
collapsetrue
var request = new bfsapi.CreateTransferReceiversRequest()
{
	Credentials = new bfsapi.Credentials
    {
		UserName = "APIUSer",
		Password = "thesecret"
    },
    identify = "theIdentity",
};

request.Entities = new bfsapi.TransferReceiver[]
{
	new bfsapi.TransferReceiver()
	{
		Name = "TheAG account",
        Comment = "A very interesting comment",
        BatchOrders = false,
        Person = new Guid("d9ed44e3-b001-4e39-9a64-0421e0f310ed"),
		TransferReceiverExtraInfo = new TransferReceiverExtraInfoAutoGiro()
        {
        	BankName = "SEB",
        	CounterPartyClearingNo = "1234",
        	CounterPartyAccountNo = "1234",
        }
	}
};

var response = bfsapiClient.CreateTransferReceivers(request);

...