Get Wallet Features
GET/profile/features
Returns the features configured for the current customer.
The following capabilities are exposed:
- ONBOARDING - Onboarding for new customers for the country of registration.
- DEPOSIT - Customer deposit
- WITHDRAWAL - Customer withdrawal
- PREPAID_CARD - Issuing and using prepaid cards
- P2P_TRANSFER - Peer to Peer transfers between customers
The feature state depends on the specific partner contract agreements and rollout state.
Request
Query Parameters
Possible values: >= 1
and <= 50
Default value: 10
This is the requested number of records to return. Max = 50. Default = 10.
Default value: 0
This is the requested starting position of the response entries, where 0 is the first record. Default = 0.
Responses
- 200
- 503
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
- limit - This is the requested number of records to return. Defaults to 10 and maximum is 50.
- offset - This is the requested starting position of the response, where 0 is the first record. Default = 0.
features
object[]
Possible values: [ONBOARDING
, DEPOSIT
, WITHDRAWAL
, PREPAID_CARD
, P2P_TRANSFER
]
Feature name.
Default value: true
Feature status.
meta
object
Contains paging information regarding the the returned records, when response is paginated.
The input for paginated query contains two parameters:
Note! The total number of records is not returned, to prevent queries spanning on all records. If
numberOfRecords
<limit
, this means no further pages are available. On request of offset beyond the last record, the returnednumberOfRecords
is 0.
The number of previous pages can be calculated by dividing offset
to limit
.
This is the number of records returned in the lookup. Always numberOfRecords
is smaller than or equal to limit
.
This is the requested number of records to be returned per page.
This is the requested starting position of the response, where 0 is the first record.
This is the page of records on which the lookup starts. The starting page is 1.
{
"features": [
{
"name": "ONBOARDING",
"enabled": true
}
],
"meta": {
"numberOfRecords": 1,
"limit": 10,
"offset": 0,
"page": 1
}
}
{
"features": [
{
"name": "ONBOARDING",
"enabled": true
},
{
"name": "DEPOSIT",
"enabled": true
},
{
"name": "WITHDRAWAL",
"enabled": true
},
{
"name": "PREPAID_CARD",
"enabled": false
},
{
"name": "P2P_TRANSFER",
"enabled": false
}
],
"meta": {
"numberOfRecords": 5,
"limit": 10,
"offset": 0,
"page": 1
}
}
Service Unavailable. Please try again later.
- application/json
- Schema
- Example (from schema)
- SERVICE_UNAVAILABLE
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "DW-SERVICE-UNAVAILABLE",
"message": "Service Unavailable",
"details": [
"Service Unavailable"
]
}
}