Wafi Checkout

Number of APIs: 14

Introduction

PUBLIC URL

LIVE: https://api.wafi.cash/
TEST: https://sandbox-api.wafi.cash/

Follow this guide to:

  • Generate checkout url

  • List all checkout transactions

  • Retrieve details of a transaction

  • Cancel a transaction

  • Refund a transaction

  • Add webhook

  • update webhook

  • retrieve webhook
  • List all promotions
  • Retrive a promotion details
  • Create a promotion
  • Update a promotion
  • Pause a promotion
  • End a promotion
  1. end promotion POST {{WAFI_URL}}/v1/checkout/promotion/end

  2. initialize transaction POST {{WAFI_URL}}/v1/checkout-ui

  3. fetch all transactions GET {{WAFI_URL}}/v1/checkout/transaction?page=1&date_to=2022-12-27&date_from=2021-04-27&status=Created

  4. fetch transaction GET {{WAFI_URL}}/v1/checkout/transaction?reference={{reference}}&transaction_id={{id}}

  5. cancel transaction POST {{WAFI_URL}}/v1/checkout/{{id}}/cancel

  6. refund transaction POST {{WAFI_URL}}/v1/checkout/{{id}}/refund

  7. add webhook PUT {{WAFI_URL}}/v1/webhook

  8. retrieve webhook GET {{WAFI_URL}}/v1/webhook

  9. update webhook secret PUT {{WAFI_URL}}/v1/webhook/secret

  10. fetch a promotion GET {{WAFI_URL}}/v1/checkout/promotions/{{id}}