> For the complete documentation index, see [llms.txt](https://pivot-payment.gitbook.io/pivot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pivot-payment.gitbook.io/pivot-docs/api-references/api-lists/payments/get-payment-method-config.md).

# Get Payment Method Config

## Method and URL

<mark style="color:green;">`GET`</mark> \[<mark style="color:orange;">BASE\_URL</mark>]/v2/payment-method-configs

## Response

**Response Body**

```json
{
  "code": "00",
  "message": "Success",
  "data": {
    "card": {
      "enabled": true,
      "acceptedChannels": [
        "VISA",
        "MASTERCARD",
        "JCB"
      ],
      "minimumAmount": {
        "value": 10000,
        "currency": "IDR"
      },
      "maximumAmount": {
        "value": 9999999999,
        "currency": "IDR"
      },
      "maximumExpiry": "30 DAYS",
      "installmentConfig": null
    },
    "virtualAccount": {
      "enabled": true,
      "acceptedChannels": [
        "DANAMON"
        "BNI",
        "MANDIRI",
        "BSI",
        "BCA",
        "BNC",
        "CIMB",
        "BRI",
        "PERMATA"
      ],
      "minimumAmount": {
        "value": 10000,
        "currency": "IDR"
      },
      "maximumAmount": {
        "value": 9999999999,
        "currency": "IDR"
      },
      "maximumExpiry": "30 DAYS"
    },
    "qr": {
      "enabled": true,
      "minimumAmount": {
        "value": 1000,
        "currency": "IDR"
      },
      "maximumAmount": {
        "value": 9999999,
        "currency": "IDR"
      },
      "maximumExpiry": "60 MINUTES"
    },
    "ewallet": {
      "enabled": true,
      "acceptedChannels": [
        "DANA",
        "SHOPEEPAY"
      ],
      "minimumAmount": {
        "value": 10000,
        "currency": "IDR"
      },
      "maximumAmount": {
        "value": 9999999,
        "currency": "IDR"
      },
      "maximumExpiry": "30 MINUTES"
    },
    "installment": {
      "enabled": false,
      "acceptedChannels": {}
    }
  }
}
```

**Detail Parameter Response**

<table><thead><tr><th width="203.60546875">Parameter</th><th width="125.2890625">Data Type</th><th width="132.67578125">Requirement</th><th>Description</th></tr></thead><tbody><tr><td>card</td><td>Object</td><td>M</td><td>Config object</td></tr><tr><td><ul><li>enabled</li></ul></td><td>Boolean</td><td>M</td><td>Depend on Merchant payment method config</td></tr><tr><td><ul><li>acceptedChannels</li></ul></td><td>Array of string</td><td>O</td><td><p>If enabled = false, then []</p><p>If enabled = true, then depends on which channel is enabled</p><p></p><p>Possible values</p><ul><li>VISA</li><li>MASTERCARD</li><li>JCB</li><li>AMEX</li><li>UNIONPAY</li><li>DINERS</li><li>DISCOVER</li></ul></td></tr><tr><td><ul><li>minimumAmount</li></ul></td><td>Object</td><td>O</td><td><a data-mention href="/pages/Foeq3eyfnM9O2anL1Vby">/pages/Foeq3eyfnM9O2anL1Vby</a>, if amount is below the amount, then payment method is disabled</td></tr><tr><td><ul><li>maximumAmount</li></ul></td><td>Object</td><td>O</td><td><a data-mention href="/pages/Foeq3eyfnM9O2anL1Vby">/pages/Foeq3eyfnM9O2anL1Vby</a>, if amount is above the amount, then payment method is disabled</td></tr><tr><td><ul><li>maximumExpiry</li></ul></td><td>String</td><td>M</td><td>Maximum Payment Expiry Time </td></tr><tr><td><ul><li>installmentConfigs</li></ul></td><td>Array of object</td><td>O</td><td>Installment Config object</td></tr><tr><td><blockquote><ul><li> binNumbers</li></ul></blockquote></td><td>Array of string</td><td>M</td><td><p>Array of bin number (6 and 8 digit) enabled for installment, </p><p></p><p>example:</p><p>[“412345”, “42345678”]</p></td></tr><tr><td><blockquote><ul><li>enabledPlans</li></ul></blockquote></td><td>Array of number</td><td>M</td><td><p>Installment plans / durations, </p><p></p><p>example: [3, 6, 9, 12]</p></td></tr><tr><td><blockquote><ul><li>plans</li></ul></blockquote></td><td>Array of string</td><td>O</td><td><p>Installment plans category, </p><p></p><p>example: [“regular”, “0%”]</p></td></tr><tr><td><blockquote><ul><li>minimumAmount</li></ul></blockquote></td><td>Object</td><td>M</td><td><a data-mention href="/pages/Foeq3eyfnM9O2anL1Vby">/pages/Foeq3eyfnM9O2anL1Vby</a>, if amount is below the amount, then installment  is disabled</td></tr><tr><td><blockquote><ul><li>maximumAmount</li></ul></blockquote></td><td>Object</td><td>M</td><td><a data-mention href="/pages/Foeq3eyfnM9O2anL1Vby">/pages/Foeq3eyfnM9O2anL1Vby</a>, if amount is above the amount, then installment is disabled</td></tr><tr><td>virtualAccount</td><td>Object</td><td>M</td><td>Config object</td></tr><tr><td><ul><li>enabled</li></ul></td><td>Boolean</td><td>M</td><td>Depend on Merchant payment method config</td></tr><tr><td><ul><li>acceptedChannels</li></ul></td><td>Array of string</td><td>O</td><td><p>If enabled = false, then []</p><p>If enabled = true, then depends on which channel is enabled</p><p><br></p><p>Possible values</p><ul><li>PERMATA</li><li>BRI</li><li>MANDIRI</li><li>CIMB</li><li>BNC</li><li>etc</li></ul></td></tr><tr><td><ul><li>minimumAmount</li></ul></td><td>Object</td><td>O</td><td><a data-mention href="/pages/Foeq3eyfnM9O2anL1Vby">/pages/Foeq3eyfnM9O2anL1Vby</a>, if amount is below the amount, then payment method is disabled</td></tr><tr><td><ul><li>maximumAmount</li></ul></td><td>Object</td><td>O</td><td><a data-mention href="/pages/Foeq3eyfnM9O2anL1Vby">/pages/Foeq3eyfnM9O2anL1Vby</a>, if amount is above the amount, then payment method is disabled</td></tr><tr><td><ul><li>maximumExpiry</li></ul></td><td>String</td><td>M</td><td>Maximum Payment Expiry Time </td></tr><tr><td>qr</td><td>Object</td><td>M</td><td>Config object</td></tr><tr><td><ul><li>enabled</li></ul></td><td>Boolean</td><td>M</td><td>Depend on Merchant payment method config</td></tr><tr><td><ul><li>minimumAmount</li></ul></td><td>Object</td><td>O</td><td><a data-mention href="/pages/Foeq3eyfnM9O2anL1Vby">/pages/Foeq3eyfnM9O2anL1Vby</a>, if amount is below the amount, then payment method is disabled</td></tr><tr><td><ul><li>maximumAmount</li></ul></td><td>Object</td><td>O</td><td><a data-mention href="/pages/Foeq3eyfnM9O2anL1Vby">/pages/Foeq3eyfnM9O2anL1Vby</a>, if amount is above the amount, then payment method is disabled</td></tr><tr><td><ul><li>maximumExpiry</li></ul></td><td>String</td><td>M</td><td>Maximum Payment Expiry Time </td></tr><tr><td>ewallet</td><td>Object</td><td>M</td><td>Depend on Merchant payment method config</td></tr><tr><td><ul><li>enabled</li></ul></td><td>Boolean</td><td>M</td><td>Depend on Merchant payment method config</td></tr><tr><td><ul><li>acceptedChannels</li></ul></td><td>Array of string</td><td>O</td><td><p>If enabled = false, then []</p><p>If enabled = true, then depends on which channel is enabled</p><p><br></p><p>Possible values</p><ul><li>DANA</li><li>SHOPEEPAY</li><li>OVO</li></ul></td></tr><tr><td><ul><li>minimumAmount</li></ul></td><td>Object</td><td>O</td><td><a data-mention href="/pages/Foeq3eyfnM9O2anL1Vby">/pages/Foeq3eyfnM9O2anL1Vby</a>, if amount is below the amount, then payment method is disabled</td></tr><tr><td><ul><li>maximumAmount</li></ul></td><td>Object</td><td>O</td><td><a data-mention href="/pages/Foeq3eyfnM9O2anL1Vby">/pages/Foeq3eyfnM9O2anL1Vby</a>, if amount is above the amount, then payment method is disabled</td></tr><tr><td><ul><li>maximumExpiry</li></ul></td><td>String</td><td>M</td><td>Maximum Payment Expiry Time </td></tr></tbody></table>
