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.
ecode instead of pictures. The endpoint also accepts a JSON body when there are no attachments.
Track the sale
The response is201 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:
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.
