Walk through the deep linking workflow

You can use deep linking to navigate users from your mobile app to payment screens in the AffiniPay, CPACharge, or LawPay mobile app (the target app). Using these payment screens and an optional AffiniPay card reader or manual entry, your merchants submit card payment information securely in the target app and then return seamlessly to your mobile app.

Your mobile app submits a deep link URL with payment information. The target app obtains the payment token using payment details from the merchant. Your backend server, which must already be connected to the AffiniPay Payment Platform, submits the charge.

After you integrate deep linking into your mobile app, it’s easy for your merchants to make a charge. Here’s the full charge workflow:

  1. After you or your merchant initiate the payment process in your mobile app, you send a deep link URL with merchant information to the target app. At this point, the merchant is taken from your mobile app to the target app, where they enter payment details.

  2. The target app sends payment details to the AffiniPay Payment Gateway to create a payment token.

  3. The target app returns payment token details to your mobile app.

  4. Your mobile app submits payment token, amount, and other payment-related information to your backend server.

  5. Your backend server submits the charge to the AffiniPay Payment Gateway and the AffiniPay Payment Gateway returns the charge ID to your backend server.

  6. Your backend server sends charge results to your mobile app.

Next step

To start taking payments, integrate deep linking into your Android or iOS mobile app.