Create Transfer

Request a new transfer. The transfer must be accepted prior to executing

SecurityOAuth2: OAuth2Flow
Request
header Parameters
Authorization
string

OAuth bearer token (see authentication flows)

x-l2f-request-id
string

Optional Unique ID per request, useful for fault resolution/diagnosis and audit.

x-l2f-idempotency-id
string

Unique ID used to safely retry an operation. See idempotency section for more details.

Request Body schema: application/json
source_account_id
required
string

Source account from which funds will be withdrawn

destination_account_id
required
string

Destination account where funds will be deposited

amount
required
number

Amount to transfer from the source account to the destination account

description
string

(Optional) Description of the transfer

Responses
200

Success

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Error

post/v1/transfers
Request samples
application/json
{
  • "source_account_id": "string",
  • "destination_account_id": "string",
  • "amount": 0,
  • "description": "string"
}
Response samples
application/json
{
  • "data": {
    }
}
© 2023 Layer2 Financial Inc. All Rights Reserved.