Quickstart

You can integrate your website or application with AffiniPay, LawPay, or CPACharge to take payments securely using the AffiniPay Payment Platform. AffiniPay’s integration tasks are written for developers; for a successful integration, you should be familiar with writing code that interacts with REST endpoints using the HTTP protocol.

1: Connect to the AffiniPay Payment Platform

You have to connect to the AffiniPay Payment Platform before you can run transactions. How you connect depends on how you want to integrate.

To take paymentsDo this
On behalf of your customers, who have AffiniPay accountsYou’re an AffiniPay partner. You need permission to take payments on behalf of your customers, who are AffiniPay merchants. Connect existing merchants.
On behalf of your customers, who need AffiniPay accountsYou’re an AffiniPay partner. You’ll need to provision AffiniPay accounts for your customers. You can:
 • Incorporate our sign-up flow into your application and connect new merchants from your application.
 • Incorporate a button into your application to send users to the AffiniPay, LawPay, or CPACharge sign-up flow and connect new merchants using our sign-up flow.
For yourselfYou’re an AffiniPay merchant. Connect using API keys.

2: Choose how users will pay

After you’ve connected, choose where you want users to pay.

To have users payWhy you might choose thisDo this
In your app or siteYou want seamless payment integration in your application or website. You don’t want users to leave your application or website to make a payment. You like the flexibility of a custom payment form.Create a payment form to collect cardholder and payment details, secure those details by tokenizing them, and then make a charge within your application or website.
In our payment portalYou’d prefer to send users to our payment portal.Create an invoice to send users a payment link that enables them to pay within our payment portal. This type of integration is for partners only.
Pay in your mobile appYou want seamless payment integration in your mobile app.Add payment screens to your mobile app. Your backend servers will make the charges securely on behalf of your mobile app. This type of integration is for partners only.

Note: If you need to integrate a hosted payments page into your website, contact AffiniPay Support.