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
Attributes | Type | Description |
|---|---|---|
id | string | Unique identifier for the object. |
type | enum | The type of the payment method. |
referenceId | string | The referenceId that was used to request for the Payment Method. |
instructions | hash | Instructions on how to complete the payment. This should be shown to end-customers so that they know what their next steps should be. |
bankShortCode | enum | The 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. |
accountNo | string | This is the bank account number that the end-customer should make a fund transfer to. |
displayName | string | This 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
Attributes | Types | Description |
|---|---|---|
id | string | Unique identifier for the object. |
type | enum | The type of the payment method. |
referenceId | string | The referenceId that was used to request for the Payment Method. |
instructions | hash | Instructions on how to complete the payment. This should be shown to end-customers so that they know what their next steps should be. |
imageUrl | string | The 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>"
}
}
}
}