Savings Accounts

Create pay-in to a business' savings account

Transfers money from a business' main account to its savings account.

post/v1/businesses/{business_id}/deposit_accounts/{account_id}/payin

Path parameters

business_idstring required

Unique ID of a business.

account_idstring required

Unique ID of a Solaris account.

Request body

main_account_idstring required

ID of the main account.

referencestring uuid required

UUID to use as an idempotency reference for the transaction.

descriptionstring

Optional note about the transaction.

Example request

{
  "main_account_id": "148c29b85992b8772eb7ddd518490110cacc",
  "reference": "162ddd7e-790c-5963-908f-4cedfd30f9a1",
  "description": "Transfer money into Deposit Account",
  "amount": {
    "value": 5000,
    "unit": "cents",
    "currency": "EUR"
  }
}

Response

The transaction has been executed.

idstring required

Transaction ID of the pay-in request.

main_account_idstring required

ID of the main account.

referencestring uuid required

UUID to use as an idempotency reference for the transaction.

descriptionstring

Optional note about the transaction.

created_atstring date-time

UTC timestamp from when the transaction was requested.

Example response

{
  "id": "d222a0b8-07ea-49be-83c1-68719be286e8",
  "main_account_id": "148c29b85992b8772eb7ddd518490110cacc",
  "reference": "162ddd7e-790c-5963-908f-4cedfd30f9a1",
  "description": "Transfer money from Deposit Account to Main Account",
  "amount": {
    "value": 5000,
    "unit": "cents",
    "currency": "EUR"
  },
  "created_at": "2023-10-10T16:02:54Z"
}