# Reset PIN

### E2E Flow <a href="#technical-specification" id="technical-specification"></a>

<figure><img src="/files/s8pCbUZSXPmLU0pa8Q8P" alt=""><figcaption></figcaption></figure>

### Technical Specification <a href="#technical-specification" id="technical-specification"></a>

| Environment | Method | URL                                                                                                |
| ----------- | ------ | -------------------------------------------------------------------------------------------------- |
| Development | POST   | [https://snapstag.finnet.co.id/v1.0/pin/reset](https://snapstag.finnet.co.id/v1.0/balance-inquiry) |
| Production  | POST   | [https://snap.finnet.co.id/v1.0/pin/reset](https://snap.finnet.co.id/v1.0/balance-inquiry)         |

### Body Request <a href="#body-request" id="body-request"></a>

| No | Name               | Type   | Mandatory | Min Length | Max Length | Description                                       |
| -- | ------------------ | ------ | --------- | ---------- | ---------- | ------------------------------------------------- |
| 1  | partnerReferenceNo | String | M         | 1          | 64         | Transaction identifier on service consumer system |
| 2  | phoneNo            | String | M         | 1          | 16         | Customer phone number with 08xx format            |

#### Sample Request <a href="#sample-request" id="sample-request"></a>

```
{
  "partnerReferenceNo": "789123434523423470",
  "phoneNo": "08113929190"
}
```

### Body Response <a href="#body-response" id="body-response"></a>

| No | Name            | Type                                                              | Mandatory | Min Length | Max Length | Description               |
| -- | --------------- | ----------------------------------------------------------------- | --------- | ---------- | ---------- | ------------------------- |
| 1  | responseCode    | [Enum](/api-reference/appendix/enumeration/response-code-list.md) | M         | 1          | 7          | BI SNAP Response Code.    |
| 2  | responseMessage | String                                                            | M         | 1          | 150        | BI SNAP Response Message. |

#### Sample Response <a href="#sample-response" id="sample-response"></a>

```
{
  "responseCode": "2000600",
  "responseMessage": "Request has been processed successfully"
}
```

### Response Code & Message <a href="#response-code--message" id="response-code--message"></a>

The table below lists results from `?verificationId=A0123AAS&result=success`.

| No | HTTP Code | Code    | Message                         |
| -- | --------- | ------- | ------------------------------- |
| 1  | 200       | 2000000 | Successful                      |
| 2  | 400       | 4000000 | Bad request                     |
| 3  | 400       | 4000001 | Invalid field format {field}    |
| 4  | 400       | 4000002 | Invalid mandatory field {field} |
| 5  | 401       | 4010001 | Invalid token (B2B)             |
| 6  | 401       | 4010000 | Unauthorised. \[Reason]         |
| 7  | 401       | 4010002 | Invalid Customer Token          |
| 8  | 401       | 4010003 | Token Not Found (B2B)           |
| 9  | 401       | 4010004 | Customer Token Not Found        |
| 10 | 403       | 4030001 | Feature not allowed             |
| 11 | 403       | 4030004 | Activity count limit exceeded   |
| 12 | 403       | 4030014 | Insufficient Funds              |
| 13 | 404       | 4040008 | Invalid merchant                |
| 14 | 500       | 5000000 | General error                   |
| 15 | 500       | 5000001 | Internal Server Error           |
| 16 | 500       | 5000002 | External Server Error           |
| 17 | 504       | 5040000 | Timeout                         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.finpay.id/api-reference/finpay-money/linkage/reset-pin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
