Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update links #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/components/Balances.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function Balances({memberGuid, userGuid}) {
return (
<div style={{marginTop: '24px'}}>
<MXEndpoint
docsLink="https://docs.mx.com/api#core_resources_members_check_balances"
docsLink="https://docs.mx.com/products/connectivity/balance-checks"
title="Check Balances"
finalDataUrl="/users/{user_guid}/accounts"
jobType="Balance"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Identity.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function Identity({memberGuid, userGuid}) {
return (
<div style={{marginTop: '24px'}}>
<MXEndpoint
docsLink="https://docs.mx.com/api#identification_identity"
docsLink="https://docs.mx.com/products/connectivity/account-owner-identification"
title="Identify Member"
finalDataUrl="/users/{user_guid}/members/{member_guid}/account_owners"
jobType="Identity"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/LaunchButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function LaunchButton({ setUserGuid, setMemberGuid }) {
password
</td>
<td>
correct, challenge, options, image, <a href="https://docs.mx.com/api/guides/testing#test_credentials" target="_blank" rel="noreferrer">see docs for more scenarios</a>
correct, challenge, options, image, <a href="https://docs.mx.com/resources/test-platform#mx-bank-testing-scenarios" target="_blank" rel="noreferrer">see docs for more scenarios</a>
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/MXEndpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function MXEndpoint({
</div>
{showNotice && (
<Text as="ParagraphSmall" color="secondary" tag="p">
Notice: The first two parts were completed automatically in the widget because it was configured to <a href="https://docs.mx.com/api#connect_request_a_url" target="_blank" rel="noreferrer">{getNoticeMessage()}.</a>
Notice: The first two parts were completed automatically in the widget because it was configured to <a href="https://docs.mx.com/api-reference/platform-api/reference/request-widget-url" target="_blank" rel="noreferrer">{getNoticeMessage()}.</a>
</Text>
)}
<div className="mt-8 flex-align">
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/RunJobAndPoll.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import MXConnectWidget from './MXConnectWidget';


const LINKS = {
balances: 'https://docs.mx.com/api#core_resources_members_check_balances',
holdings: 'https://docs.mx.com/api#investments_holdings',
identity: 'https://docs.mx.com/api#identification_identity'
balances: 'https://docs.mx.com/api-reference/platform-api/reference/check-balances',
holdings: 'https://docs.mx.com/api-reference/platform-api/reference/list-holdings',
identity: 'https://docs.mx.com/api-reference/platform-api/reference/identify-member'
}

function RunJobAndPoll({
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Transactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ function Transactions({userGuid, memberGuid}) {
code: '400',
type: 'Bad Request',
message: 'Something happend and you were unable to get transactions',
link: 'https://docs.mx.com/api#core_resources_transactions_list_transactions_by_member'
link: 'https://docs.mx.com/api-reference/platform-api/reference/list-transactions-by-member'
})
});
}

return (
<div style={{marginTop: '24px'}}>
<MXEndpoint
docsLink="https://docs.mx.com/api#core_resources_transactions_list_transactions_by_member"
docsLink="https://docs.mx.com/api-reference/platform-api/reference/list-transactions-by-member"
title="List Transactions"
finalDataUrl="/users/{user_guid}/members/{member_guid}/transactions"
jobType="Transactions"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Verification.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ function Verification({userGuid, memberGuid}) {
code: '400',
type: 'Bad Request',
message: 'You dont have access to this premium feature.',
link: 'https://docs.mx.com/api#verification_mx_widgets'
link: 'https://docs.mx.com/api-reference/platform-api/reference/verify-member'
})
});
}

return (
<MXEndpoint
docsLink="https://docs.mx.com/api#verification_mx_widgets"
docsLink="https://docs.mx.com/api-reference/platform-api/reference/verify-member"
error={error}
finalDataUrl="/users/{user_guid}/members/{member_guid}/account_numbers"
jobType="Verification"
Expand Down