# Repayment instrument call-back

To get notified on successful payment instrument collection, expose an endpoints collect the following variables via call back:

#### Field description

<table><thead><tr><th width="60">#</th><th width="186">Field </th><th width="403">Description</th><th>Type</th></tr></thead><tbody><tr><td>1</td><td>event</td><td>The name of the event</td><td>string</td></tr><tr><td>2</td><td>tokenizationType</td><td>Tokenization type</td><td>string</td></tr><tr><td>3</td><td>customerFirstName</td><td>Customer First Name</td><td>string</td></tr><tr><td>4</td><td>customerLastName</td><td>Customer Last Name</td><td>string</td></tr><tr><td>5</td><td>loanAmount</td><td>the tokenized amount</td><td>string</td></tr><tr><td>6</td><td>loanRef</td><td>Loan Identifier</td><td>number</td></tr></tbody></table>

#### Repayment instrument call-back :

```json
{
 "event": "mida.loan.tokenization",
 "data":{
    "tokenizationType": "direct_debit",
    "customerFirstName": "Samuel",
    "customerLastName": "Peters",
    "loanRef": "42618729-c776-4a9f-8839-64ab82b3d6a5",
    "loanAmount": 300000,
    "loanAccountNumber": "42618729-c776-4a9f-8839-64ab82b3d6a5"
 }
}
```


---

# 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://midatechnologies.gitbook.io/mida-developer-portal/mida-collect/repayment-instrument-call-back.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.
