From 357b71400721f1fbb5249c38d1c137e9d0b243b1 Mon Sep 17 00:00:00 2001 From: rahmadiantio Date: Thu, 25 Apr 2024 15:39:50 +0700 Subject: [PATCH] add account linking --- source/includes/_api_account_linking.md | 58 ++++++++++++------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/source/includes/_api_account_linking.md b/source/includes/_api_account_linking.md index 876fd833..ef804cda 100644 --- a/source/includes/_api_account_linking.md +++ b/source/includes/_api_account_linking.md @@ -226,13 +226,13 @@ print(data.decode("utf-8")) ### Response Parameters -|Parameter |Type |Description | -|--- |--- |--- | -|success |Boolean |Will be `true` if the account linking process is successful and vice versa | -|error |Object |Error detail of the account linking process in Object `{code: , message: }`. This value is not null if the value of field `success` is `false` | -|data |Object |Account linking data, the detail will be explained in the next section | -|reason |String(255) |Will be filled with error reason if the linking status is failed | -|status_code |Integer |Will be `200` if the account linking process is success and will be the same as error code if the linking process is failed | +|Parameter |Type | Nullable |Description | +|--- |--- | ----- |--- | +|success |Boolean | FALSE |Will be `true` if the account linking process is successful and vice versa | +|error |Object | FALSE |Error detail of the account linking process in Object `{code: , message: }`. This value is not null if the value of field `success` is `false` | +|data |Object | FALSE |Account linking data, the detail will be explained in the next section | +|reason |String(255) | FALSE |Will be filled with error reason if the linking status is failed | +|status_code |Integer | FALSE |Will be `200` if the account linking process is success and will be the same as error code if the linking process is failed | ### Account Linking Response Data @@ -463,13 +463,13 @@ print(data.decode("utf-8")) ### Response Parameters -|Parameter |Type |Description | -|--- |--- |--- | -|success |Boolean |Will be `true` if the account linking process is successful and vice versa | -|error |Object |Error detail of the account linking process in Object `{code: , message: }`. This value is not null if the value of field `success` is `false` | -|data |Object |Account linking data, the detail will be explained in the next section | -|reason |String(255) |Will be filled with error reason if the linking status is failed | -|status_code |Integer |Will be `200` if the account linking process is success and will be the same as error code if the linking process is failed | +|Parameter |Type | Nullable |Description | +|--- |--- | ----- |--- | +|success |Boolean | FALSE |Will be `true` if the account linking process is successful and vice versa | +|error |Object | FALSE |Error detail of the account linking process in Object `{code: , message: }`. This value is not null if the value of field `success` is `false` | +|data |Object | FALSE |Account linking data, the detail will be explained in the next section | +|reason |String(255) | FALSE |Will be filled with error reason if the linking status is failed | +|status_code |Integer | FALSE |Will be `200` if the account linking process is success and will be the same as error code if the linking process is failed | ### Account Linking Response Data @@ -508,15 +508,15 @@ EWALLET | shopeepay_ewallet | Send Callback | - ### Callback Parameters -Parameter | Type | Description ---------- | ---- | ----------- -username | String | Partner username -partner_user_id | String | ID generated by Partner for a specific user/customer -payment_method | String | The payment method type that user want to linked to (Currently only support `EWALLET`. In the future we will have another payment method type, such as `CARDS`) -channel_code | String | The payment channel type that user want to linked to (Currently support `dana_ewallet` and `shopeepay_ewallet`) -phone_number |String | The user phone number (format 08xxxxxxxxxx) -status | String | User's account linking status -expiration_time | String | User's account linking expiration time (example: `01/02/2020T15:00:00.000+0000`) +Parameter | Type | Nullable | Description +--------- | ---- | ----- | ----------- +username | String | FALSE | Partner username +partner_user_id | String | FALSE | ID generated by Partner for a specific user/customer +payment_method | String | FALSE | The payment method type that user want to linked to (Currently only support `EWALLET`. In the future we will have another payment method type, such as `CARDS`) +channel_code | String | FALSE | The payment channel type that user want to linked to (Currently support `dana_ewallet` and `shopeepay_ewallet`) +phone_number |String | FALSE | The user phone number (format 08xxxxxxxxxx) +status | String | FALSE | User's account linking status +expiration_time | String | FALSE | User's account linking expiration time (example: `01/02/2020T15:00:00.000+0000`) - Other than that, at the end of account linking process, we will redirect the user to your redirect page with `partner_user_id` and result status embedded in your redirect URL. You could set your redirect url on your [dashboard](https://desktop-business.oyindonesia.com/settings/developer-options) on tab `Redirect URL`. Below are the example of redirect url result. @@ -734,12 +734,12 @@ print(data.decode("utf-8")) ### Response Parameters -|Parameter |Type |Description | -|--- |--- |--- | -|status |Object |Status of response in Object `{code: , message: }`. | -|partner_user_id |String(255) |ID generated by Partner for a specific user/customer | -|channel_code |String(255) |The payment channel type (Currently support `dana_ewallet` and `shopeepay_ewallet`) | -|amount |BigDecimal |User e-wallet balance amount | +|Parameter |Type | Nullable |Description | +|--- |--- | ----- |--- | +|status |Object | FALSE |Status of response in Object `{code: , message: }`. | +|partner_user_id |String(255) | FALSE |ID generated by Partner for a specific user/customer | +|channel_code |String(255) | FALSE |The payment channel type (Currently support `dana_ewallet` and `shopeepay_ewallet`) | +|amount |BigDecimal | FALSE |User e-wallet balance amount | ## Response Codes