From 6a839ae3c122790b16755f4f3f19436211167b9f Mon Sep 17 00:00:00 2001 From: dwi bagus <165628711+dwioy@users.noreply.github.com> Date: Mon, 6 Oct 2025 15:41:08 +0800 Subject: [PATCH 01/10] feat: add sender info in request api disburse --- source/includes/_fund_disbursement.md | 1 + 1 file changed, 1 insertion(+) diff --git a/source/includes/_fund_disbursement.md b/source/includes/_fund_disbursement.md index e2812977..9cb38c32 100644 --- a/source/includes/_fund_disbursement.md +++ b/source/includes/_fund_disbursement.md @@ -268,6 +268,7 @@ Use this API to start disbursing money to a specific beneficiary account. | partner_trx_id | String(255) | TRUE | Unique disbursement ID for a specific request, generated by partner. | | email | String(255) | FALSE | Multiple emails allowed, max. 5, separated by space. E.g. john.doe@example.com budi@example.com stark@example.com | | child_balance | String(255) | FALSE | If the [Multi Account Management](https://docs.oyindonesia.com/#multi-account-management-oy-dashboard-tutorial) configuration is active, the disbursement will use the balance of child (sub-entity) account. Otherwise, the partner's own balance will be used by default. | +| sender_info | Object | FALSE | Object related to sender information. This object contain `sender_account_name String(255), sender_account_number String(255), sender_bank_code String(255)` | | additional_data | Object | FALSE | Object that includes the additional parameter for partner’s needs. This object contain `partner_merchant_id String(64) (Unique ID for each of partner’s merchant)` | ### Response Parameters From 16d62104deedc8077638883f40b506432dc03a86 Mon Sep 17 00:00:00 2001 From: dwi bagus <165628711+dwioy@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:25:12 +0800 Subject: [PATCH 02/10] test update _fund_disbursement.md --- source/includes/_fund_disbursement.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/includes/_fund_disbursement.md b/source/includes/_fund_disbursement.md index 9cb38c32..43c0aa48 100644 --- a/source/includes/_fund_disbursement.md +++ b/source/includes/_fund_disbursement.md @@ -256,6 +256,7 @@ Use this API to start disbursing money to a specific beneficiary account. ### HTTPS Request **[Production]** `POST https://partner.oyindonesia.com/api/remit`
**[Staging]** `POST https://api-stg.oyindonesia.com/api/remit` +This object contain `sender_account_name String(255), sender_account_number String(255), sender_bank_code String(255)` ### Request Parameters @@ -268,7 +269,10 @@ Use this API to start disbursing money to a specific beneficiary account. | partner_trx_id | String(255) | TRUE | Unique disbursement ID for a specific request, generated by partner. | | email | String(255) | FALSE | Multiple emails allowed, max. 5, separated by space. E.g. john.doe@example.com budi@example.com stark@example.com | | child_balance | String(255) | FALSE | If the [Multi Account Management](https://docs.oyindonesia.com/#multi-account-management-oy-dashboard-tutorial) configuration is active, the disbursement will use the balance of child (sub-entity) account. Otherwise, the partner's own balance will be used by default. | -| sender_info | Object | FALSE | Object related to sender information. This object contain `sender_account_name String(255), sender_account_number String(255), sender_bank_code String(255)` | +| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. +| recipient_bank | String(255) | TRUE | Please refer to the [Disbursement Bank Codes](#disbursement-bank-codes-) to find the bank code for the recipient's bank account. | +| recipient_account | String(255) | TRUE | Recipient bank account number, numeric only. | +| amount | BigInteger | TRUE | Amount of disbursement, the minimum amount for bank is Rp10.000 and e-wallet is Rp100. || | additional_data | Object | FALSE | Object that includes the additional parameter for partner’s needs. This object contain `partner_merchant_id String(64) (Unique ID for each of partner’s merchant)` | ### Response Parameters From 0a43a84b88db9d3c8ca2f9bcc4a2d75fb2b3089a Mon Sep 17 00:00:00 2001 From: dwi bagus <165628711+dwioy@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:27:18 +0800 Subject: [PATCH 03/10] test update _fund_disbursement.md --- source/includes/_fund_disbursement.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/includes/_fund_disbursement.md b/source/includes/_fund_disbursement.md index 43c0aa48..989bbb24 100644 --- a/source/includes/_fund_disbursement.md +++ b/source/includes/_fund_disbursement.md @@ -270,9 +270,10 @@ This object contain `sender_account_name String(255), sender_account_number Stri | email | String(255) | FALSE | Multiple emails allowed, max. 5, separated by space. E.g. john.doe@example.com budi@example.com stark@example.com | | child_balance | String(255) | FALSE | If the [Multi Account Management](https://docs.oyindonesia.com/#multi-account-management-oy-dashboard-tutorial) configuration is active, the disbursement will use the balance of child (sub-entity) account. Otherwise, the partner's own balance will be used by default. | | sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. +| Parameter | Type | Required | Description | +|-------------------|-------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | recipient_bank | String(255) | TRUE | Please refer to the [Disbursement Bank Codes](#disbursement-bank-codes-) to find the bank code for the recipient's bank account. | -| recipient_account | String(255) | TRUE | Recipient bank account number, numeric only. | -| amount | BigInteger | TRUE | Amount of disbursement, the minimum amount for bank is Rp10.000 and e-wallet is Rp100. || +| recipient_account | String(255) | TRUE | Recipient bank account number, numeric only. || | additional_data | Object | FALSE | Object that includes the additional parameter for partner’s needs. This object contain `partner_merchant_id String(64) (Unique ID for each of partner’s merchant)` | ### Response Parameters From 033294ab8ac4f90c77009bd3fbc5447258c39ce2 Mon Sep 17 00:00:00 2001 From: dwi bagus <165628711+dwioy@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:30:46 +0800 Subject: [PATCH 04/10] test update _fund_disbursement.md --- source/includes/_fund_disbursement.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/source/includes/_fund_disbursement.md b/source/includes/_fund_disbursement.md index 989bbb24..bf6df51e 100644 --- a/source/includes/_fund_disbursement.md +++ b/source/includes/_fund_disbursement.md @@ -256,7 +256,6 @@ Use this API to start disbursing money to a specific beneficiary account. ### HTTPS Request **[Production]** `POST https://partner.oyindonesia.com/api/remit`
**[Staging]** `POST https://api-stg.oyindonesia.com/api/remit` -This object contain `sender_account_name String(255), sender_account_number String(255), sender_bank_code String(255)` ### Request Parameters @@ -269,11 +268,7 @@ This object contain `sender_account_name String(255), sender_account_number Stri | partner_trx_id | String(255) | TRUE | Unique disbursement ID for a specific request, generated by partner. | | email | String(255) | FALSE | Multiple emails allowed, max. 5, separated by space. E.g. john.doe@example.com budi@example.com stark@example.com | | child_balance | String(255) | FALSE | If the [Multi Account Management](https://docs.oyindonesia.com/#multi-account-management-oy-dashboard-tutorial) configuration is active, the disbursement will use the balance of child (sub-entity) account. Otherwise, the partner's own balance will be used by default. | -| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. -| Parameter | Type | Required | Description | -|-------------------|-------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| recipient_bank | String(255) | TRUE | Please refer to the [Disbursement Bank Codes](#disbursement-bank-codes-) to find the bank code for the recipient's bank account. | -| recipient_account | String(255) | TRUE | Recipient bank account number, numeric only. || +| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. This object contain ``| | additional_data | Object | FALSE | Object that includes the additional parameter for partner’s needs. This object contain `partner_merchant_id String(64) (Unique ID for each of partner’s merchant)` | ### Response Parameters From c9071ade7b593b8a661f36c81a910bb29a90dc88 Mon Sep 17 00:00:00 2001 From: dwi bagus <165628711+dwioy@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:32:30 +0800 Subject: [PATCH 05/10] Update _fund_disbursement.md --- source/includes/_fund_disbursement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/_fund_disbursement.md b/source/includes/_fund_disbursement.md index bf6df51e..48ba078f 100644 --- a/source/includes/_fund_disbursement.md +++ b/source/includes/_fund_disbursement.md @@ -268,7 +268,7 @@ Use this API to start disbursing money to a specific beneficiary account. | partner_trx_id | String(255) | TRUE | Unique disbursement ID for a specific request, generated by partner. | | email | String(255) | FALSE | Multiple emails allowed, max. 5, separated by space. E.g. john.doe@example.com budi@example.com stark@example.com | | child_balance | String(255) | FALSE | If the [Multi Account Management](https://docs.oyindonesia.com/#multi-account-management-oy-dashboard-tutorial) configuration is active, the disbursement will use the balance of child (sub-entity) account. Otherwise, the partner's own balance will be used by default. | -| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. This object contain ``| +| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. This object contain
`• sender_account_name String(255)
  • sender_account_number String(255)
  • sender_bank_code String(255)
  • `| | additional_data | Object | FALSE | Object that includes the additional parameter for partner’s needs. This object contain `partner_merchant_id String(64) (Unique ID for each of partner’s merchant)` | ### Response Parameters From 175ee10a52d485722273a0c9a39c719db8350d32 Mon Sep 17 00:00:00 2001 From: dwi bagus <165628711+dwioy@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:33:16 +0800 Subject: [PATCH 06/10] Update _fund_disbursement.md --- source/includes/_fund_disbursement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/_fund_disbursement.md b/source/includes/_fund_disbursement.md index 48ba078f..199892ca 100644 --- a/source/includes/_fund_disbursement.md +++ b/source/includes/_fund_disbursement.md @@ -268,7 +268,7 @@ Use this API to start disbursing money to a specific beneficiary account. | partner_trx_id | String(255) | TRUE | Unique disbursement ID for a specific request, generated by partner. | | email | String(255) | FALSE | Multiple emails allowed, max. 5, separated by space. E.g. john.doe@example.com budi@example.com stark@example.com | | child_balance | String(255) | FALSE | If the [Multi Account Management](https://docs.oyindonesia.com/#multi-account-management-oy-dashboard-tutorial) configuration is active, the disbursement will use the balance of child (sub-entity) account. Otherwise, the partner's own balance will be used by default. | -| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. This object contain
    `• sender_account_name String(255)
  • sender_account_number String(255)
  • sender_bank_code String(255)
  • `| +| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. This object contain
    `• sender_account_name String(255)
    • sender_account_number String(255)
    • sender_bank_code String(255)`| | additional_data | Object | FALSE | Object that includes the additional parameter for partner’s needs. This object contain `partner_merchant_id String(64) (Unique ID for each of partner’s merchant)` | ### Response Parameters From ec737d29785fb8025c7d4b72f915dd922e531e4f Mon Sep 17 00:00:00 2001 From: dwi bagus <165628711+dwioy@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:34:10 +0800 Subject: [PATCH 07/10] Update _fund_disbursement.md --- source/includes/_fund_disbursement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/_fund_disbursement.md b/source/includes/_fund_disbursement.md index 199892ca..95fcd90e 100644 --- a/source/includes/_fund_disbursement.md +++ b/source/includes/_fund_disbursement.md @@ -268,7 +268,7 @@ Use this API to start disbursing money to a specific beneficiary account. | partner_trx_id | String(255) | TRUE | Unique disbursement ID for a specific request, generated by partner. | | email | String(255) | FALSE | Multiple emails allowed, max. 5, separated by space. E.g. john.doe@example.com budi@example.com stark@example.com | | child_balance | String(255) | FALSE | If the [Multi Account Management](https://docs.oyindonesia.com/#multi-account-management-oy-dashboard-tutorial) configuration is active, the disbursement will use the balance of child (sub-entity) account. Otherwise, the partner's own balance will be used by default. | -| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. This object contain
    `• sender_account_name String(255)
    • sender_account_number String(255)
    • sender_bank_code String(255)`| +| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. This object contain
    `• sender_account_name String(255)'
    '• sender_account_number String(255)'
    '• sender_bank_code String(255)`| | additional_data | Object | FALSE | Object that includes the additional parameter for partner’s needs. This object contain `partner_merchant_id String(64) (Unique ID for each of partner’s merchant)` | ### Response Parameters From 8f6752a9accfd35fa70a17c41a1a587b00066813 Mon Sep 17 00:00:00 2001 From: dwi bagus <165628711+dwioy@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:34:47 +0800 Subject: [PATCH 08/10] Update _fund_disbursement.md --- source/includes/_fund_disbursement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/_fund_disbursement.md b/source/includes/_fund_disbursement.md index 95fcd90e..b625629b 100644 --- a/source/includes/_fund_disbursement.md +++ b/source/includes/_fund_disbursement.md @@ -268,7 +268,7 @@ Use this API to start disbursing money to a specific beneficiary account. | partner_trx_id | String(255) | TRUE | Unique disbursement ID for a specific request, generated by partner. | | email | String(255) | FALSE | Multiple emails allowed, max. 5, separated by space. E.g. john.doe@example.com budi@example.com stark@example.com | | child_balance | String(255) | FALSE | If the [Multi Account Management](https://docs.oyindonesia.com/#multi-account-management-oy-dashboard-tutorial) configuration is active, the disbursement will use the balance of child (sub-entity) account. Otherwise, the partner's own balance will be used by default. | -| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. This object contain
    `• sender_account_name String(255)'
    '• sender_account_number String(255)'
    '• sender_bank_code String(255)`| +| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. This object contain
    `• sender_account_name String(255)`
    `• sender_account_number String(255)`
    `• sender_bank_code String(255)`| | additional_data | Object | FALSE | Object that includes the additional parameter for partner’s needs. This object contain `partner_merchant_id String(64) (Unique ID for each of partner’s merchant)` | ### Response Parameters From 325dd0984070349aa8b9fa247da5fb075b44f878 Mon Sep 17 00:00:00 2001 From: dwi bagus <165628711+dwioy@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:40:07 +0800 Subject: [PATCH 09/10] Update _fund_disbursement.md --- source/includes/_fund_disbursement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/_fund_disbursement.md b/source/includes/_fund_disbursement.md index b625629b..14671399 100644 --- a/source/includes/_fund_disbursement.md +++ b/source/includes/_fund_disbursement.md @@ -268,7 +268,7 @@ Use this API to start disbursing money to a specific beneficiary account. | partner_trx_id | String(255) | TRUE | Unique disbursement ID for a specific request, generated by partner. | | email | String(255) | FALSE | Multiple emails allowed, max. 5, separated by space. E.g. john.doe@example.com budi@example.com stark@example.com | | child_balance | String(255) | FALSE | If the [Multi Account Management](https://docs.oyindonesia.com/#multi-account-management-oy-dashboard-tutorial) configuration is active, the disbursement will use the balance of child (sub-entity) account. Otherwise, the partner's own balance will be used by default. | -| sender_info | Object | FALSE | Object related to sender information. By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts. This object contain
    `• sender_account_name String(255)`
    `• sender_account_number String(255)`
    `• sender_bank_code String(255)`| +| sender_info | Object | FALSE | Object related to sender information. This object contain :
    `• sender_account_name String(255)`
    `• sender_account_number String(255)`
    `• sender_bank_code String(255)`
    By default, if your request does not include the sender_info object, the system will automatically use your registered bank account from Accounts > Bank Accounts.| | additional_data | Object | FALSE | Object that includes the additional parameter for partner’s needs. This object contain `partner_merchant_id String(64) (Unique ID for each of partner’s merchant)` | ### Response Parameters From 17e3cadf5182e5ee4599b079c4c48760376c2195 Mon Sep 17 00:00:00 2001 From: dwi bagus <165628711+dwioy@users.noreply.github.com> Date: Tue, 7 Oct 2025 15:01:45 +0800 Subject: [PATCH 10/10] Change request _fund_disbursement.md --- source/includes/_fund_disbursement.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/source/includes/_fund_disbursement.md b/source/includes/_fund_disbursement.md index 14671399..33682b32 100644 --- a/source/includes/_fund_disbursement.md +++ b/source/includes/_fund_disbursement.md @@ -18,6 +18,11 @@ POST https://partner.oyindonesia.com/api/remit \ "note":"Split lunch bill", "partner_trx_id":"1234-asdf", "email" :"napoleon@email.com test@email.com", + "sender_info": { + "sender_account_name": "John Doe", + "sender_account_number": "12341235", + "sender_bank_code": "014" + }, "additional_data": { "partner_merchant_id": "merchant_abcd123" } @@ -39,6 +44,11 @@ request.body = json.encode({ "note": "Test API Disburse", "partner_trx_id": "OYON0000064", "email": "business.support@oyindonesia.com", + "sender_info": { + "sender_account_name": "John Doe", + "sender_account_number": "12341235", + "sender_bank_code": "014" + }, "additional_data": { "partner_merchant_id": "merchant_abcd123" } @@ -77,6 +87,11 @@ func main() { "note": "Test API Disburse", "partner_trx_id": "OYON0000064", "email": "business.support@oyindonesia.com", + "sender_info": { + "sender_account_name": "John Doe", + "sender_account_number": "12341235", + "sender_bank_code": "014" + }, "additional_data": { "partner_merchant_id": "merchant_abcd123" } @@ -135,6 +150,11 @@ var data = JSON.stringify({ "note": "Test API Disburse", "partner_trx_id": "OYON0000064", "email": "business.support@oyindonesia.com", + "sender_info": { + "sender_account_name": "John Doe", + "sender_account_number": "12341235", + "sender_bank_code": "014" + }, "additional_data": { "partner_merchant_id": "merchant_abcd123" } @@ -173,7 +193,7 @@ $request->setHeader(array( 'x-oy-username' => '{{username}}', 'x-api-key' => '{{api-key}}' )); -$request->setBody('{\n\t\"recipient_bank\": \"008\",\n\t\"recipient_account\": \"0201245681\",\n\t\"amount\": 15000,\n\t\"note\": \"Test API Disburse\",\n\t\"partner_trx_id\": \"OYON0000064\",\n\t\"email\": \"business.support@oyindonesia.com\",\n \"additional_data\": {\n \"partner_merchant_id\": \"merchant_abcd123\"\n }\n}'); +$request->setBody('{\n\t\"recipient_bank\": \"008\",\n\t\"recipient_account\": \"0201245681\",\n\t\"amount\": 15000,\n\t\"note\": \"Test API Disburse\",\n\t\"partner_trx_id\": \"OYON0000064\",\n\t\"email\": \"business.support@oyindonesia.com\",\n\t\"sender_info\": {\n\t\t\"sender_account_name\": \"John Doe\",\n\t\t\"sender_account_number\": \"12341235\",\n\t\t\"sender_bank_code\": \"014\"\n\t},\n\t\"additional_data\": {\n\t\t\"partner_merchant_id\": \"merchant_abcd123\"\n\t}\n}'); try { $response = $request->send(); if ($response->getStatus() == 200) { @@ -201,6 +221,11 @@ payload = json.dumps({ "note": "Test API Disburse", "partner_trx_id": "OYON0000064", "email": "business.support@oyindonesia.com", + "sender_info": { + "sender_account_name": "John Doe", + "sender_account_number": "12341235", + "sender_bank_code": "014" + }, "additional_data": { "partner_merchant_id": "merchant_abcd123" }