Breeze Docs

SDK Payload Helper

You can use this section to understand the payload structure for different flows that can be triggered using the Blaze SDK. The payload remains the same for all the platforms.

Login Flow

Send OTP Flow

Request
Response
      {
    "requestId": "<unique_request_id>",
    "service": "in.breeze.onecco",
    "payload": {
        "action": "sendOTP",
        "phoneNumber": "<phoneNumber>",
        "countryCode": "+91"
    }
}
    

Verify OTP Flow

Request
Response
      {
    "requestId": "<unique_request_id>",
    "service": "in.breeze.onecco",
    "payload": {
        "action": "verifyOTP",
        "otp": "<otp>",
        "otpSessionToken": "<otpSessionToken_from_send_otp_response>"
    }
}