capabilities.work

Checkout, Poll, and Acknowledge

A 4-step recipe with Cellulant. We can help you get access.

Recipe · 4 steps

Checkout, Poll, and Acknowledge

Create a checkout, wait for payment, then acknowledge it back to Tingg.

  1. Exchange the client credentials for a bearer access token used to authorize the subsequent calls.
  2. Create a hosted Express Checkout session for the customer to pay.
  3. Query the request status by merchant_transaction_id, repeating while the request is in flight, until a payment is reported.
  4. Send the delivered status back to the platform so settlement can proceed. Use status_code 183 for a successful delivery.
What you'll need to have ready
  • clientId: OAuth client id issued in the Tingg dashboard.
  • clientSecret: OAuth client secret issued in the Tingg dashboard.
  • apiKey: Merchant apikey header value issued in the Tingg dashboard.
  • merchantTransactionId: Unique merchant transaction id for this checkout.
  • serviceCode: Tingg service code identifying the merchant product line.
  • countryCode: ISO 3166-1 alpha-2 country code.
  • currencyCode: ISO 4217 currency code.
  • requestAmount: Amount to charge the customer.
  • callbackUrl: IPN callback URL Tingg posts the payment result to.
  • acknowledgementType: Acknowledgement type — Full or Partial.
  • acknowledgementAmount: Required when acknowledgementType is Partial.
  • acknowledgementNarration: Free-text narration for the acknowledgement.
For your developer

Arazzo workflow cellulant:checkout-poll-and-acknowledge, 4 operations: requestAccessToken → createExpressCheckout → queryRequestStatus → acknowledgePayment. Specs on APIs.io.