---
title: Verify Amount
slug: api-marketplace/verify-amount
createdAt: 2023-12-15T13:05:09.843Z
---

## Introduction

The "Verify Transfer" step is a critical part of the Variable Penny Drop API, focusing on confirming the deposited amount. This verification step ensures the rightful ownership of the bank account. It requires the **`signzyReferenceId`** obtained from the first step and the exact amount deposited. Users submit these details via the API to cross-verify the transaction. A successful verification response confirms the match of the deposited amount and reveals the account owner's name, thus completing the authentication process. This step solidifies the security and accuracy of the account verification process, crucial for financial transactions.

***

## API details

### Endpoint

:::CodeblockTabs
Production environment

```jsx
POST https://api.signzy.app/api/v3/bankaccountverification/verifytransferadvanced
```
:::

:::CodeblockTabs
UAT/Testing environment

```jsx
POST https://api-preproduction.signzy.app/api/v3/bankaccountverification/verifytransferadvanced
```
:::

***

### Request headers&#x20;

| Name          | Value            | Required  | Description                                                                                                |
| ------------- | ---------------- | --------- | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Mandatory | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXXXXXX  | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

### Request body parameters

| Parameter | Data Type | Description                                                                                                                          |  Required |
| --------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ | --------- |
| amount    | String    | The amount that was transacted from the account.                                                                                     | Mandatory |
| signzyId  | String    | Reference ID associated with the transaction.<br />This is returned as "**signzyReferenceId"&#x20;**&#x20;in Variable Penny Drop API | Mandatory |



```json
{
    "amount": "1.09",
    "signzyId": "N2AY9x4NKnqZaM8nCuj1GcEnGpbkit6IjhBpHJr1gfJ9EDQh9T57"
}
```

***

### Code samples

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/bankaccountverification/verifytransferadvanced' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Your access token>' \
--data '{
    "amount": "1.09",
    "signzyId": "N2AY9x4NKnqZaM8nCuj1GcEnGpbkit6IjhBpHJr1gfJ9EDQh9T57"
}'
```

```nodejs
var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://api-preproduction.signzy.app/api/v3/bankaccountverification/verifytransferadvanced',
  'headers': {
    'Content-Type': 'application/json',
    'Authorization': '<Your access token>'
  },
  body: JSON.stringify({
    "amount": "1.09",
    "signzyId": "N2AY9x4NKnqZaM8nCuj1GcEnGpbkit6IjhBpHJr1gfJ9EDQh9T57"
  })

};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

```

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/bankaccountverification/verifytransferadvanced"

payload = json.dumps({
  "amount": "1.09",
  "signzyId": "N2AY9x4NKnqZaM8nCuj1GcEnGpbkit6IjhBpHJr1gfJ9EDQh9T57"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<Your access token>'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/bankaccountverification/verifytransferadvanced"
  method := "POST"

  payload := strings.NewReader(`{
    "amount": "1.09",
    "signzyId": "N2AY9x4NKnqZaM8nCuj1GcEnGpbkit6IjhBpHJr1gfJ9EDQh9T57"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "<Your access token>")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters

| **Parameter**      | **Data Type** | **Description**                                                                         |
| ------------------ | ------------- | --------------------------------------------------------------------------------------- |
| result             | Object        | Contains the result of the task.                                                        |
| result.amountMatch | String        | Indicates whether the transacted amount matches the input **amount.**<br />true/ false  |
| result.owerName    | String        | The account holder's name.                                                              |
| result.mobile      | String        | Mobile number of the beneficiary.                                                       |
| result.mmid        | String        | The Mobile Money Identifier (MMID) of the beneficiary associated with the bank account. |



:::CodeblockTabs
200

```json
// True match 
{
    "result": {
        "amountMatch": "true",
        "owerName": "ADITYA  UPADHYAY",
        "mobile": "",
        "mmid": ""
    }
}
// False match or Invalid Transaction 
{
    "result": {
        "amountMatch": "false",
        "owerName": "",
        "mobile": "",
        "mmid": ""
    }
}

```

400

```json
// When amount is not passed in request Body
{
    "error": {
        "statusCode": 400,
        "message": "body should have required property '.amount'",
        "status": 400,
        "reason": "Bad Request",
        "type": "Bad Request"
    }
}

// When is passed as empty string
{
    "error": {
        "name": "error",
        "message": "\"amount\" must be a number",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}

// when signzyId is passed as empty string
{
    "error": {
        "name": "error",
        "message": "\"signzyId\" is not allowed to be empty",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}

// When Signzy Id is not passed in requestBody
{
    "error": {
        "name": "error",
        "message": "\"signzyId\" is required",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}
```

401

```json
// When API key is not passed
{
    "message": "No API key found in request"
}

// when wrong API Key is passed
{
    "message": "Invalid authentication credentials"
}
```

404

```json
// When no Transaction found for that signzyId
// When amount is not passed as string or wrong signzyId is passed
{
    "error": {
        "name": "error",
        "message": "Transaction not found",
        "reason": "Error",
        "type": "Not Found",
        "statusCode": 404
    }
}


```
:::

***

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!

