The Payment Method object represents a way to collect payments from your customers. These payment methods could be bank accounts, wallets, cards etc. Payment Methods can be used with Payments to collect payments for particular orders on your platform.


Virtual Account Payment Method attributes

AttributesTypeDescription
idstringUnique identifier for the object.
typeenumThe type of the payment method.
referenceIdstringThe referenceId that was used to request for the Payment Method.
instructionshashInstructions on how to complete the payment. This should be shown to end-customers so that they know what their next steps should be.
bankShortCodeenumThe bank code used for creating the virtual account Payment Method. This should clearly identify a bank in the region. This should be the bank that the end-customer will be making a payment from.
accountNostringThis is the bank account number that the end-customer should make a fund transfer to.
displayNamestringThis is the display name that will show up on the online bank transfer or ATM screen.
# Virtual Account
{
  "data": {
    "id": "va_6f13f61a9a9e12281054db945d88f430",
    "type": "virtual_bank_account",
    "attributes": {
      "referenceId": "va_reference_id",
      "instructions": {
        "bankShortCode": "BNI",
        "accountNo": "8848095778242337",
        "displayName": "Nama Tampilan"
      }
    }
  }
}

QRIS Payment Method attributes

AttributesTypesDescription
idstringUnique identifier for the object.
typeenumThe type of the payment method.
referenceIdstringThe referenceId that was used to request for the Payment Method.
instructionshashInstructions on how to complete the payment. This should be shown to end-customers so that they know what their next steps should be.
imageUrlstringThe image link of the generated QR code that the end-customer should scan to make the payment.
# QRIS
{
  "data": {
    "id": "qr_77650b6f67b6bf1234556",
    "type": "qris",
    "attributes": {
      "referenceId": "static_qris_reference_id",
      "instructions": {
        "imageUrl": "<url>"
      }
    }
  }
}