Order Card

Post https://whitelabel.markets/demos/apex/api/v1/giftcard/order

Headers

Authorization* string

Pass your {secret_key} as a bearer token in the request header to authorize this call

Body parameters

debit_wallet* string

Wallet ID of debit wallet

rate_id* string

Rate ID

coupon string

Coupon code

Response

{
    "message": "Payment successful",
    "status": "success",
    "data": {
        "id": "85aa16db-eceb-429c-b042-a34f30eea44d",
        "amount": "996.68",
        "charge": "0.00",
        "status": "success",
        "mode": "live",
        "card_url": "https://whitelabel.markets/demos/apex/giftcard-pin/ceb3438a-2b84-4dec-9aff-1140df1c6c09",
        "card_id": "ceb3438a-2b84-4dec-9aff-1140df1c6c09",
        "card": "Mockup Card ₦15,000.00"
    }
}