Get Wallet Features
GET/v2/features
Returns the feature configuration for the embedded wallet system. Each capability can be controlled at the country (state) level.
The following capabilities are exposed:
- ONBOARDING - Onboarding for new customers
- 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.
Possible values: >= 2 characters
and <= 2 characters
ISO-3166 Alpha 2
Responses
- 200
- 400
- 503
OK
- application/json
- Schema
- Example (from schema)
- FEATURE_RESPONSE_US
- FEATURE_RESPONSE
Schema
- 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.
meta
object
Contains paging information regarding 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,
"scope": [
{
"countryCode": "GB",
"states": [
"AL"
]
}
]
}
],
"meta": {
"numberOfRecords": 1,
"limit": 10,
"offset": 0,
"page": 1
}
}
{
"features": [
{
"name": "ONBOARDING",
"enabled": true,
"scope": [
{
"countryCode": "US",
"states": [
"AL"
]
}
]
},
{
"name": "DEPOSIT",
"enabled": true,
"scope": [
{
"countryCode": "US",
"states": [
"AL"
]
}
]
},
{
"name": "WITHDRAWAL",
"enabled": true,
"scope": [
{
"countryCode": "US",
"states": [
"AL"
]
}
]
},
{
"name": "PREPAID_CARD",
"enabled": false
},
{
"name": "P2P_TRANSFER",
"enabled": true,
"scope": [
{
"countryCode": "US",
"states": [
"AL"
]
}
]
}
],
"meta": {
"numberOfRecords": 5,
"limit": 10,
"offset": 0,
"page": 1
}
}
{
"features": [
{
"name": "ONBOARDING",
"enabled": true,
"scope": [
{
"countryCode": "GB"
}
]
},
{
"name": "DEPOSIT",
"enabled": true,
"scope": [
{
"countryCode": "GB"
}
]
},
{
"name": "WITHDRAWAL",
"enabled": true,
"scope": [
{
"countryCode": "GB"
}
]
},
{
"name": "PREPAID_CARD",
"enabled": false
},
{
"name": "P2P_TRANSFER",
"enabled": true,
"scope": [
{
"countryCode": "GB"
}
]
}
],
"meta": {
"numberOfRecords": 5,
"limit": 10,
"offset": 0,
"page": 1
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- INVALID_COUNTRY_CODE
Schema
Array [
]
error
object
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
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": "5068",
"message": "Field error(s)",
"details": [
"Either you submitted a request that is missing a mandatory field or the value of a field does not match the format expected."
],
"fieldErrors": [
{
"field": "countryCode",
"error": "Ivalid countryCode value."
}
]
}
}
Service Unavailable. Please try again later.
- application/json
- Schema
- Example (from schema)
- SERVICE_UNAVAILABLE
Schema
Array [
]
error
object
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
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"
]
}
}