Bank transfers in Indonesia
Overview
Bank transfers in Indonesia is a payment method that allows customers to perform P2P-payments by using local bank transfers in their banking applications. The customer experience is the same as in payments by using virtual accounts (details). The method offers an alternative payment channel that uses most popular Indonesian banks, for instance BCA (Bank Central Asia). This method supports purchases by using Payment Page and Gate. Download the logo in vector format here. |
Payment method type | Bank transfers |
---|---|
Countries and regions | Indonesia |
Payment currencies | IDR |
Currency conversion | On the side of Monetix |
Purchases | |
Payouts | Available by using the Banks of Indonesia payment method |
COF payments | |
Full refunds | |
Partial refunds | |
Chargebacks | |
Special considerations |
Note: The following considerations might be not relevant in your case. Refer to your Key Account Manager at Monetix to check if they are.
|
Onboarding and access fee | Refer to your key account manager at Monetix |
Interaction diagram
Payment processing by using the Bank transfers in Indonesia payment method requires merchant's web service, one of Monetix interfaces, and the Monetix payment platform, as well as provider's the technical facilities.
Operations support
Interfaces | Amounts, IDR | Times | |||||
---|---|---|---|---|---|---|---|
Payment Page | Gate | Dashboard | minimum | maximum | basic | threshold | |
Purchases | * | * | 1 minute | 48 hours |
* Contact your Monetix Key Account Manager for more information.
You can check the payment amount limits in your project by using Dashboard. To check your payment amount limits, go to Dashboard, select the Projects section and click the Payment methods tab.
Processing scenarios
In the Bank transfers in Indonesia method, the customer is required to initiate the bank transfer by using the credentials shown on the payment screen.
The sections that follow provide detailed information about what you need to perform payments and how you can analyze the information on payments and operations.
Purchase by using Payment Page
General information
In the Bank transfers in Indonesia method, when processing a purchase by using Payment Page, the merchant web service sends a request with all the required parameters and signature to the Monetix URL and accepts the callback with the payment result from the payment platform. When opening Payment Page, you can have Payment Page opened with the Bank transfers in Indonesia method pre-selected. (For more information about pre-selecting payment methods, see in Preselecting payment methods.)
The full sequence of the purchase workflow is provided below.
- Customer initiates a purchase on the merchant's web service.
- The web service sends the request for Payment Page opening to the specified Monetix URL.
- The request for opening is redirected to the payment platform.
- The payment platform performs the initial request processing that involves validation of the required parameters and signature.
- Requested Payment Page is generated into the Monetix payment platform as specified in the project settings and the request parameters.
- Payment Page is displayed to the customer.
- The customer selects the Bank transfers in Indonesia method.
- The payment platform receives the purchase request for payment processing from Payment Page.
- The payment platform performs the internal purchase request processing and sends it to the provider service.
- The purchase request is processed on the provider service side.
- The provider service generates the data for displaying the payment screen with payment instructions to the customer and sends it to the payment platform.
- The payment platform sends the payment instruction data to Payment Page.
- The payment screen with payment instructions is displayed to the customer.
- The customer completes all the payment steps required.
- The payment is processed on the provider side.
- The provider service sends the result notification to the payment platform.
- The payment platform sends a callback with the payment result to the web service.
- The payment platform sends the result to Payment Page.
- A page with the payment result information is displayed to the customer on Payment Page.
The sections that follow discuss in more details the request format and the Payment Page parameters to use in the Bank transfers in Indonesia payment method and provide the information about format of callbacks with payment results. For the general information about how to use the Payment Page API, see Payment Page API Description.
Request format
There are several things you need to consider when dealing with purchase requests in the Bank transfers in Indonesia method:
- You must provide values for the basic minimum of parameters. Listed below are the parameters that are required for any payment method:
- project_id—project ID you obtained from Monetix
- payment_id—payment ID unique within the project
- customer_id—unique ID of the customer within your project
- customer_email—customer email
- account_customer_name—customer full name. If the parameter is missing from the request, Payment Page will contain an additional field for the customer to enter missing information. For more information about additional information submission, see in Submission of additional payment information
- payment_currency—payment currency in ISO-4217 alpha-3 format
- payment_amount—rounded integer purchase amount in minor currency units without any decimal point or comma except for cases where the currency does not have any minor currency units. If the currency has no minor units (that is, the number of digits for minor currency units is zero), then you must set this parameter to the amount in the major currency units. For the information on whether the currency has any minor units, see Currency codes.
- If you need to have payment form displayed with the Bank transfers in Indonesia method pre-selected, set the force_payment_method parameter to the code on the
bank-transfer-indonesia
payment method. - You can also add any other additional parameters Payment Page supports. For more information about parameters supported by Payment Page, see Payment Page invocation parameters.
- After you specify all the parameters you need, you need to generate signature for the request. For instructions on how to sign payment requests, see Signature generation and verification.
Here is an example of data from a request for Payment Page opening:
EPayWidget.run( { project_id: 1234, payment_id: 'payment_47', customer_id: 'customer_123', customer_email: 'johndoe@email.com', account_customer_name: 'John Doe', payment_currency: 'IDR', payment_amount: 25000000, signature: "kUi2x9dKHAVNU0FYldJrxh4yo+52Kt8KU+Y19vySO\/RLUkDJrOcZzUCwX6R\/ekpZhkIQg==" } )
Callback format
The Bank transfers in Indonesia method uses the standard format for callbacks to deliver purchase results. For more information about callbacks, see Callbacks in Payment Page.
The following is the example of a callback with an information about successful 410 000,00 IDR
purchase made by the customer_123
customer in the 1234
project.
{ "project_id": 1234, "payment": { "id": "EPff55-fc0d", "type": "purchase", "status": "success", "date": "2021-12-15T08:23:21+0000", "method": "Indonesia bank transfer", "sum": { "amount": 41027300, "currency": "IDR" }, "description": "" }, "customer": { "id": "customer_123" }, "operation": { "id": 71, "type": "sale", "status": "success", "date": "2021-12-15T08:23:21+0000", "created_date": "2021-12-15T08:17:38+0000", "request_id": "cd75b3ce058216d708ec011691d66d01f3-00000001", "sum_initial": { "amount": 41027300, "currency": "IDR" }, "sum_converted": { "amount": 41027300, "currency": "IDR" }, "code": "0", "message": "Success", "provider": { "id": 12345, "payment_id": "45aef2f6-6703", "auth_code": "" } }, "signature": "kjW0RbTwZU38WTSVHdKpN2delUFWETcJbNNIOT7cx1OWlrg==" }
The following is the example of a callback for a declined purchase.
{ "project_id": 1234, "payment": { "id": "EPcaa7-d2ea", "type": "purchase", "status": "decline", "date": "2021-12-15T06:54:46+0000", "method": "Indonesia bank transfer", "sum": { "amount": 41027300, "currency": "IDR" }, "description": "" }, "customer": { "id": "customer_123" }, "operation": { "id": 65, "type": "sale", "status": "decline", "date": "2021-12-15T06:54:46+0000", "created_date": "2021-12-15T06:49:27+0000", "request_id": "2b9cc6557a79c9326781b33c2d789d5bd9424b8-00000001", "sum_initial": { "amount": 41027300, "currency": "IDR" }, "sum_converted": { "amount": 41027300, "currency": "IDR" }, "code": "20000", "message": "General decline", "provider": { "id": 12345, "payment_id": "c2fde9e1-7732", "auth_code": "" } }, "signature": "IGxwpomYObGz0o9jeuYauLDuoVFqNzGKZtQU80SwYbAVzgBhXgIHoQ==" }
Related topics
The following topics might be useful when implementing payments by using Payment Page:
Purchase by using Gate
General information
In the Bank transfers in Indonesia method, the merchant web service is required to do the following when processing a purchase by using Gate:
- Send a request with all the required parameters and signature to the Monetix URL.
- Show the screen with the payment instructions to the customer.
- Accept the callback with the payment result from the payment platform.
The following diagram provides the detailed picture of the payment processing procedure.
- Customer initiates purchase with Bank transfers in Indonesia on the merchant's web service side.
- The web service sends a request for processing the purchase by using Gate to the Monetix URL.
- The payment platform receives the request for processing the purchase from Gate.
- The payment platform performs initial request processing that includes validation whether all required parameters are available and signature is correct.
- The payment platform sends the response with request receipt confirmation and validation result to the web service. For more information about the response format, see Response structure.
- The payment platform performs the internal payment request processing and redirects the request to the Bank transfers in Indonesia service.
- The request is processed on the provider service side.
- The provider service generates the data for displaying the payment screen with payment instructions to the customer and sends it to the payment platform.
- The payment platform sends the callback with the payment instruction data inside the display_data object to the web service.
- The payment screen with payment instructions is displayed to the customer.
- The customer completes all the payment steps required.
- The payment is processed on the provider side.
- The provider service sends the payment result notification to the payment platform.
- The payment platform sends the callback with the payment result to the web service.
- The web service sends the payment result to the customer.
The sections that follow discuss in more details the request format and the Gate parameters to use in the Bank transfers in Indonesia payment method and provide the information about the format of callbacks with purchase results. For the general information on how to use the Gate API, see API Description.
Request format
There are several things you need to consider when dealing with purchase requests in the Bank transfers in Indonesia method:
- You initiate purchase request by sending a request to the
/v2/payment/bank-transfer/indonesia/sale
endpoint by using HTTP method POST. This endpoint belongs to the following group of endpoints for bank transfer payments: /v2/payment/bank-transfer/{payment_method}/sale - In the Bank transfers in Indonesia method, a purchase by using Gate can be processed through one of two channels. Refer to you Key Account Manager at Monetix for details on which one is relevant for you.
Figure 7. Parameter list for channel 1 The following objects and parameters must be specified in any request:
- general—object with general request identification information:
- project_id—the project ID obtained from Monetix
- payment_id—payment ID unique within the project
- signature—signature created after you specify all the required parameters. For more information about signature generation, see Signature generation and verification.
- customer—object with customer information:
- id—the unique ID of the customer within your project
- ip_address—customer device IP
- email—customer email
- first_name—customer first name. This parameter may be passed either in initial request or in the process of additional payment information submission. For more information about additional information submission, see Submission of additional payment information.
- last_name—customer last name. This parameter may be passed either in initial request or in the process of additional payment information submission. For more information about additional information submission, see Submission of additional payment information.
- payment—object with purchase information:
- amount—integer purchase amount in minor currency units without any decimal point or comma except for cases where the currency does not have any minor currency units. If the currency has no minor units (that is, the number of digits for minor currency units is zero), then you must set this parameter to the amount in the major currency units. For the information on whether the currency has any minor units, see Currency codes.
- currency—currency code in the ISO-4217 alpha-3 format
Figure 8. Parameter list for channel 2 The following objects and parameters must be specified in any request:
- general—object with general request identification information:
- project_id—the project ID obtained from Monetix
- payment_id—payment ID unique within the project
- signature—signature created after you specify all the required parameters. For more information about signature generation, see Signature generation and verification.
- customer—object with customer information:
- id—the unique ID of the customer within your project
- ip_address—customer device IP
- email—customer email
- account—object with customer account information
- bank_code—bank identifier from the list below:
- BCA—Bank Central Asia
- BNI—Bank Negara Indonesia
- MDR—Bank Mandiri
- BRI—Bank Rakyat Indonesia
- customer_name—customer name, exactly as the name the customer used to register with the bank
- bank_code—bank identifier from the list below:
- payment—object with purchase information:
- amount—integer purchase amount in minor currency units without any decimal point or comma except for cases where the currency does not have any minor currency units. If the currency has no minor units (that is, the number of digits for minor currency units is zero), then you must set this parameter to the amount in the major currency units. For the information on whether the currency has any minor units, see Currency codes.
- currency—currency code in the ISO-4217 alpha-3 format
- general—object with general request identification information:
- If required, you can also add any other additional parameters Gate supports.
Here is an example of data from a purchase request in the Bank transfers in Indonesia method.
{ "general": { "project_id": 1234, "payment_id": payment_47, "signature": "PJkV8ej\/UG0Di8hTng6JvC7vQsaC6tajQVVfBaNIipTv+AWoXW\/9MTO8yJA==" }, "customer": { "id": "customer_123", "ip_address": "198.51.100.47", "first_name": "John", "last_name": "Doe", "email": "johndoe@example.com" }, "payment": { "amount": 35000000, "currency": "IDR" } }
{ "general": { "project_id": 1234, "payment_id": payment_47, "signature": "PJkV8ej\/UG0Di8hTng6JvC7vQsaC6tajQVVfBaNIipTv+AWoXW\/9MTO8yJA==" }, "customer": { "id": "customer_123", "ip_address": "198.51.100.47", "email": "johndoe@example.com" }, "account":{ "bank_code": "BCA", "customer_name": "John Doe" }, "payment": { "amount": 35000000, "currency": "IDR" } }
Formats of data for displaying the payment instruction
To redirect a customer from the web service to the Bank transfers in Indonesia service, you must receive from the payment platform a callback that contain the redirection URL in the url parameter inside the redirect_data object and the data to be sent in the request body in the body parameter. Then, you need to use these parameters when opening the HTML page by using the method specified in the method parameter.
There are two options the way the display_data array is structured. Both of them are described below. Refer to you Key Account Manager at Monetix for details on which one is relevant for you.
Option 1
Each element of the display_data array contains the following parameters:
- type—data type, the value is always
add_info
- title—name of the payment instruction components. Possible values:
- given_amount—payment amount in minor currency units
- deposit_account_number—account number of the transfer recipient
- bank_name—bank name of the transfer recipient
- deposit_account_name—full name of transfer recipient
- data—payment instruction data
The following is the callback fragment containing the data to display to the customer:
"display_data": [ { "type": "add_info", "title": "given_amount", "data": "250012300" }, { "type": "add_info", "title": "deposit_account_number", "data": "1412175094" }, { "type": "add_info", "title": "bank_name", "data": "[BCA] Bank Central Asia" }, { "type": "add_info", "title": "deposit_account_name", "data": "Deposit account name" } ]
Option 2
Each element of the display_data array contains the following parameters:
- type—data type, the value is always
add_info
- title—name of the payment instruction components. Possible values:
- transaction_id—payment ID on the provider side
- beneficiary—full name of transfer recipient
- account_number—account number of the transfer recipient
- bank_name—bank name of the transfer recipient
- bank_address—bank address of the transfer recipient. You do not need to display this field in instruction if the corresponding data parameter is set to
n/a
.
- data—payment instruction data
The following is the callback fragment with the data to display to the customer:
"display_data": [ { "type": "add_info", "title": "transaction_id", "data": "012345678" }, { "type": "add_info", "title": "beneficiary", "data": "John Doe" }, { "type": "add_info", "title": "account_number", "data": "0123456789" }, { "type": "add_info", "title": "bank_name", "data": "BCA BANK INDONESIA" }, { "type": "add_info", "title": "bank_address", "data": "n/a" } ]
In addition to the data from the display_data array you are required to display the payment amount in the instruction.
Here is an example of a payment instruction text which can be used in the web service:
Instruction text in Indonesian | Instruction text in English |
---|---|
|
|
Callback format
The Bank transfers in Indonesia method uses the standard format for callbacks to deliver purchase results. For more information about callbacks, see Callbacks in Gate.
The following is the example of a callback with an information about successful 410 000,00 IDR
purchase in the 1234
project.
{ "project_id": 1234, "payment": { "id": "EPff55-fc0d", "type": "purchase", "status": "success", "date": "2021-12-15T08:23:21+0000", "method": "Indonesia bank transfer", "sum": { "amount": 41027300, "currency": "IDR" }, "description": "" }, "customer": { "id": "customer_123" }, "operation": { "id": 71, "type": "sale", "status": "success", "date": "2021-12-15T08:23:21+0000", "created_date": "2021-12-15T08:17:38+0000", "request_id": "cd75b3ce058216d708ec011691d66d01f3-00000001", "sum_initial": { "amount": 41027300, "currency": "IDR" }, "sum_converted": { "amount": 41027300, "currency": "IDR" }, "code": "0", "message": "Success", "provider": { "id": 12345, "payment_id": "45aef2f6-6703", "auth_code": "" } }, "signature": "kjW0RbTwZU38WTSVHdKpN2delUFWETcJbNNIOT7cx1OWlrg==" }
The following is the example of a callback for a declined purchase.
{ "project_id": 1234, "payment": { "id": "EPcaa7-d2ea", "type": "purchase", "status": "decline", "date": "2021-12-15T06:54:46+0000", "method": "Indonesia bank transfer", "sum": { "amount": 41027300, "currency": "IDR" }, "description": "" }, "customer": { "id": "customer_123" }, "operation": { "id": 65, "type": "sale", "status": "decline", "date": "2021-12-15T06:54:46+0000", "created_date": "2021-12-15T06:49:27+0000", "request_id": "2b9cc6557a79c9326781b33c2d789d5bd9424b8-00000001", "sum_initial": { "amount": 41027300, "currency": "IDR" }, "sum_converted": { "amount": 41027300, "currency": "IDR" }, "code": "20000", "message": "General decline", "provider": { "id": 12345, "payment_id": "c2fde9e1-7732", "auth_code": "" } }, "signature": "IGxwpomYObGz0o9jeuYauLDuoVFqNzGKZtQU80SwYbAVzgBhXgIHoQ==" }
Related topics
The following topics might be useful when implementing payments through Gate:
Testing
General information
You can perform test purchases with the Bank transfers in Indonesia payment method by using Payment Page and Gate.
To perform test purchases, you'll need the test project ID and the secret key to it. To get them, contact the technical support team at support@monetix.pro.
When performing test payments, keep in mind that:
- your requests must contain the test project ID
- the payment currency that you send in requests can be only IDR
- random values may be used as the payment ID and in the parameters with customer information
- the interface of the test checkout page may be different from the production one.
Test payments statuses
To receive one of the following statuses in the callback with the test purchase result, use a particular value for the purchase amount in the request:
- decline—when using
40000
or40400
amount - success—when using any amount other than those mentioned above
Testing purchase by using Payment Page
To perform a test purchase by using Payment Page:
- Send a request for purchase through Payment Page to the payment platform.
- Choose a payment method on the test checkout page. If you've passed the force_payment_method parameter with the
bank-transfer-indonesia
value in the request, you won't have to choose the payment method. - Specify a random first name and last name in the data entry fields. The payment instructions will be displayed to you after.
- Accept a callback with information about the test purchase result.
- Wait a few seconds until the result of the test purchase is displayed to you on the test checkout page.
See the detailed information about purchase processing through Payment Page in the Bank transfers in Indonesia payment method in the Purchase by using Payment Page section.
Testing purchase by using Gate
To perform a test purchase by using Gate:
- Send a request for performing a test purchase to the payment platform.
- Accept a callback with the data for displaying payment instructions. Your system will display the payment instructions to you after.
- Accept a callback with information about the test payment result.
- Wait a few seconds until your system shows you the result of the test purchase.
See the detailed information about purchase processing through Gate in the Bank transfers in Indonesia payment method in the Purchase by using Gate section.
Analysis of payments results
As with other payment methods Monetix offers, when using this method, you have several options to analyze the information about payments and operations.
You can load and analyze all the necessary information in Dashboard (dash-light.trxhost.com
), for instance you can use the analytic panels in the Analytics section for this purpose.
Also, you can export the information for further analysis by using third party analytical tools. The following options are available:
- Dashboard allows you to download reports in CSV format by using the tools in the Reports section. You can perform export as a one-time or regular download of data to your local computer.
- Data API allows you to have payment information exported in JSON format and delivered to a URL you specify. The payment information is exported by means of sending requests to the /operations/get endpoint.
If you have any further questions regarding payment data analysis, contact Monetix technical support.