CreateDirectBankWithdrawalOrders

Inputs (Array[] of DirectBankWithdrawalOrder) inherits from EntityBase

NameTypeDescriptionMandatoryAvailable from version
BrickIdGuidNot used.

AccountGuid

This is the system Id of the account which the withdrawal concerns.

True2.20.1
AmountDecimal

This is the amount which should be withdrawn from the account. Negative amount is not allowed.

Example: 1000

True2.20.1
CashCurrencyCodeString

This the ISO-currency code of the withdrawal.

Example: SEK

True2.20.1
ExternalReferenceString

This can be any combination of characters which is used by the sender to link information between BFS and external systems

Example: 465465456 (as the transaction ID of the external system)

True2.20.1
TransferReceiverGuidThe BFS-id of the TransferReceiver. From version 2.20.1 you will only be able to use transfer receivers of type BankGiro and 

DirectBankDomestic

True2.20.1
OrderNostring(NOT USED AS INPUT) Used to identify the order that was created from this object when receiving the response from calling the method.
2.20.1

Outputs

NameTypeDescriptionAvailable from version




Code Examples

C# - Create a Withdrawal Cash Order in a BFS instance
//Create two withdrawals with the CreateDirectBankWithdrawalOrders method
            var client = new BFSServiceReference.bfsapiSoapClient();

var credentials = new BFSServiceReference.Credentials()
{
    UserName = bfsusername, //Username of administrative user in your instance of BFS
    Password = bfspassword, //Password of the administrative user in your instance of BFS
};

var response = client.CreateDirectBankWithdrawalOrders(new BFSServiceReference.CreateDirectBankWithdrawalOrderRequest()
{
    Credentials = credentials,

    identify = bfsidentifier, //Identifier is a unique token for your instance of BFS        

    Entities = new[]
    {
        new DirectBankWithdrawalOrder()
        {
            Account = Guid("2c9ca11e-22a4-4715-b13a-cbb7eca5ee65"),
            Amount = 100,
            CashCurrencyCode= "SEK",
            ExternalReference = "Test1",
            TransferReceiver = new Guid("28dcb516-1a64-42d6-a886-b83bde5e81bf")
        },
        new DirectBankWithdrawalOrder()
        {
            Account = Guid("e7dd5b20-1909-47d8-9d2e-12b0835d3d96"),
            Amount = 110,
            CashCurrencyCode= "SEK",
            ExternalReference = "Test2",
            TransferReceiver = new Guid("28dcb516-1a64-42d6-a886-b83bde5e81bf")
        }
    }

});

foreach (var c in response.Entities)
{
    Console.WriteLine("OrderNo of the created order: " + c.OrderNo);
}



Terms of License
Change Policy
© 2009 - 2024 Huddlestock Technologies AB All rights reserved