Bank Accounts
Get bank account requirements
Get required fields for creating a bank account based on currency and country
X-API-KEY<token>
API key for authentication (prefix: sk_dev_ for development, sk_live_ for production)
In: header
Query Parameters
currencyCodestring
Currency code
Value in
"INR" | "AED" | "USD" | "SGD" | "EUR" | "PLN" | "GBP"bankCountryCodestring
Bank country code (ISO 3166-1 alpha-2)
Match
^[A-Z]{2}$accountHolderCountryCode?string
Account holder country code (ISO 3166-1 alpha-2)
Match
^[A-Z]{2}$Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.sentra.xyz/api/v1/accounts/requirements?currencyCode=INR&bankCountryCode=string"{
"requiredFields": [
"string"
],
"optionalFields": [
"string"
]
}{
"message": "Validation failed",
"statusCode": 400,
"details": {
"field": "email",
"message": "Invalid email format"
}
}{
"message": "Unauthorized",
"statusCode": 401
}{
"message": "Internal server error",
"statusCode": 500
}