Integration Guides
Customer Journey
- Customer API Overview
- Authentication
API 2.x Reference
- Authorization
- Settings Controller
- IP Controller
- Two-Factor Authentication
- User Access - Password
- Session Controller
- Tenant
- Customers B2X
- Wallet
- Transfer Order
Get Customer Consent
Get consent for a customer by consent ID
GET
/
api
/
v2.1
/
wallet-transfers
/
consents
/
customer
/
{customerId}
/
consent
/
{consentId}
Copy
curl --request GET \
--url https://sandbox.finhub.cloud/api/v2.1/wallet-transfers/consents/customer/{customerId}/consent/{consentId} \
--header 'Content-Type: application/json' \
--header 'X-Forwarded-For: <x-forwarded-for>' \
--data '{
"operationDescription": {
"operationType": "BUY",
"operationScope": "INTERNAL",
"name": "<string>",
"description": "<string>",
"enabled": true
},
"source": {
"walletAddress": "<string>",
"walletPurpose": "<string>",
"operationScope": "INTERNAL",
"serviceDefinitions": {},
"network": {
"networkId": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>"
},
"asset": {
"assetId": "<string>",
"type": "<string>",
"currency": "<string>",
"balance": 123,
"scale": 123,
"networkAddress": {
"addressId": "<string>",
"address": "<string>",
"type": "<string>",
"primary": true
}
}
},
"destination": {
"walletAddress": "<string>",
"walletPurpose": "<string>",
"operationScope": "INTERNAL",
"serviceDefinitions": {},
"network": {
"networkId": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>"
},
"asset": {
"assetId": "<string>",
"type": "<string>",
"currency": "<string>",
"balance": 123,
"scale": 123,
"networkAddress": {
"addressId": "<string>",
"address": "<string>",
"type": "<string>",
"primary": true
}
}
},
"details": "<string>"
}'
Copy
{
"code": 123,
"message": "<string>",
"data": {
"consentId": "<string>",
"customerId": "<string>",
"consentType": "<string>",
"status": "<string>",
"validFrom": "2022-03-10T16:15:50.000Z",
"validTo": "2022-03-10T16:15:50.000Z",
"transferType": "<string>",
"sourceAssetId": "<string>",
"destinationAssetId": "<string>",
"approvalDate": "2022-03-10T16:15:50.000Z",
"rejectionDate": "2022-03-10T16:15:50.000Z",
"networkOperation": {
"operationDescription": {
"operationType": "BUY",
"operationScope": "INTERNAL",
"name": "<string>",
"description": "<string>",
"enabled": true
},
"source": {
"walletAddress": "<string>",
"walletPurpose": "<string>",
"operationScope": "INTERNAL",
"serviceDefinitions": {},
"network": {
"networkId": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>"
},
"asset": {
"assetId": "<string>",
"type": "<string>",
"currency": "<string>",
"balance": 123,
"scale": 123,
"networkAddress": {
"addressId": "<string>",
"address": "<string>",
"type": "<string>",
"primary": true
}
}
},
"destination": {
"walletAddress": "<string>",
"walletPurpose": "<string>",
"operationScope": "INTERNAL",
"serviceDefinitions": {},
"network": {
"networkId": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>"
},
"asset": {
"assetId": "<string>",
"type": "<string>",
"currency": "<string>",
"balance": 123,
"scale": 123,
"networkAddress": {
"addressId": "<string>",
"address": "<string>",
"type": "<string>",
"primary": true
}
}
},
"details": "<string>"
}
}
}
Headers
Forwarded client IP address
Client user agent information
Tenant identifier for multi-tenant operations
Query Parameters
Filter by destination asset ID
Filter by source asset ID
Filter by transfer type
Body
application/json
Network operation details
Detailed information about a network operation including source and destination addresses
Response
200
application/json
Consent retrieved successfully
The response is of type object
.
Copy
curl --request GET \
--url https://sandbox.finhub.cloud/api/v2.1/wallet-transfers/consents/customer/{customerId}/consent/{consentId} \
--header 'Content-Type: application/json' \
--header 'X-Forwarded-For: <x-forwarded-for>' \
--data '{
"operationDescription": {
"operationType": "BUY",
"operationScope": "INTERNAL",
"name": "<string>",
"description": "<string>",
"enabled": true
},
"source": {
"walletAddress": "<string>",
"walletPurpose": "<string>",
"operationScope": "INTERNAL",
"serviceDefinitions": {},
"network": {
"networkId": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>"
},
"asset": {
"assetId": "<string>",
"type": "<string>",
"currency": "<string>",
"balance": 123,
"scale": 123,
"networkAddress": {
"addressId": "<string>",
"address": "<string>",
"type": "<string>",
"primary": true
}
}
},
"destination": {
"walletAddress": "<string>",
"walletPurpose": "<string>",
"operationScope": "INTERNAL",
"serviceDefinitions": {},
"network": {
"networkId": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>"
},
"asset": {
"assetId": "<string>",
"type": "<string>",
"currency": "<string>",
"balance": 123,
"scale": 123,
"networkAddress": {
"addressId": "<string>",
"address": "<string>",
"type": "<string>",
"primary": true
}
}
},
"details": "<string>"
}'
Copy
{
"code": 123,
"message": "<string>",
"data": {
"consentId": "<string>",
"customerId": "<string>",
"consentType": "<string>",
"status": "<string>",
"validFrom": "2022-03-10T16:15:50.000Z",
"validTo": "2022-03-10T16:15:50.000Z",
"transferType": "<string>",
"sourceAssetId": "<string>",
"destinationAssetId": "<string>",
"approvalDate": "2022-03-10T16:15:50.000Z",
"rejectionDate": "2022-03-10T16:15:50.000Z",
"networkOperation": {
"operationDescription": {
"operationType": "BUY",
"operationScope": "INTERNAL",
"name": "<string>",
"description": "<string>",
"enabled": true
},
"source": {
"walletAddress": "<string>",
"walletPurpose": "<string>",
"operationScope": "INTERNAL",
"serviceDefinitions": {},
"network": {
"networkId": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>"
},
"asset": {
"assetId": "<string>",
"type": "<string>",
"currency": "<string>",
"balance": 123,
"scale": 123,
"networkAddress": {
"addressId": "<string>",
"address": "<string>",
"type": "<string>",
"primary": true
}
}
},
"destination": {
"walletAddress": "<string>",
"walletPurpose": "<string>",
"operationScope": "INTERNAL",
"serviceDefinitions": {},
"network": {
"networkId": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>"
},
"asset": {
"assetId": "<string>",
"type": "<string>",
"currency": "<string>",
"balance": 123,
"scale": 123,
"networkAddress": {
"addressId": "<string>",
"address": "<string>",
"type": "<string>",
"primary": true
}
}
},
"details": "<string>"
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.