Retrieve the details of one specific account.
Security
BasicAuth
- Test (Try)https://try.access.worldpay.com/accounts/{accountNumber}
- Livehttps://access.worldpay.com/accounts/{accountNumber}
curl -i -X GET \
-u '<username>:<password>' \
'https://try.access.worldpay.com/accounts/{accountNumber}' \
-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" } ] }