Accounts
Accounts represent businesses using Straddle through your platform. Each account must complete automated verification before processing payments. Use accounts to manage your users' payment capabilities, track verification status, and control access to features. Accounts can be instantly created in sandbox and require additional verification for production access.
Lookup an account
Update an account
List accounts
Onboard an account
Simulate status transitions for a sandbox account
ModelsExpand Collapse
type AccountPagedV1 struct{…}
Data []AccountPagedV1Data
AccessLevel string
The access level granted to the account. This is determined by your platform configuration. Use standard unless instructed otherwise by Straddle.
Status string
The current status of the account (e.g., 'active', 'inactive', 'pending').
StatusDetail AccountPagedV1DataStatusDetail
Reason string
A machine-readable identifier for the specific status, useful for programmatic handling.
Capabilities AccountPagedV1DataCapabilitiesoptional
ConsentTypes AccountPagedV1DataCapabilitiesConsentTypes
Internet CapabilityV1
Whether the internet payment authorization capability is enabled for the account.
SignedAgreement CapabilityV1
Whether the signed agreement payment authorization capability is enabled for the account.
CustomerTypes AccountPagedV1DataCapabilitiesCustomerTypes
Businesses CapabilityV1
Individuals CapabilityV1
PaymentTypes AccountPagedV1DataCapabilitiesPaymentTypes
Charges CapabilityV1
Payouts CapabilityV1
ExternalID stringoptional
Unique identifier for the account in your database, used for cross-referencing between Straddle and your systems.
Metadata map[string, string]optional
Up to 20 additional user-defined key-value pairs. Useful for storing additional information about the account in a structured format.
Settings AccountPagedV1DataSettingsoptional
Charges AccountPagedV1DataSettingsCharges
FundingTime string
The amount of time it takes for a charge to be funded. This value is defined by Straddle.
Payouts AccountPagedV1DataSettingsPayouts
FundingTime string
The amount of time it takes for a payout to be funded. This value is defined by Straddle.
ResponseType AccountPagedV1ResponseType
Indicates the structure of the returned content.
- "object" means the
datafield contains a single JSON object. - "array" means the
datafield contains an array of objects. - "error" means the
datafield contains an error object with details of the issue. - "none" means no data is returned.
type AccountV1 struct{…}
Data AccountV1Data
AccessLevel string
The access level granted to the account. This is determined by your platform configuration. Use standard unless instructed otherwise by Straddle.
Status string
The current status of the account (e.g., 'active', 'inactive', 'pending').
StatusDetail AccountV1DataStatusDetail
Capabilities AccountV1DataCapabilitiesoptional
ConsentTypes AccountV1DataCapabilitiesConsentTypes
Internet CapabilityV1
Whether the internet payment authorization capability is enabled for the account.
SignedAgreement CapabilityV1
Whether the signed agreement payment authorization capability is enabled for the account.
CustomerTypes AccountV1DataCapabilitiesCustomerTypes
Businesses CapabilityV1
Individuals CapabilityV1
PaymentTypes AccountV1DataCapabilitiesPaymentTypes
Charges CapabilityV1
Payouts CapabilityV1
ExternalID stringoptional
Unique identifier for the account in your database, used for cross-referencing between Straddle and your systems.
Metadata map[string, string]optional
Up to 20 additional user-defined key-value pairs. Useful for storing additional information about the account in a structured format.
Settings AccountV1DataSettingsoptional
Charges AccountV1DataSettingsCharges
FundingTime string
The amount of time it takes for a charge to be funded. This value is defined by Straddle.
Payouts AccountV1DataSettingsPayouts
FundingTime string
The amount of time it takes for a payout to be funded. This value is defined by Straddle.
Meta ResponseMetadata
ResponseType AccountV1ResponseType
Indicates the structure of the returned content.
- "object" means the
datafield contains a single JSON object. - "array" means the
datafield contains an array of objects. - "error" means the
datafield contains an error object with details of the issue. - "none" means no data is returned.
type TermsOfServiceV1 struct{…}
AccountsCapability Requests
Capabilities enable specific features and services for an Account. Use capability requests to unlock higher processing limits, new payment types, or additional platform features as your users' businesses grow. Track approval status and manage documentation requirements through a single interface.
Request a capability
List capability requests
ModelsExpand Collapse
type CapabilityRequestPagedV1 struct{…}
Data []CapabilityRequestPagedV1Data
AccountID string
The unique identifier of the account associated with this capability request.
Category string
The category of the requested capability. Use payment_type for charges and payouts, customer_type to define individuals or businesses, and consent_type for signed_agreement or internet payment authorization.
ResponseType CapabilityRequestPagedV1ResponseType
Indicates the structure of the returned content.
- "object" means the
datafield contains a single JSON object. - "array" means the
datafield contains an array of objects. - "error" means the
datafield contains an error object with details of the issue. - "none" means no data is returned.