|
|
Steps
|
Outcome |
|
|
|
|
Before
|
SUCCESS |
001ms |
|
|
|
SUCCESS |
013ms |
|
|
I takes note of productAccount
|
SUCCESS |
|
|
|
|
|
SUCCESS |
136ms |
|
|
|
SUCCESS |
123ms |
|
|
cashBoApi sends a POST request to '/api/v1/bo/product-account/create'
Response
URL: https://cash-bo-api-sg.dev.rakutentrade.com/api/v1/bo/product-account/create
Status code: 200
Content Type: application/json
Request Headers
Accept: application/json, text/plain, */* Content-Type: application/json User-Agent: axios/1.6.8 Content-Length: 111 Accept-Encoding: gzip, compress, deflate, br
Content Body
{"cif":"AUTO321657","product":"Cashupfront","marketCodes":["SES","HKG","NYS"],"currencies":["HKG","USD","SGD"]}
Response Headers
date: Wed, 24 Apr 2024 10:31:54 GMT content-type: application/json content-length: 62 connection: close vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers cache-control: no-cache, no-store, max-age=0, must-revalidate pragma: no-cache expires: 0 x-content-type-options: nosniff x-frame-options: DENY x-xss-protection: 0 referrer-policy: no-referrer
Response Body
{ "result": "Success", "reason": null, "data": null, "messages": null }
|
SUCCESS |
113ms |
|
|
|
|
|
SUCCESS |
146ms |
|
|
|
SUCCESS |
133ms |
|
|
cashBoApi sends a POST request to '/api/v1/bo/product-account/create'
Response
URL: https://cash-bo-api-sg.dev.rakutentrade.com/api/v1/bo/product-account/create
Status code: 200
Content Type: application/json
Request Headers
Accept: application/json, text/plain, */* Content-Type: application/json User-Agent: axios/1.6.8 Content-Length: 111 Accept-Encoding: gzip, compress, deflate, br
Content Body
{"cif":"AUTO321657","product":"Cashupfront","marketCodes":["SES","HKG","NYS"],"currencies":["HKG","USD","SGD"]}
Response Headers
date: Wed, 24 Apr 2024 10:31:54 GMT content-type: application/json content-length: 62 connection: close vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers cache-control: no-cache, no-store, max-age=0, must-revalidate pragma: no-cache expires: 0 x-content-type-options: nosniff x-frame-options: DENY x-xss-protection: 0 referrer-policy: no-referrer
Response Body
{ "result": "Success", "reason": null, "data": null, "messages": null }
|
SUCCESS |
123ms |
|
|
|
|
|
SUCCESS |
024ms |
|
|
cashBoApi logs: the body of the last response
{ "result": "Success", "reason": null, "data": null, "messages": null }
|
SUCCESS |
|
|
|
cashBoApi ensures that the status of the last response does equal 200
|
SUCCESS |
|
|
|
|
|
SUCCESS |
087ms |
|
|
|
SUCCESS |
074ms |
|
|
gcwBoApi sends a GET request to GET /api/v1/bo/wallet/getWalletDetail
Response
URL: https://gcw-bo-api-sg.dev.rakutentrade.com/api/v1/bo/wallet/getWalletDetail?&cif=AUTO321657
Status code: 200
Request Headers
Accept: application/json, text/plain, */* User-Agent: axios/1.6.8 Accept-Encoding: gzip, compress, deflate, br
Response Headers
date: Wed, 24 Apr 2024 10:31:54 GMT content-type: application/json content-length: 588 connection: close vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers cache-control: no-cache, no-store, max-age=0, must-revalidate pragma: no-cache expires: 0 x-content-type-options: nosniff x-frame-options: DENY x-xss-protection: 0 referrer-policy: no-referrer
Response Body
{ "availableCashBalances": [ { "currency": "HKD", "amount": 0 }, { "currency": "SGD", "amount": 0 }, { "currency": "USD", "amount": 0 } ], "withdrawable": { "currency": "SGD", "amount": 0 }, "withdrawableBalances": [ { "currency": "SGD", "amount": 0 }, { "currency": "HKD", "amount": 0 }, { "currency": "USD", "amount": 0 } ], "rates": [ { "currency": "USD/SGD", "quote": 1.29, "margin": 0.01 }, { "currency": "HKD/SGD", "quote": 0.15, "margin": 0.02 } ], "currentInterest": { "currency": "SGD", "interest": 0 }, "interests": [] }
|
SUCCESS |
064ms |
|
|
|
|
|
SUCCESS |
026ms |
|
|
gcwBoApi logs: the body of the last response
{ "availableCashBalances": [ { "currency": "HKD", "amount": 0 }, { "currency": "SGD", "amount": 0 }, { "currency": "USD", "amount": 0 } ], "withdrawable": { "currency": "SGD", "amount": 0 }, "withdrawableBalances": [ { "currency": "SGD", "amount": 0 }, { "currency": "HKD", "amount": 0 }, { "currency": "USD", "amount": 0 } ], "rates": [ { "currency": "USD/SGD", "quote": 1.29, "margin": 0.01 }, { "currency": "HKD/SGD", "quote": 0.15, "margin": 0.02 } ], "currentInterest": { "currency": "SGD", "interest": 0 }, "interests": [] }
|
SUCCESS |
|
|
|
gcwBoApi ensures that the status of the last response does equal 200
|
SUCCESS |
001ms |
|
|
|
|
SUCCESS |
025ms |
|
|
gcwBoApi logs: the body of the last response
{ "availableCashBalances": [ { "currency": "HKD", "amount": 0 }, { "currency": "SGD", "amount": 0 }, { "currency": "USD", "amount": 0 } ], "withdrawable": { "currency": "SGD", "amount": 0 }, "withdrawableBalances": [ { "currency": "SGD", "amount": 0 }, { "currency": "HKD", "amount": 0 }, { "currency": "USD", "amount": 0 } ], "rates": [ { "currency": "USD/SGD", "quote": 1.29, "margin": 0.01 }, { "currency": "HKD/SGD", "quote": 0.15, "margin": 0.02 } ], "currentInterest": { "currency": "SGD", "interest": 0 }, "interests": [] }
|
SUCCESS |
001ms |
|
|
gcwBoApi ensures that the body of the last response does have property availableCashBalances that does become present
|
SUCCESS |
001ms |
|
|
SUCCESS |
0.47s |