View Categories

Check Internal Customer Account

< 1 min read

Check Internal Customer Account #

Determines whether a given IBAN belongs to another 10nPay customer. Use this before initiating a transfer to decide between P2P or external (third-party) flows.

Endpoint #

GET https://api-test.10npay.com/api/v1/IndividualPayment/{iban}/is-internal-customer-account

Path Parameter #

Name Description
iban Full IBAN to check (e.g., BG36TEPJ40131000500002).

Headers #

  • Authorization: Bearer <access_token>
  • Accept: text/plain

Success Response #

true

true means the IBAN belongs to an internal user (use P2P flow); false means treat it as an external IBAN.

Error Responses #

  • 400 Bad Request – invalid IBAN format.
  • 404 Not Found – IBAN not recognized.
  • 500 Internal Server Error – retry later.

Integration tip #

Call this endpoint immediately after the user enters an IBAN:

  • true → call POST /app/{beneficiaryId}/p2p-money-transfer.
  • false → call POST /app/withdrawal-to-3rd-party-iban.