Accounts
POST /wallet/accounts
Crear nueva cuenta
Petición de ejemplo:
POST /wallet/accounts HTTP/1.1
Host: example.com
Content-Type: application/json
{
"ownerType": "USER",
"uuid": "string",
"fees": 1.0,
"annualWithdrawLimit": 1.0,
"annualDepositLimit": 1.0,
"monthlyWithdrawLimit": 1.0,
"monthlyDepositLimit": 1.0
}
-
Status Codes:
-
Account created
Ejemplo de respuesta:
HTTP/1.1 201 Created
Content-Type: application/json
{
"ownerType": "USER",
"uuid": "string",
"status": "ACTIVE",
"created": "2024-10-14T18:48:17.496156",
"updated": "2024-10-14T18:48:17.496156",
"cvu": "string",
"alias": "string",
"currency": "string",
"balance": 1.0,
"monthlyDepositOperation": 1.0,
"monthlyWithdrawOperation": 1.0
} -
Invalid payload
Ejemplo de respuesta:
HTTP/1.1 400 Bad Request
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"items": [
{
"path": "string",
"message": "string",
"type": "required"
}
]
}
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
}
-
GET /wallet/accounts/[uuid]
Get account information
- Parameters:
- uuid (string) –
Petición de ejemplo:
GET /wallet/accounts/[uuid] HTTP/1.1
Host: example.com
-
Status Codes:
-
200 OK –
Account information
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"ownerType": "USER",
"uuid": "string",
"status": "ACTIVE",
"created": "2024-10-14T18:48:17.496156",
"updated": "2024-10-14T18:48:17.496156",
"cvu": "string",
"alias": "string",
"currency": "string",
"balance": 1.0,
"monthlyDepositOperation": 1.0,
"monthlyWithdrawOperation": 1.0
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
PATCH /wallet/accounts/[uuid]
Modify an account information
- Parameters:
- uuid (string) –
Petición de ejemplo:
PATCH /wallet/accounts/[uuid] HTTP/1.1
Host: example.com
Content-Type: application/json
{
"alias": "string",
"status": "ACTIVE",
"name": "string",
"nationality": "string",
"type": "USER",
"entityId": "string"
}
-
Status Codes:
-
200 OK –
Account information
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"ownerType": "USER",
"uuid": "string",
"status": "ACTIVE",
"created": "2024-10-14T18:48:17.496156",
"updated": "2024-10-14T18:48:17.496156",
"cvu": "string",
"alias": "string",
"currency": "string",
"balance": 1.0,
"monthlyDepositOperation": 1.0,
"monthlyWithdrawOperation": 1.0
} -
Invalid payload
Ejemplo de respuesta:
HTTP/1.1 400 Bad Request
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"items": [
{
"path": "string",
"message": "string",
"type": "required"
}
]
}
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
DELETE /wallet/accounts/[uuid]
Set account in deleted state
-
Parameters:
- uuid (string) –
-
Status Codes:
-
200 OK –
Account deleted
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"message": "string"
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
PATCH /wallet/accounts/[uuid]/alias
Update account alias
- Parameters:
- uuid (string) –
Petición de ejemplo:
PATCH /wallet/accounts/[uuid]/alias HTTP/1.1
Host: example.com
Content-Type: application/json
{
"newAlias": "string"
}
-
Status Codes:
-
200 OK –
Account alias set
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"ownerType": "USER",
"uuid": "string",
"status": "ACTIVE",
"created": "2024-10-14T18:48:17.496156",
"updated": "2024-10-14T18:48:17.496156",
"cvu": "string",
"alias": "string",
"currency": "string",
"balance": 1.0,
"monthlyDepositOperation": 1.0,
"monthlyWithdrawOperation": 1.0
} -
Invalid payload
Ejemplo de respuesta:
HTTP/1.1 400 Bad Request
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"items": [
{
"path": "string",
"message": "string",
"type": "required"
}
]
}
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
GET /wallet/accounts/[uuid]/transactions
Get transactions for an account
- Parameters:
- uuid (string) –
Petición de ejemplo:
GET /wallet/accounts/[uuid]/transactions HTTP/1.1
Host: example.com
-
Status Codes:
-
200 OK –
List of transactions for the account
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"uuid": "string",
"coelsaId": "string",
"type": "DEPOSIT",
"status": "COMMITING",
"account": [],
"counterParty": [],
"amount": 1.0,
"currency": "string",
"concept": "VAR",
"summary": "string",
"description": "string",
"taxes": 1.0,
"fees": 1.0,
"createdAt": "2024-10-14T18:48:17.496156"
}
] -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
GET /wallet/accounts/[uuid]/balance
Get account balance
- Parameters:
- uuid (string) –
Petición de ejemplo:
GET /wallet/accounts/[uuid]/balance HTTP/1.1
Host: example.com
-
Status Codes:
-
200 OK –
Account balance
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": "string",
"accountId": "string",
"balance": 1.0
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
POST /wallet/accounts/[uuid]/balance
Create account balance
- Parameters:
- uuid (string) –
Petición de ejemplo:
POST /wallet/accounts/[uuid]/balance HTTP/1.1
Host: example.com
Content-Type: application/json
{
"balance": 1.0
}
-
Status Codes:
-
200 OK –
Account balance
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"message": "string"
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
PATCH /wallet/accounts/[uuid]/balance
Update account balance
- Parameters:
- uuid (string) –
Petición de ejemplo:
PATCH /wallet/accounts/[uuid]/balance HTTP/1.1
Host: example.com
Content-Type: application/json
{
"balance": 1.0
}
-
Status Codes:
-
200 OK –
Account balance
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"message": "string"
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
GET /wallet/accounts/[uuid]/limits
Get account limits
- Parameters:
- uuid (string) –
Petición de ejemplo:
GET /wallet/accounts/[uuid]/limits HTTP/1.1
Host: example.com
-
Status Codes:
-
200 OK –
Account limits
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"id": "string",
"accountId": "string",
"monthlyWithdrawLimit": 1.0,
"monthlyDepositLimit": 1.0,
"annualWithdrawLimit": 1.0,
"annualDepositLimit": 1.0
},
"statusCode": 1.0
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
POST /wallet/accounts/[uuid]/limits
Create account limits
- Parameters:
- uuid (string) –
Petición de ejemplo:
POST /wallet/accounts/[uuid]/limits HTTP/1.1
Host: example.com
Content-Type: application/json
{
"monthlyWithdrawLimit": 1.0,
"monthlyDepositLimit": 1.0,
"annualWithdrawLimit": 1.0,
"annualDepositLimit": 1.0
}
-
Status Codes:
-
200 OK –
Account limits
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"status": 1.0,
"message": "string"
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
PATCH /wallet/accounts/[uuid]/limits
Update account limits
- Parameters:
- uuid (string) –
Petición de ejemplo:
PATCH /wallet/accounts/[uuid]/limits HTTP/1.1
Host: example.com
Content-Type: application/json
{
"monthlyWithdrawLimit": 1.0,
"monthlyDepositLimit": 1.0,
"annualWithdrawLimit": 1.0,
"annualDepositLimit": 1.0
}
-
Status Codes:
-
200 OK –
Account limits
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"status": 1.0,
"message": "string"
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
GET /wallet/accounts/[uuid]/fees
Get account fees
- Parameters:
- uuid (string) –
Petición de ejemplo:
GET /wallet/accounts/[uuid]/fees HTTP/1.1
Host: example.com
-
Status Codes:
-
200 OK –
Account fees
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": "string",
"accountId": "string",
"feeType": "string",
"amount": 1.0
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
PATCH /wallet/accounts/[uuid]/fees
Update account fees
- Parameters:
- uuid (string) –
Petición de ejemplo:
PATCH /wallet/accounts/[uuid]/fees HTTP/1.1
Host: example.com
Content-Type: application/json
{
"feeType": "string",
"amount": 1.0
}
-
Status Codes:
-
200 OK –
Account fees
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"status": 1.0,
"message": "string"
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
GET /wallet/accounts/[uuid]/operado
Get account operated values
- Parameters:
- uuid (string) –
Petición de ejemplo:
GET /wallet/accounts/[uuid]/operado HTTP/1.1
Host: example.com
-
Status Codes:
-
200 OK –
Account operated values
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": "string",
"accountUUID": "string",
"monthDeposit": 1.0,
"monthWithdraw": 1.0,
"annualDeposit": 1.0,
"annualWithdraw": 1.0,
"createdAt": "2024-10-14T18:48:17.496156",
"updatedAt": "2024-10-14T18:48:17.496156"
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-
GET /wallet/accounts/[uuid]/fulloperado
Get account operated and available values
- Parameters:
- uuid (string) –
Petición de ejemplo:
GET /wallet/accounts/[uuid]/fulloperado HTTP/1.1
Host: example.com
-
Status Codes:
-
200 OK –
Account operated and available values
Ejemplo de respuesta:
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": "string",
"accountUUID": "string",
"monthDeposit": 1.0,
"monthWithdraw": 1.0,
"annualDeposit": 1.0,
"annualWithdraw": 1.0,
"createdAt": "2024-10-14T18:48:17.496156",
"updatedAt": "2024-10-14T18:48:17.496156",
"WithdrawMonthAvailable": 1.0,
"DepositMonthAvailable": 1.0,
"WithdrawAnnualAvailable": 1.0,
"DepositAnnualAvailable": 1.0
} -
Unauthorized
Ejemplo de respuesta:
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"name": "string",
"message": "string"
} -
Account not found
Ejemplo de respuesta:
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"name": "string",
"message": "string",
"detail": {
"item": "string"
}
}
-