API

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.

POST/v1/hq/integrations/saltpay/companies/{company_id}/bank_accounts/{bank_account_id}

Authorization

BearerTokenAuth

AuthorizationBearer <token>

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

company_id*string

Saltpay Company ID

bank_account_id*string

Saltpay Bank Account ID

Query Parameters

select?array<string>
expand?array<string>

Request Body

application/json

enterprise_id?stringDeprecated

Deprecated: use company_id instead

Example"7awdXwZoedakjad37a"
company_id?string

The company ID tied to the bank account.

Example"7awdXwZoedakjad37a"
user_id?string

The user ID tied to the bank account.

Note: A user can only tie a bank account to his own user ID.

Example"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"
}