Send OTP

This API send OTP for customer confirmation. If user currently VakıfBank customer, should enter recorded cell phone number.

API Information

URL

/sendOTP

Method

POST

Version

1.0

Scope

oob

Authorization Flow

Client Credentials


Input Information

Name Format Description Required/Optional

IdentityNumber

Integer (11) T.R. identity number Required

PhoneNumber

Integer (12) Cell phone number Optional

TransactionCode

String (41) Transaction code that identify by VakıfBank (Test: ACBsendOTP) Required


Output Information

OTPInfo

Name Format Description

OTPTransactionId

Integer OTP transaction referance id


Message Codes

Message Code Description

ACBH000122

Customer has sim card block.

ACBH000123

Customer doesn't have sms phone number.

ACBH000146

T.R. Identity Number should be proper format.

ACBH000147

Phone number should be proper format.

ACBH000317

Transaction code cannot be empty.

ACBH000318

Transaction code should be proper format.

ACBH000319

Customer phone number is incorrect.

ACBH000321

Transaction code is invalid.

Example

Request:

{
    "IdentityNumber": 00000000000,
    "PhoneNumber": 905000000000,
    "TransactionCode": "ACBsendOTP"
} 

Response:

{
    "Header": {
        "StatusCode": "APIGW000000",
        "StatusDescription": "Tamamlandı",
        "StatusDescriptionEn": "Completed",
        "ObjectID": "f238e982-2178-46ac-8837-5232d1521969"
    },
    "Data": {
        "OTPInfo": {
            "OTPTransactionId": "252928"
        }
    }
}