Retrieve account details for all your accounts.
Security
BasicAuth
- Test (Try)https://try.access.worldpay.com/accounts
- Livehttps://access.worldpay.com/accounts
curl -i -X GET \
-u '<username>:<password>' \
'https://try.access.worldpay.com/accounts?entity=string¤cy=string&partyReference=string&status=Active%2FInactive&pageNumber=1&pageSize=0' \
-H 'Accept: application/json' \
-H 'WP-Api-Version: 2025-01-01' \
-H 'WP-CorrelationId: 15cd16b2-7b82-41cb-9b11-21be9dacad88'Response
{ "entity": "Test", "accounts": [ { "accountNumber": "01012145214562214", "accountName": "TestDisplayName", "currency": "GBP", "clearedBalance": 36, "unclearedBalance": 2, "balance": 38, "accountStatus": "Active" } ], "pagination": { "pageNumber": 1, "recordsPerPage": 10, "totalPages": 1, "totalNumberOfRecords": 1 } }