Skip to main content

DEFAULT BANK DETAILS

This API returns the default bank account details configured for a specific product.

🔗 Path Parameters

ParameterTypeRequiredDescriptionExample
productIdintegerYesProduct ID1

🔍 Query Parameters

ParameterTypeRequiredDescriptionExample
userIdstringYesUser ID (UCC)"{{user_id}}"

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringRequest payload formatapplication/json
AuthorizationstringAccess token for authenticated requests{{access_token}}
x-api-keystringAPI key used to authorize request{{x-api-key}}

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code"s-101"
messagestringSuccess message"Default bank details fetched successfully"
dataarrayDefault bank detailsRefer Data Object Fields

📦 Data Object Fields

FieldTypeDescriptionExample
sBankIdstringBank ID"HDFC"
sBankNamestringBank name"HDFC Bank"
sAccountNostringAccount number"XXXXXXXX1234"
sIFSCstringIFSC code"HDFC0001234"
sCustomerIdstringCustomer ID"CUST001"