Rename a wallet
Update the name of a specific wallet.
Path parameters
-
The Company ID given by Fipto.
Format should match the following pattern:
[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}
. -
The Wallet ID given by Fipto.
Format should match the following pattern:
[0-9a-zA-Z]{22}
.
PATCH
/companies/{company_id}/wallets/{wallet_id}
curl \
-X PATCH https://api.fipto.app/companies/9de0691c-bc8d-409b-8f40-75d4f45db2f3/wallets/3Qv67yjXEwB9SjmvkuG6Cp \
-H "Content-Type: application/json" \
-d '{"data":{"type":"wallet","attributes":{"name":"string"}}}'
Request example
{
"data": {
"type": "wallet",
"attributes": {
"name": "string"
}
}
}
Request examples
{
"data": {
"type": "wallet",
"attributes": {
"name": "string"
}
}
}
Response examples (200)
{
"meta": {
"request_id": "string",
"query_parameters": {}
},
"data": {
"type": "wallet",
"attributes": {
"name": "string",
"asset": "BTC",
"subtype": "primary",
"balances": {
"available": "string",
"forecasted": "string"
}
},
"id": "string"
}
}
Response examples (200)
{
"meta": {
"request_id": "string",
"query_parameters": {}
},
"data": {
"type": "wallet",
"attributes": {
"name": "string",
"asset": "BTC",
"subtype": "primary",
"balances": {
"available": "string",
"forecasted": "string"
}
},
"id": "string"
}
}