9. Available Web-Components

Web components provide a user-friendly solution for partners looking to implement a streamlined and interactive payment system. Its ease of inclusion and integration make it simple to set up and customize, providing a seamless user experience from onboarding to transaction and batch processing, to eventual payouts.

1. Onboarding

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="boarding">
</pay-engine>

2. Transactions

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="transactions">
</pay-engine>

To enable the print option in the transaction widget, set the "print-receipt" attribute to true in the transaction web-component as shown below:

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    print-receipt="true"
    type="transactions">
</pay-engine>

3. Batch Settlements

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="payouts"
    view-type="settlement">
</pay-engine>

4. Payouts (Funding)

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="payouts"
    view-type="funding">
</pay-engine>

5. Credit Card Form

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="creditcardform"
    show-zip="true" >
</pay-engine>

You can customize the allowed countries and ZIP code validation behavior in the credit card form web-component using the following properties:

allowed-countries (optional)

  • Defines which countries are allowed for the zip code in the form.

  • If not specified, the default is US and CA.

  • Provide a comma-separated list of country codes (case-insensitive), for example: "JP, AU"

  • To allow all supported countries, use: allowed-countries="INTL"

validate-zip (optional)

  • Accepts true or false. Default is true.

  • When true, the form will validate ZIP/postal codes for the allowed countries.

  • When false, ZIP validation will be skipped for all allowed countries.

Supported countries for zip code

UK, JE, GG, IM, US, CA, IE, DE, JP, FR, AU, IT, CH, AT, ES, NL, BE, DK, SE, NO, BR, PT, FI, AX, KR, CN, TW, SG, DZ, AD, AR, AM, AZ, BH, BD, BB, BY, BM, BA, IO, BN, BG, KH, CV, CL, CR, HR, CY, CZ, DO, EC, EG, EE, FO, GE, GR, GL, GT, HT, HN, HU, IS, IN, ID, IL, JO, KZ, KE, KW, LA, LV, LB, LI, LT, LU, MK, MY, MV, MT, MU, MX, MD, MC, MA, NP, NZ, NI, NG, OM, PK, PY, PH, PL, PR, RO, RU, SM, SA, SN, SK, SI, ZA, LK, TJ, TH, TN, TR, TM, UA, UY, UZ, VA, VE, ZM, AS, CC, CK, RS, ME, CS, YU, CX, ET, FK, NF, FM, GF, GN, GP, GS, GU, GW, HM, IQ, KG, LR, LS, MG, MH, MN, MP, MQ, NC, NE, VI, PF, PG, PM, PN, PW, RE, SH, SJ, SO, SZ, TC, WF, XK, YT, INTL

6. ACH Form

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="bankaccountform"> 
</pay-engine>

If your use case supports both personal and business bank accounts, you can include the optional show-business-name property in the ACH web-component. When enabled, the form will display a Business Name input field. This field should be completed by the user when they are entering a business bank account.

7. Device Management

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="devices">
</pay-engine>

8. Dispute Management (Contact support to enable)

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="disputes">
</pay-engine>

9. Plaid Connect (Plaid Account Required)

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="plaidconnect">
</pay-engine>

10. Dashboard (Merchant's GMV)

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="dashboard">
</pay-engine>

11. Virtual Terminal

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="merchant-terminal">
</pay-engine>

show-zip (optional)

  • Accepts true or false. Default is false.

  • When set to true, the form will display a mandatory ZIP/postal code field and apply validation based on the entered ZIP/postal code.

12. Merchant Statements

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="statements">
</pay-engine>

13. Merchant Reports

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="merchant-reports">
</pay-engine>

a. Payment Session

Use the following web-component to embed a customer-facing payment session on your page:

<pay-engine
    id="elementID"
    payment-link-id="<Payment Link ID>"
    shouldProcess3ds="true" // Optional. Default is false
    onTransactionEvent="<custom callback function>"
    type="payment-session">
</pay-engine>

Note: Refer to the onTransactionEvent documentation for details and usage examples of the callback function.

To embed the payment link, use the following web-component:

<pay-engine
    id="elementID"
    payment-link-id="<Payment Link ID>"
    shouldProcess3ds="true" // Optional. Default is false
    type="payment-link">
</pay-engine>

To embed the interface for creating and managing payment links, use the following web-component:

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="payment-link-create">
</pay-engine>

15. Payment page

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    shouldProcess3ds="true" // Optional. Default is false
    type="payment-hosted-page">
</pay-engine>

16. Recurring Payments

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="merchant-recurring-payment">
</pay-engine>

17. Gateway Connection

<pay-engine
    id="elementID"
    merchant-id="<Merchant ID>"
    type="gateway-connect"
    gateway-id="<GATEWAY-ID>">
</pay-engine>

Please see Gateway Orchestration for more details

Last updated