capabilities.work

Paycode Generate And Track

A 3-step recipe with Interswitch. We can help you get access.

Recipe · 3 steps

Paycode Generate And Track

Generate a Paycode token, check its status, and cancel it if unused.

  1. Create a one-time Paycode token for the subscriber.
  2. Poll the token status. Ends the workflow when the token has been used; otherwise proceeds to cancel the unused token.
  3. Cancel the unused Paycode token to release the hold.
What you'll need to have ready
  • accessToken: Bearer access token from the Passport OAuth token endpoint.
  • subscriberId: Subscriber the token is generated for.
  • frontEndPartnerId: Front-end partner id (e.g. WEMA).
  • paymentMethodCode: Payment method code for the cardless transaction.
  • amount: Token amount in minor currency units.
  • tokenLifeTimeInMinutes: Token lifetime in minutes.
  • oneTimePin: One-time PIN guarding the token.
  • transactionRef: Unique transaction reference (also used as ttid).
For your developer

Arazzo workflow interswitch:generate-and-track-paycode, 3 operations: generatePaycodeToken → getPaycodeTokenStatus → cancelPaycodeToken. Specs on APIs.io.