Manager
post
Store manager payment
Authorizations
Body
managerAddressstringRequiredExample:
The address of the manager. Required.
0x1234567890abcdef1234567890abcdef12345678Pattern: ^(0x)[0-9a-fA-F]{40}$tokenAddressstringRequiredExample:
The address of the token. Required.
0xabcdefabcdefabcdefabcdefabcdefabcdefabcdefPattern: ^(0x)[0-9a-fA-F]{40}$hashstringOptionalExample:
Transaction hash. Optional.
0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdefPattern: ^(0x)[0-9a-fA-F]{64}$datestring · date-timeOptionalExample:
The date of the transaction. Optional.
2024-08-20T14:30:00Zstatusstring · enumOptionalExample:
The status of the transaction. Optional.
PAIDPossible values: amountnumberOptionalExample:
The amount of the transaction. Optional.
1000seriestring · enumOptionalExample:
The series of the token. Optional.
SENIORPossible values: typestring · enumOptionalExample:
The type of operation. Optional.
AMORTIZACAOPossible values: Responses
400
Error
application/json
post
/managerPOST /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
addressstringRequiredExample:
Manager's wallet address.
0x1234567890abcdef1234567890abcdef12345678Pattern: ^(0x)[0-9a-fA-F]{40}$tokenAddressstringRequiredExample:
Manager's token address.
0x1234567890abcdef1234567890abcdef12345678Pattern: ^(0x)[0-9a-fA-F]{40}$Responses
200
Successful response containing an array of manager's payments.
application/json
400
Error
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
addressstringRequiredExample:
Security token address.
0x1234567890abcdef1234567890abcdef12345678Pattern: ^(0x)[0-9a-fA-F]{40}$idintegerRequiredExample:
Unique identifier of the payment.
123Body
hashstringRequiredExample:
Transaction hash. Optional.
0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdefPattern: ^(0x)[0-9a-fA-F]{64}$datestring · date-timeRequiredExample:
Date of the transaction. Optional.
2024-08-20T14:30:00Zstatusstring · enumRequiredExample:
Status of the transaction. Optional.
PAIDPossible values: amountnumberRequiredExample:
Amount of the transaction. Optional.
1000Responses
200
Successfully updated manager payment.
application/json
400
Error
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?

