Skip to main content

Trusted Frame and Custom Form using
QuickStream-API.js

QuickStream-API.js is a JavaScript library containing helper functions for collecting card and bank account details, validating these details and obtaining a single-use-token without any sensitive details ever touching your servers. All sensitive data is sent directly from the customer's browser to our QuickStream servers.

Use QuickStream-API.js to build:

  • Custom card or bank account forms using Custom Form.
  • Customisable card or bank account forms inside an iframe using Trusted Frame.

View the full QuickStream-API.js JavaScript SDK reference.

Trusted frame

Use Trusted Frame to quickly and easily "drop-in" card or bank account forms onto your website.

With Trusted Frame, we host the form inside an iframe, and there are lots of options to customise its look-and-feel. You get to fully customise Trusted Frame when your page loads, and on events as your customers fill out your own forms. If you'd like even more control, try Custom Form.

View the full QuickStream-API.js JavaScript SDK reference and follow the tutorials.

Cards

Collect card payment accounts using Trusted Frame. To test: enter a name, 4242424242424242 into Card Number and choose an expiry date in the future.

See the Pen XWXbmGe by Westpac QuickStream (@quickstream) on CodePen.

Bank Accounts

Collect bank accounts using Trusted Frame. To test: enter a name, 032-002 into BSB and 123465 into Account Number.

See the Pen Westpac QuickStream REST API - Trusted Frame - Bank account payments by Westpac QuickStream (@quickstream) on CodePen.


Custom form

Use Custom Form to seamlessly integrate card or bank account forms directly onto your website.

Custom Form does not use an iframe, and so it gives you full control over the look and feel of your payment flow. If you need faster and easier integration, try Trusted Frame.

View the full QuickStream-API.js JavaScript SDK reference and follow the tutorials.

See the Pen Westpac Quickstream REST API - Custom Form Default by Westpac QuickStream (@quickstream) on CodePen.

Disclaimer

The information contained in this publication is provided for learning purposes only and is subject to change. Revisions may be issued from time to time that encompass changes or additions to this module.

This is a guide only and it is not comprehensive. It does not impinge on or overrule any formal arrangement you may enter into with the Bank. The Bank and its officers shall not have any liability for any losses of any kind incurred in connection with any action, inaction or decision taken in reliance on the information herein or for any inaccuracies, errors or omissions. In this publication references to the "Bank" are to Westpac Banking Corporation ABN 33 007 457 141 and to any of its operating Divisions, including BankSA and St.George.