> For the complete documentation index, see [llms.txt](https://docs.idrx.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.idrx.co/api/transaction-api/get-api-transaction-method.md).

# GET /transaction/method

Use this API to obtain the list of appropriate bank name format and bank codes.

## Example Request

```
curl -X GET '<https://api.idrx.co/transaction/method>' --header 'idrx-api-key: <API_KEY>' --header 'idrx-api-sig: <signature>' --header 'idrx-api-ts': <timestamp>'
```

## Response

If the request is successful, the response will be as shown below:

```json
{
  "statusCode": 200,
  "message": "success",
  "data": [
    {
      "bankCode": "014",
      "bankName": "BANK CENTRAL ASIA",
      "maxAmountTransfer": "100000000"
    },
    {
      "bankCode": "002",
      "bankName": "BANK BRI",
      "maxAmountTransfer": "100000000"
    },
    {
      "bankCode": "200",
      "bankName": "BANK  BTN",
      "maxAmountTransfer": "50000000"
    },
    { .......
```

## Response fields

* **`bankCode` (String):** The bank code to send in `POST /auth/add-bank-account` and in redeem requests.
* **`bankName` (String):** The bank name in the format IDRX expects.
* **`maxAmountTransfer` (String):** The largest amount, in IDR, that the bank accepts in a single transfer. A transfer above this amount is routed over RTGS instead of BI-FAST, which settles more slowly.
