Post Bank Accounts
POST
/public/v3/customers/{customer_id}/account_collections
Creates customer Bank Accounts. You need to create Bank Accounts before posting Balances or Transactions
Please obtain the right bank_slug from Banks endpoint
Parameter | Data type | Required? | Description |
---|---|---|---|
customer_id | string | yes | Customer ID |
none
Parameter | Data type | Required? | Description |
---|---|---|---|
accounts | array | yes | Array of accounts |
currency | string | yes | Currency code (compatible with ISO 4217) |
name | string | yes | Account name |
bank_slug | string | yes | Slug of the associated bank |
type | enum | yes | Allowed:(Business, Personal) |
sub_type | enum | yes | Allowed:(ChargeCard, CreditCard, CurrentAccount, EMoney, Loan, Mortgage, PrePaidCard, Savings) |
number | string | yes | Account number |
Parameter | Data type | Required? | Description |
---|---|---|---|
success | string | yes | Additional information about save status |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
curl --location --request POST 'https://api.friendlyscore.com/public/v3/customers/{customer_id}/account_collections'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'
--data-raw '{
"accounts": [
{
"currency": "GBP",
"name": "Personal Bank Account *2868",
"bank_slug": "barclays",
"type": "Personal",
"sub_type": "CurrentAccount",
"number": "123-123-123-123"
}
]
}
1
2
3
{
"status": "success"
}
Was this article helpful?
Friendly Score UK Ltd.
84 Brook Street
London W1K 5EH
Call us on +44 20 3709 6726
Company registered in England
Company number 09168668, ICO ZA111687
VAT registration number 206 9758 80
Authorised and Regulated by the Financial Conduct Authority. (FRN: 821100, 781963)