Link Saltpay bank account
Links a Saltpay bank account as a settlement account for the provided entity.
The entities that can be linked to a Saltpay bank account are:
-
Company
Payments made to that company through the Noona marketplace will be settled to the linked Saltpay bank account.
-
User
If a user is linked to a Saltpay bank account, and the company allows it, the user can receive payments through the Noona marketplace to the linked Saltpay bank account.
/v1/hq/integrations/saltpay/companies/{company_id}/bank_accounts/{bank_account_id}Authorization
BearerTokenAuth
The Noona HQ API uses Bearer token for authentication.
Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.
Authorization: Bearer your-token
In: header
Path Parameters
Saltpay Company ID
Saltpay Bank Account ID
Query Parameters
Request Body
application/json
Deprecated: use company_id instead
"7awdXwZoedakjad37a"The company ID tied to the bank account.
"7awdXwZoedakjad37a"The user ID tied to the bank account.
Note: A user can only tie a bank account to his own user ID.
"7awdXwZoedakjad37a"Response Body
application/json
curl -X POST "https://api.noona.is/v1/hq/integrations/saltpay/companies/string/bank_accounts/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "7awdXwZoedakjad37a",
"name": "Main account",
"description": "I want all the money here!",
"ssn": "0503205160",
"bank": "0542",
"book": "02",
"account": "220865",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}