Page cover

Validate Account IBAN

Endpoint

POST {{}}/v1/accounts/validate

Description

This endpoint is used to validate an account through the International Bank Account Number (IBAN) and Bank Identifier Code (BIC) provided.

Request Body

The request body should be a JSON object containing the following fields:

  • iban: "GB12045505050505188"

  • bic: "ARPYGB21"

Example Request

{
    "iban": "GB12045505050505188",
    "bic": "ARPYGB21"
}

Response

On success, the API will return a JSON object containing a success message.

{
    "status": true,
    "message": "Iban validated successfully",
    "data": {
        "swiftCodes": "",
        "bankName": "PRUNE PAYMENTS LTD",
        "bankBranch": "",
        "address": "OFFICE 7, 35-37 LUDGATE HILL",
        "city": "LONDON",
        "state": "",
        "country": "United Kingdom",
        "countryCode": "",
        "zipCode": "",
        "supportPaymentMethod": ""
    },
    "code": 200
}

Error

Include common error responses and their meanings.

  • 400 Bad Request: Account can not be verified.

  • 500 Internal Server Error: An error occurred on the server.

Last updated