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 external accounttransfer receiver True 2.12
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 

...

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

Code examples

Code Block
languagec#
themeRDark
titleC# - Get all account types from a BFS instanceCreate a AutoGiro Transfer receiver
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);

  Blog Postssortcreationcontenttitleslabelsgetaccounttypes