View Categories

Get Friend Wallets

< 1 min read

Get Friend Wallets #

Returns the wallets (IBANs) available for a beneficiary so you can initiate a P2P transfer. The authenticated user must already have added this friend.

Endpoint #

GET https://api-test.10npay.com/app/IndividualWallet/{beneficiaryId}/wallets?isIndividualId=true

Path & Query Parameters #

Name Type Description
beneficiaryId integer ID of the friend (same ID used in add/delete).
isIndividualId boolean (query) Always set to true so the server treats the path value as an individual ID.

Headers #

  • Authorization: Bearer <access_token>
  • Accept: application/json

Response #

200 OK – array of wallet objects:

[
  {
    "walletId": "WALLET123",
    "iban": "BG36TEPJ40131000500002",
    "currency": "BGN",
    "status": "Active"
  }
]

Select one of these IBANs when calling POST /app/{beneficiaryId}/p2p-money-transfer.

Errors #

  • 404 – beneficiary not found or not in the friend list.
  • 401 – missing/expired token.
  • 500 – transient backend error.