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.
Payment integration has three steps: connect, collect, and charge.
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 integrate the AffiniPay Payment Platform||And take payments||Do this|
|With your application||On behalf of your customers, who have AffiniPay accounts||You’re an AffiniPay partner. You need permission to take payments on behalf of your customers, who are AffiniPay merchants. Connect existing merchants.|
|With your application||On behalf of your customers, who need AffiniPay accounts||You’re an AffiniPay partner. You’ll need to provision an AffiniPay account for your customers. Connect new merchants.|
|With your mobile app||On behalf of your customers, who have AffiniPay accounts||Use the mobile SDK to connect, collect, and charge after you connect your application with AffiniPay.|
|With your website||For yourself||You’re an AffiniPay merchant. Connect using API keys.|
2: Collect payment details
Create a payment form to collect cardholder and payment details. Then, secure those details by tokenizing them.
3: Create a charge
Run a charge with the AffiniPay Payment Platform.
Note: If you need to integrate a hosted payments page into your website, contact AffiniPay Support.