Offramp

Offramp to phone number, till number, paybill number or bank account

POST https://pretium.africa/api/v1/payment/crypto/offramp

Please make the payment to the provided address within the next 7 minutes, as our payment protocol monitors transactions to this address during that time.

Headers


api-key

string

Partner access API key

Request Body


NameTypeDescription

chain

string

Chain supported such as CELO

asset

string

Crypto assets eg cUSD, USDC and USDT

payment_type

string

Payout type such as MOBILE, BUY_GOODS, PAYBILL or NGN_BANK

shortcode

string

Phone number, till number, paybill number or bank account number

amount

number

Amount to payout

callback_url

string

Receive payment notification

{
    "code": 200,
    "message": "Payment details",
    "data": {
        "status": true,
        "transaction_code": "SU1OSGQ",
        "amount_in_usd": 0.08,
        "public_key": "0x1bBFaa2746cfBCEcEd718B5a633d193a48eA13a4",
        "chain": "CELO",
        "asset": "cUSD",
        "message": "Deposit 0.08 cUSD to above address"
    }
}

Last updated