Manager

post

Store manager payment

Authorizations
Body
managerAddressstringRequired

The address of the manager. Required.

Example: 0x1234567890abcdef1234567890abcdef12345678Pattern: ^(0x)[0-9a-fA-F]{40}$
tokenAddressstringRequired

The address of the token. Required.

Example: 0xabcdefabcdefabcdefabcdefabcdefabcdefabcdefPattern: ^(0x)[0-9a-fA-F]{40}$
hashstringOptional

Transaction hash. Optional.

Example: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdefPattern: ^(0x)[0-9a-fA-F]{64}$
datestring · date-timeOptional

The date of the transaction. Optional.

Example: 2024-08-20T14:30:00Z
statusstring · enumOptional

The status of the transaction. Optional.

Example: PAIDPossible values:
amountnumberOptional

The amount of the transaction. Optional.

Example: 1000
seriestring · enumOptional

The series of the token. Optional.

Example: SENIORPossible values:
typestring · enumOptional

The type of operation. Optional.

Example: AMORTIZACAOPossible values:
Responses
400

Error

application/json
post
/manager
POST /manager HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 299

{
  "managerAddress": "0x1234567890abcdef1234567890abcdef12345678",
  "tokenAddress": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcdef",
  "hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
  "date": "2024-08-20T14:30:00Z",
  "status": "PAID",
  "amount": 1000,
  "serie": "SENIOR",
  "type": "AMORTIZACAO"
}
400

Error

{
  "statusCode": "text",
  "error": "text",
  "message": "text"
}
get

Get manager payment by token

Authorizations
Path parameters
addressstringRequired

Manager's wallet address.

Example: 0x1234567890abcdef1234567890abcdef12345678Pattern: ^(0x)[0-9a-fA-F]{40}$
tokenAddressstringRequired

Manager's token address.

Example: 0x1234567890abcdef1234567890abcdef12345678Pattern: ^(0x)[0-9a-fA-F]{40}$
Responses
200

Successful response containing an array of manager's payments.

application/json
get
/manager/{address}/{tokenAddress}
GET /manager/{address}/{tokenAddress} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "id": 1,
    "managerAddress": "text",
    "tokenAddress": "text",
    "hash": "text",
    "date": "2025-11-02T23:58:59.070Z",
    "status": "PAID",
    "amount": 1,
    "serie": "SENIOR",
    "type": "AMORTIZACAO"
  }
]
put

Update manager payment

Authorizations
Path parameters
addressstringRequired

Security token address.

Example: 0x1234567890abcdef1234567890abcdef12345678Pattern: ^(0x)[0-9a-fA-F]{40}$
idintegerRequired

Unique identifier of the payment.

Example: 123
Body
hashstringRequired

Transaction hash. Optional.

Example: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdefPattern: ^(0x)[0-9a-fA-F]{64}$
datestring · date-timeRequired

Date of the transaction. Optional.

Example: 2024-08-20T14:30:00Z
statusstring · enumRequired

Status of the transaction. Optional.

Example: PAIDPossible values:
amountnumberRequired

Amount of the transaction. Optional.

Example: 1000
Responses
200

Successfully updated manager payment.

application/json
put
/manager/{address}/{id}
PUT /manager/{address}/{id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 137

{
  "hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
  "date": "2024-08-20T14:30:00Z",
  "status": "PAID",
  "amount": 1000
}
{
  "success": true,
  "message": "Payment updated successfully."
}

Was this helpful?