Fundamentals
Customers
Charges
Payouts
Embed
- Organizations
- Accounts
- Representatives
- Linked Bank Accounts
- Capability Requests
Request a capability
Submits a request to enable a specific capability for an account. Use this endpoint to request additional features or services for an account.
curl --request POST \
--url https://{environment}.straddle.io/v1/accounts/{account_id}/capability_requests \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"charges": {
"enable": true,
"max_amount": 123,
"daily_amount": 123,
"monthly_count": 123,
"monthly_amount": 123
},
"payouts": {
"enable": true,
"max_amount": 123,
"daily_amount": 123,
"monthly_count": 123,
"monthly_amount": 123
},
"internet": {
"enable": true
},
"individuals": {
"enable": true
},
"businesses_dto": {
"enable": true
},
"signed_agreement_dto": {
"enable": true
}
}'
{
"meta": {
"api_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"api_request_timestamp": "2023-11-07T05:31:56Z",
"total_items": 123,
"page_number": 123,
"page_size": 123,
"max_page_size": 123,
"sort_by": "<string>",
"sort_order": "asc"
},
"response_type": "object",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "charges",
"category": "payment_type",
"settings": {},
"status": "approved",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
Authorizations
JWT Authorization header using the Bearer scheme. Enter 'Bearer ' [space] and then your token in the text input below.
Headers
Optional client generated identifier to trace and debug a request.
Optional client generated identifier to trace and debug a series of requests.
Path Parameters
Body
Response
Unique identifier for this API request, useful for troubleshooting.
Timestamp for this API request, useful for troubleshooting.
Page number for paginated results.
Number of items per page in this response.
Maximum allowed page size for this endpoint.
The field that the results were sorted by.
The order that the results were sorted by.
asc
, desc
Indicates the type of data returned.
object
, array
, error
, none
Unique identifier for the capability request.
The unique identifier of the account associated with this capability request.
The specific type of capability being requested within the category. Possible values: 'charges', 'payouts', 'individuals', 'businesses', 'signed_agreement', 'internet'.
charges
, payouts
, individuals
, businesses
, signed_agreement
, internet
The category of the requested capability. Possible values: 'payment_type', 'customer_type', 'consent_type'.
payment_type
, customer_type
, consent_type
The current status of the capability request. Possible values: 'active', 'inactive', 'in_review', 'rejected'.
approved
, rejected
, reviewing
Timestamp of when the capability request was created.
Timestamp of the most recent update to the capability request.
Was this page helpful?
curl --request POST \
--url https://{environment}.straddle.io/v1/accounts/{account_id}/capability_requests \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"charges": {
"enable": true,
"max_amount": 123,
"daily_amount": 123,
"monthly_count": 123,
"monthly_amount": 123
},
"payouts": {
"enable": true,
"max_amount": 123,
"daily_amount": 123,
"monthly_count": 123,
"monthly_amount": 123
},
"internet": {
"enable": true
},
"individuals": {
"enable": true
},
"businesses_dto": {
"enable": true
},
"signed_agreement_dto": {
"enable": true
}
}'
{
"meta": {
"api_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"api_request_timestamp": "2023-11-07T05:31:56Z",
"total_items": 123,
"page_number": 123,
"page_size": 123,
"max_page_size": 123,
"sort_by": "<string>",
"sort_order": "asc"
},
"response_type": "object",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "charges",
"category": "payment_type",
"settings": {},
"status": "approved",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}