⚙️List funding map version lines
List the lines and funding account splits stored in a specific version of a payment account's funding map. Use this endpoint to inspect the complete map snapshot for that version. It does not provide history for an individual key.
Endpoints
| Environment | Method and URL |
|---|---|
| Staging | GET https://staging-api.vitessepsp.com/api/funding-maps/{id}/versions/{versionNumber}/lines |
| Production – UK Hub | GET https://api.vitessepsp.com/api/funding-maps/{id}/versions/{versionNumber}/lines |
| Production – US Hub | GET https://api.us.vitesse.io/api/funding-maps/{id}/versions/{versionNumber}/lines |
Replace {id} with the payment account ID and {versionNumber} with a version number returned by ⚙️List funding map version lines.
For help choosing an environment, see ⚙️Environments.
Access requirements
Configure the following access:
| OAuth scope | Identity client role |
|---|---|
API | DynamicRiskSharingConfiguration.Lookup |
For more information about scopes, see ⚙️Authentication. For information about the access granted by specific roles, see Identity client roles.
Send the request
This example uses the Staging environment:
curl --request GET \
--url 'https://staging-api.vitessepsp.com/api/funding-maps/3761/versions/5/lines' \
--header 'Authorization: Bearer <access-token>' \
--header 'Accept: application/json'Replace <access-token> with a valid access token that contains the required scope, and any example values with your own details.
Example response
A successful request returns 200 OK with the funding map lines and splits for the specified version.
{
"versionNumber": 5,
"lines": [
{
"keyValue": "POLICY-001",
"splits": [
{
"fundingAccountId": 501,
"percentage": 60.0,
"isLead": true
},
{
"fundingAccountId": 502,
"percentage": 40.0,
"isLead": false
}
]
}
]
}Use a returned versionNumber to list the lines for that version. For more information, see ⚙️List funding map version lines.
Troubleshoot requests
If the request fails, use the returned HTTP status code to identify the likely cause and corrective action.
For error response formats, additional HTTP status codes and error-handling guidance, see ⚙️Error responses.
401 Unauthorized– check that the identity client can access the payment account and has the required role.
404 Not Found– check the payment account ID is correct.
Next steps
- Compare the version's lines with other versions to review changes to the funding map. Use ⚙️List funding map versions to find the relevant versions.
Updated 1 day ago