Get Payment Method Config

Retrieve enabled Payment Method configuration

GET [BASE_URL]/v2/payment-method-configs

Response

Response Body

{
  "code": "00",
  "message": "success",
  "data": {
    "card": {
      "enabled": true,
      "acceptedChannels": [
        "VISA",
        "MASTERCARD",
        "JCB"
      ],
      "minimumAmount": {
        "value": 100000,
        "currency": "IDR"
      },
      "maximumAmount": {
        "value": 999999999,
        "currency": "IDR"
      },
      "installmentConfig": null
    },
    "virtualAccount": {
      "enabled": true,
      "acceptedChannels": [
        "PERMATA",
        "CIMB",
        "BRI"
      ],
      "minimumAmount": {
        "value": 1,
        "currency": "IDR"
      },
      "maximumAmount": {
        "value": 9999999999,
        "currency": "IDR"
      }
    },
    "qr": {
      "enabled": false,
      "acceptedChannels": null,
      "minimumAmount": null,
      "maximumAmount": null
    },
    "ewallet": {
      "enabled": false,
      "acceptedChannels": null,
      "minimumAmount": null,
      "maximumAmount": null
    }
  }
}

Detail Parameter Response

Parameter
Data Type
Requirement
Description

card

Object

M

Config object

  • enabled

Boolean

M

Depend on Merchant payment method config

  • acceptedChannels

Array of string

O

If enabled = false, then []

If enabled = true, then depends on which channel is enabled

Possible values

  • VISA

  • MASTERCARD

  • JCB

  • AMEX

  • UNIONPAY

  • DINERS

  • DISCOVER

  • minimumAmount

Object

O

Amount Object, if amount is below the amount, then payment method is disabled

  • maximumAmount

Object

O

Amount Object, if amount is above the amount, then payment method is disabled

  • installmentConfigs

Array of object

O

Installment Config object

>> binNumbers

Array of string

M

Array of bin number (6 and 8 digit) enabled for installment,

example:

[“412345”, “42345678”]

>> enabledPlans

Array of number

M

Installment plans / durations,

example: [3, 6, 9, 12]

>> plans

Array of string

O

Installment plans category,

example: [“regular”, “0%”]

>> minimumAmount

Object

M

Amount Object, if amount is below the amount, then installment is disabled

>> maximumAmount

Object

M

Amount Object, if amount is above the amount, then installment is disabled

virtualAccount

Object

M

Config object

  • enabled

Boolean

M

Depend on Merchant payment method config

  • acceptedChannels

Array of string

O

If enabled = false, then []

If enabled = true, then depends on which channel is enabled

Possible values

  • PERMATA

  • BRI

  • MANDIRI

  • CIMB

  • BNC

  • etc

  • minimumAmount

Object

O

Amount Object, if amount is below the amount, then payment method is disabled

  • maximumAmount

Object

O

Amount Object, if amount is above the amount, then payment method is disabled

qr

Object

M

Config object

  • enabled

Boolean

M

Depend on Merchant payment method config

  • acceptedChannels

Array of string

O

If enabled = false, then []

If enabled = true, then depends on which channel is enabled

Possible values

  • BNC

  • BRI

  • minimumAmount

Object

O

Amount Object, if amount is below the amount, then payment method is disabled

  • maximumAmount

Object

O

Amount Object, if amount is above the amount, then payment method is disabled

ewallet

Object

M

Depend on Merchant payment method config

  • enabled

Boolean

M

Depend on Merchant payment method config

  • acceptedChannels

Array of string

O

If enabled = false, then []

If enabled = true, then depends on which channel is enabled

Possible values

  • DANA

  • OVO

  • SHOPEEPAY

  • minimumAmount

Object

O

Amount Object, if amount is below the amount, then payment method is disabled

  • maximumAmount

Object

O

Amount Object, if amount is above the amount, then payment method is disabled