Order GiftCards

This Payshiga API allows you to order a new gift card. It can be used to generate and send a gift card to a specified recipient.

Endpoint

{{baseurl}}/giftcards/order

This is a POST request and these are the parameters of the request body:

This is what a request payload should look like:

FieldData TypeDescription
amountNumber = 1Required. This specifies the amount of money to be loaded onto the virtual card. It must be a number greater than or equal to 1.
currencyString: Default USD. Enum NGN USD EUR GBP KES TZS GHS RWF XAF XOF ZAR UGX AUD CAD ETB EGP MAD MWK ZMW SLL MURRequired. This defines the currency used for the transaction. It defaults to “USD” (US Dollar) but allows other listed options.
emailStringRequired. User’s email address.
productIdNumberRequired. This is a number assigned to the specific product or service being purchased.
quantityNumberRequired. The number of units being purchased.
noteString: /^[a-zA-Z0-9]{1,200}$/Optional note associated with the transaction. It can only contain alphanumeric characters (letters and numbers) and has a maximum length of 200 characters.
referenceStringOptional reference code or identifier related to the transaction.
{
  "currency": "NGN",
  "productId": 0,
  "amount": 1,
  "email": "string",
  "quantity": 0,
  "note": "/^a$/",
  "reference": "string"
}