Rename a wallet details
Update the name of a specific wallet details.
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}
. -
The Wallet details ID given by Fipto.
PATCH
/companies/{company_id}/wallets/{wallet_id}/wallet-details/{wallet_details_id}
curl \
-X PATCH https://api.fipto.app/companies/9de0691c-bc8d-409b-8f40-75d4f45db2f3/wallets/3Qv67yjXEwB9SjmvkuG6Cp/wallet-details/fd095ab3-bc8d-409b-8f40-75d4f45db2f3 \
-H "Content-Type: application/json" \
-d '{"data":{"attributes":{"name":"My new wallet detail"}}}'
Request example
{
"data": {
"attributes": {
"name": "My new wallet detail"
}
}
}
Request examples
{
"data": {
"attributes": {
"name": "My new wallet detail"
}
}
}
Response examples (200)
{
"meta": {
"request_id": "string",
"query_parameters": {}
},
"data": {
"id": "string",
"type": "wallet_details",
"attributes": {
"asset": "BTC",
"address": "0x71C*",
"name": "Acme - Payment Project X"
}
}
}
Response examples (200)
{
"meta": {
"request_id": "string",
"query_parameters": {}
},
"data": {
"id": "string",
"type": "wallet_details",
"attributes": {
"asset": "BTC",
"address": "0x71C*",
"name": "Acme - Payment Project X"
}
}
}