---
agentTools:
  projectIndex: https://docs.quidax.io/llms.txt
---

# Verify Mobile Money Otp

This endpoint verifies mobile money deposit

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Ramp Merchant API",
    "version": "3.0"
  },
  "servers": [
    {
      "url": "https://ramp-be.quidax.io/api/v1/merchants/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "x-private-key",
        "in": "header",
        "x-default": "secret_key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/custodial/on_ramp_transactions/verify_mobile_money_otp/": {
      "post": {
        "summary": "Verify Mobile Money Otp",
        "description": "This endpoint verifies mobile money deposit",
        "operationId": "verify-mobile-money-otp",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "merchant_reference": {
                    "type": "string",
                    "description": "Merchant generated reference"
                  },
                  "otp": {
                    "type": "string",
                    "description": "Otp sent to customer by provider"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"ok\", \n  \"message\": \"Mobile money deposit verified\", \n  \"data\": \"OTP verified successfully\"\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "ok"
                    },
                    "message": {
                      "type": "string",
                      "example": "Mobile money deposit verified"
                    },
                    "data": {
                      "type": "string",
                      "example": "OTP verified successfully"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Transaction not found": {
                    "value": "{\n  \"status\": \"bad_request\", \n  \"message\": \"Transaction not found\", \n  \"data\": null\n}"
                  },
                  "Fiat deposit already exists": {
                    "value": "{\n  \"status\": \"bad_request\", \n  \"message\": \"Fiat deposit already exists\", \n  \"data\": null\n}"
                  },
                  "Failed to Verify OTP": {
                    "value": "{\n  \"status\": \"bad_request\", \n  \"message\": \"Failed to verify the OTP for your mobile money deposit. Please try again.\", \n  \"data\": null\n}"
                  },
                  "Missing OTP Token": {
                    "value": "{\n  \"status\": \"bad_request\", \n  \"message\": \"Missing OTP token\", \n  \"data\": null\n}"
                  },
                  "Deposit not Found": {
                    "value": "{\n  \"status\": \"bad_request\", \n  \"message\": \"Deposit not found\", \n  \"data\": null\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Transaction not found",
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "example": "bad_request"
                        },
                        "message": {
                          "type": "string",
                          "example": "Transaction not found"
                        },
                        "data": {}
                      }
                    },
                    {
                      "title": "Fiat deposit already exists",
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "example": "bad_request"
                        },
                        "message": {
                          "type": "string",
                          "example": "Fiat deposit already exists"
                        },
                        "data": {}
                      }
                    },
                    {
                      "title": "Failed to Verify OTP",
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "example": "bad_request"
                        },
                        "message": {
                          "type": "string",
                          "example": "Failed to verify the OTP for your mobile money deposit. Please try again."
                        },
                        "data": {}
                      }
                    },
                    {
                      "title": "Missing OTP Token",
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "example": "bad_request"
                        },
                        "message": {
                          "type": "string",
                          "example": "Missing OTP token"
                        },
                        "data": {}
                      }
                    },
                    {
                      "title": "Deposit not Found",
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "example": "bad_request"
                        },
                        "message": {
                          "type": "string",
                          "example": "Deposit not found"
                        },
                        "data": {}
                      }
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "application/json": {
                "examples": {
                  "Invalid private key": {
                    "value": "{\n  \"status\": \"forbidden\",\n  \"message\": \"Invalid private key\",\n  \"data\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "forbidden"
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid private key"
                    },
                    "data": {}
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6981ba5faf9470ee082aeecd:6a4288a8a924c012ebb45edb"
}
```