BCA Virtual Account

BCA Virtual Account is a bank transfer payment method offered by Bank BCA. Users can pay using their BCA Bank account only. Payment can be made through all of Bank BCA's channels (KlikBCA, m-BCA, and ATM).

Steps to integrate :

  1. Send the charge API request to Midtrans.
  2. Redirect your customer back to your page by configuring Finish URL in Midtrans's Dashboard > Snap Preferences or via [API Request] (/docs/snap-advanced-feature#custom-finish-url).
  3. Handle notifications.

Open amount and close amount VA has the exact same API contract - by default close amount VA type is activated for you. If you want to activate open amount VA, contact Midtrans support or your sales PIC for further assistance.

By default, default expiry time for bank transfer is 24 hours unless specified by merchant (min 20s, max 180 days).





Sample JSON Request Body


{
  "transaction_details": {
    "order_id": "ORDER-101",
    "gross_amount": 10000
  },
  "item_details": [{
    "id": "ITEM1",
    "price": 10000,
    "quantity": 1,
    "name": "Midtrans Bear",
    "brand": "Midtrans",
    "category": "Toys",
    "merchant_name": "Midtrans"
  }],
  "customer_details": {
    "first_name": "TEST",
    "last_name": "MIDTRANSER",
    "email": "[email protected]",
    "phone": "+628123456"
  },
  "enabled_payments": ["bca_va"],
  "bca_va": {
    "va_number": "12345678911",
    "sub_company_code": "00000",
    "free_text": {
      "inquiry": [
        {
          "en": "text in English",
          "id": "text in Bahasa Indonesia"
        }
      ],
      "payment": [
        {
          "en": "text in English",
          "id": "text in Bahasa Indonesia"
        }
      ]
    }
  }
}
ParameterDescription
transactiondetails
Transaction Details Object (required)_
Unique transaction ID
itemdetails
Item Details Object (optional)_
Shopping item details will be paid by customer
customerdetails
Customer Details Object (optional)_
Details of the customer
enabledpayments
_Array (optional)
Set what payment method to show in Snap's payment list. Value: bca_va
bcava
BCA Virtual Account (optional)_
BCA Virtual Account payment options

For a full list of request body parameters please refer to the Request Body (JSON Parameter) section


Note: Please also refer to the Custom VA Number section if you're looking to define your own VA number for your customers.