Skip to main content
Purchase a gift card. PayVessel debits your business wallet and returns the gift card redemption details.

Usage

curl -X POST https://api.payvessel.com/api/v1/gift-cards/orders \
  -H "api-key: YOUR_API_KEY" \
  -H "api-secret: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "reference": "gift-order-001",
    "operator_id": "AMAZON_US",
    "product_id": "AMAZON_25_USD"
  }'

Request body

FieldTypeRequiredDescription
referencestringYesYour unique merchant order reference (max 64 characters)
operator_idstringYesThe product/operator ID from List Products
product_idstringYesThe denomination ID from Get Denominations
The order amount is debited from your business wallet immediately. Make sure you have sufficient balance before creating an order.

Response

The response returns an order object. Key fields:
FieldTypeDescription
idstring (uuid)PayVessel order ID
referencestringYour merchant reference
product_namestringGift card name
countrystringCountry
amount_usdnumberAmount in USD
amount_nairanumberAmount in NGN
redeem_codestring or nullGift card redemption code (available when completed)
serial_numberstring or nullGift card serial number
statusstringpending, processing, completed, or cancelled
error_messagestring or nullError details if the order failed

Next step

If the status is not yet completed, poll Get Order to retrieve the redemption code.

API Reference

Full request/response details and Try it