From 5f9ac8f641e80f7a8b56cfb5fcbe9c4a82fac149 Mon Sep 17 00:00:00 2001 From: Muhammad Harits Arrazi Date: Fri, 15 Mar 2024 13:03:17 +0700 Subject: [PATCH] Add full name params to request/response of some api (#280) * Add full name params to request/response of some api * fix some inconsistencies * add only when * naming fix --- source/includes/_payment_routing.md | 4 ++- source/includes/static_va.md.erb | 41 ++++++++++++++++++++--------- 2 files changed, 32 insertions(+), 13 deletions(-) diff --git a/source/includes/_payment_routing.md b/source/includes/_payment_routing.md index a04c579d..86541172 100644 --- a/source/includes/_payment_routing.md +++ b/source/includes/_payment_routing.md @@ -294,7 +294,8 @@ Endpoint: | need_frontend | Boolean | TRUE | -| Partner need UI or not, if true, we will route to payment link, otherwise will be route to API-based solution. | | list_enable_payment_method | String; comma separated | TRUE | - | To configure payment methods to be enabled in the payment method page. | | list_enable_sof | String; comma separated | TRUE | - | To configure list of source of fund (banks or ewallets) to be enabled in the payment method page. For additional detail please refer to [List Allowed Payment Methods and SOF](https://api-docs.oyindonesia.com/#if-need_frontend-true-list-of-allowed-payment-methods-and-sof) | -| sender_email | String | FALSE | - | Email of sender | +| sender_email | String | CONDITIONAL | - | Email of sender. Required only when creating VA from Mandiri(008), Permata(013) or CIMB(022). | +| full_name | String | CONDITIONAL | - | Fill with the name of end-user that will pay this transaction. Required only when creating VA from Mandiri(008), Permata(013) or CIMB(022). | | receive_amount | Numeric | TRUE | - | The amount of a transaction to be paid, min. amount is 10000, except if you use unique code BCA which has min. amount 11000 or CARDS which has min. amount 15000 | | va_display_name | String | FALSE | Partner's brand name | Display name for VA that will be displayed once user do inquiry. If empty VA name will be set using partner brand name. This parameter will be used only if you use BANK_TRANSFER payment method and routed to VA. | | trx_expiration_time | Date string; yyyy-mm-dd hh:mm:ss format (UTC+7) | FALSE | Refer to [Default Expiration Time](https://api-docs.oyindonesia.com/#transaction-expiration-time-guidelines-create-and-update-payment-routing) | Set expiration time of transaction. Please refer to [Transaction Expiration Time Guidelines](https://api-docs.oyindonesia.com/#transaction-expiration-time-guidelines-create-and-update-payment-routing) | @@ -329,6 +330,7 @@ Endpoint: |ewallet_url|String| For `use_linked_account: true`: URL that prompt user to input PIN to authorize Direct Payment. For `use_linked_account: false`: A deep link URL that allows user to access the specific e-wallet vendor's application for making a payment. Currently, only Linkaja, ShopeePay and Dana are supported options. This attribute will only be present if the request parameter 'need_frontend' is set to 'FALSE' and the payment method selected is 'EWALLET'.| |cards_url|String| URL that allows user to make payment using their Credit Card. This attribute will only be present if the request parameter 'need_frontend' is set to 'FALSE' and the payment method selected is 'CARDS'.| |unique_code_detail|Object|Contains two objects of number: `amount` which is the requested amount and `unique_code` which is the generated 3 digits unique code ; conditional, only exist if request need_frontend is FALSE and payment_method is BANK_TRANSFER and you use unique code BCA.| +|full_name | String | If `full_name` is needed when creating the transaction, the inputted `full_name` value at creation will be shown here.|