Create Adjustment

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
adjustment_type
required
string

Type of adjustment to be performed on the target account. Currently supported adjustments are

  • CREDIT - Credit adjustments increase the available balance of the underlying account
  • DEBIT - Debit adjustments decrease the available balance of the underlying account
target_account_id
required
string

Target account ID into which the credit adjustment is being applied. A credit adjustment is not available on all account types. Typically this is used for managing balances on accounts with a product_type of VIRTUAL. Adjustments cannot be performed on accounts with a product_type of DEPOSIT

amount
required
number

Total amount to credit to the target account. Use only positive values.

Responses
200

Success

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Error

post/v1/adjustments
Request samples
application/json
{
  • "adjustment_type": "CREDIT",
  • "target_account_id": "string",
  • "amount": 0
}
Response samples
application/json
{
  • "data": {
    }
}
© 2023 Layer2 Financial Inc. All Rights Reserved.