Skip to main content
With the Bitliva Merchant API you can sell a customer’s gift card. You list the cards that can be sold, submit one for review, and you are paid to your wallet once it is approved.

List the cards you can sell

GET /giftcards returns cards with the naira rate per US dollar. minimum is in dollars. You can narrow the list with query parameters:

Submit a card for review

POST /giftcards/sales submits a card for review. Use multipart/form-data when you attach pictures.
For an e-code, you can send ecode instead of pictures. The endpoint also accepts a JSON body when there are no attachments.

Track the sale

The response is 201 with a transaction of type giftcard_sale and status pending. The details object records the card, its value in dollars and the rate that applied:
The sale stays pending until it is reviewed, then becomes successful or failed. When it is approved, the naira is paid to your wallet. You are notified by a transaction.successful or transaction.failed webhook, and you can also read the sale with Get one transaction. Reusing a reference returns the original sale instead of submitting the card twice. Unavailable cards return giftcard_unavailable, and a failed submission returns giftcard_submission_failed.