Skip to content

DStv ​

Pay a DStv subscription onto a customer's smartcard account. Payments are in USD only.

  1. List the packages. Each has a slug and an amount.
  2. Look up the smartcard with the package you intend to pay for. You get the account holder's name to show your customer.
  3. Pay with a reference.

How a payment works ​

You choose a package, not an amount. Your wallet is charged the package's amount, which already includes the Xash service fee, and the package price is paid onto the smartcard account.

Rules that apply to every payment ​

  • One payment per smartcard at a time. A second request for the same smartcard while one is running fails with PURCHASE_IN_PROGRESS. Check how the running payment ended before paying again.
  • Duplicate protection. A payment of the same amount to the same smartcard within 10 minutes fails with DUPLICATE_TRANSACTION. The earlier payment may have been paid or may still be held, so check it before paying again.
  • DStv can be unavailable. Xash pays DStv through a regional provider at an exchange rate it verifies. When that rate cannot be verified, lookups and payments are refused with DSTV_RATE_UNVERIFIED and nothing is charged. Try again later.