☑ī¸Estimate

Send top up to more than 120 countries

POST https://sandbox.pgecom.com/api/balance/estimate

Headers

Name
Type
Description

authorization*

String

Bearer token

Request Body

Name
Type
Description

phone*

Number

Receiver's phone ex: +50938737829

amount*

String

Receiver's amount in USD

[
    {
        "price": {
            "customerFee": 0,
            "distributorFee": 0,
            "receiveValue": 603.1,
            "receiveCurrencyIso": "HTG",
            "receiveValueExcludingTax": 603.1,
            "taxRate": 0,
            "sendValue": 5,
            "sendCurrencyIso": "USD"
        },
        "skuCode": "HT_DC_TopUp",
        "batchItemRef": "HT_DC_TopUp",
        "resultCode": 1,
        "rrrorCodes": []
    }
]

Make sure that you save the skuCode. You'll need it to complete the transaction.

Last updated