External Accounts
Add a new platform external account
Changed onRegister a new external bank account for the platform.
post/platform/external-accounts
Request
- Base URL: https://api.lightspark.com/grid/2025-10-13
- URL: https://api.lightspark.com/grid/2025-10-13/platform/external-accounts
- Auth: HTTP basic
Request body
Example request
{
"currency": "USD",
"platformAccountId": "ext_acc_123456",
"ownershipType": "FIRST_PARTY",
"accountInfo": {
"accountType": "AED_ACCOUNT",
"iban": "AE070331234567890123456",
"swiftCode": "EBILAEAD"
}
}Response
External account created successfully
Example response
{
"id": "ExternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965",
"customerId": "Customer:da459a29-1fb7-41ce-a4cb-eb3a3c9fd7a7",
"platformAccountId": "acc_123456789",
"ownershipType": "FIRST_PARTY",
"currency": "USD",
"beneficiaryVerifiedData": {
"fullName": "John Doe"
},
"accountInfo": {
"accountType": "AED_ACCOUNT",
"iban": "AE070331234567890123456",
"swiftCode": "EBILAEAD"
}
}Changes
- warning
added the new
ACH_SAME_DAYenum value to the/////////response property for the response status
- warning
- breaking
added the new required request property
/// - warning
removed the request property
////// - warning
removed the optional property
///////////from the response with the status - info
added the optional property
////////to the response with the status
- breaking