Swap Funds

Post https://payzigo.online/api/v1/swap

Headers

Authorization* string

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

Body parameters

from_wallet* uuid

Debit Wallet ID

to_wallet* uuid

Credit Wallet ID

amount numeric

Amount is lowest currency denomination

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://payzigo.online/giftcard-pin/ceb3438a-2b84-4dec-9aff-1140df1c6c09",
        "card_id": "ceb3438a-2b84-4dec-9aff-1140df1c6c09",
        "card": "Mockup Card ₦15,000.00"
    }
}