---
title: Pay3 Javascript SDK
slug: fiat-docs/pay3-javascript-sdk
docTags: 
createdAt: 2023-10-16T14:54:45.156Z
---

Pay3 Javascript SDK provides a two-way communication with Pay3 webapp:

This can be integrated to the application using one of the following methods:&#x20;

1. NPM module [@pay3/sdk ](https://www.npmjs.com/package/@pay3/sdk)&#x20;
2. OR Script tag of the application's html file `https://pay3.money/pay3-sdk-pay/index.global.X.Y.Z.js`&#x20;

Pay3 webapp is a highly customisable. Following picture show high-level communication between the integrating App and Pay3.&#x20;

## Checkout Integration

Checkout flow can be utilised by the applications to get users buy and pay using their preferred local currencies.

### Integration Design

![](https://api.archbee.com/api/optimize/9JcgbaqQe2mz216pCFoHU/K2UKgFwHExp_rm9hHwWTW_pay3-sdk-checkout-integration.png)

## Payout Integration

Payout flow can be utilised by the application to allow users to withdraw funds from the application into their preferred payment instrument.   &#x20;

### Integration Design

![](https://api.archbee.com/api/optimize/9JcgbaqQe2mz216pCFoHU/FeH9VAxNNzQLR7fKH65VD_pay3-sdk-payout-integration.png)

## Crypto Payin Integration

Users can pay via Crypto for the product and services provided by the application. Following diagram shows the integration overview for Crypto payin.

![Crypto Payin Integration Overview](https://api.archbee.com/api/optimize/5goxYzXl7cEfaX56A_Ptv-gu7bbgpgWdSpilAsugHS5-20240828-072348.png "Crypto Payin Integration Overview")

