Accounts
Flush Account
Flush the balance of an account to another account.
POST
Overview
This endpoint flushes the balance of an account to another account.
Request
Method: POST
URL: /v1/accounts/{account_number}/flush
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
x-carbon-key | Header | string | Yes | API key for authentication. |
account_number | Path | integer | Yes | The account number to flush. |
Request Body
Response
Status Code: 201 Created
Content-Type: application/json
Example Response
Authorizations
Provide your API key in the 'apikey' header.
Headers
Path Parameters
Body
application/json
Provide the required values for the request body.
Provide transaction reference
Response
201 - application/json
Created
The response is of type object
.