Cards
This is where the cards are gonna be managed
Create a card
post
Authorizations
Body
checkingAccountIdstringRequired
cardTypeobjectRequired
userIdstringRequired
previousCardIdstringRequired
Responses
201Success
application/json
Responseobject
post
POST /api/v1/card HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 256
{
"checkingAccountId": "text",
"cardType": {},
"userId": "text",
"address": {
"streetName": "text",
"streetNumber": "text",
"floor": "text",
"apartment": "text",
"city": "text",
"region": "text",
"country": "text",
"zipCode": "text",
"neighborhood": "text"
},
"previousCardId": "text"
}
201Success
{}
Get detailed Card info
get
Authorizations
Path parameters
idstringRequired
Responses
200Success
get
GET /api/v1/card/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
200Success
No content
Allocate funds from an Checking Account into an card
post
Authorizations
Body
checkingAccountIdstringRequired
Id of the checking account from which the resource will be allocated
recipientstringRequired
Address of the recipient who can withdrawn the amount allocated
amountstringRequired
Amount in wei thats gonna be allocated
limitDateToGetPaymentstringRequired
Limit date to withdrawn the allocated resource
Responses
201Success
application/json
Responseobject
post
POST /api/v1/allocated-resources/allocate HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 94
{
"checkingAccountId": "text",
"recipient": "text",
"amount": "text",
"limitDateToGetPayment": "text"
}
201Success
{}
Last updated