PGecom
  • 🚀Introduction
  • đŸŽ¯Guides
    • Getting authenticated
  • 📚Concepts
    • Sandbox Environment
  • 🧑‍đŸ’ģAPI Endpoint
    • Ecommerce
      • đŸ›ī¸Shop
        • GetShopById
        • CreateShop
      • 👔Product
        • ProductSchema
        • GetProductById
        • GetProductBySlug
        • CreateNewProduct
      • 🛒Checkout
        • CreateCheckoutSession
      • Form
        • GetFormById
      • Invoice
        • GetInvoiceById
    • Wordpress Plugin
    • Chrome Extension
    • GiftCards
      • â„šī¸Gift Card Schema
      • ✅List giftcards
      • â˜‘ī¸Order a gift card
      • â˜‘ī¸Get giftcard
      • â˜‘ī¸Rates
    • Send rewards
      • â„šī¸Rewards Schema
      • â˜‘ī¸Send rewards
    • Withdraw
      • â„šī¸Withdraw Schema
      • â˜‘ī¸Process Withdraw
      • â˜‘ī¸Rates
    • Radar
      • â„šī¸Radar Schema
      • â˜‘ī¸Check for Fraudster
    • Top Up
      • â„šī¸Topup Schema
      • â˜‘ī¸Estimate
      • â˜‘ī¸Send
    • Payment
      • Mon Cash
        • CreateMonCashPayment
        • VerifyMonCashPayment
        • WithdrawToMonCashEstimate
        • WithdrawFundsToMonCash
      • PG Pay
        • ConfigurePGPay
        • CreatePGPayPayment
        • VerifyPGPaymentWithToken
        • VerifyPGPaymentWithOrderId
    • Deprecated
      • Card Holder
        • â„šī¸Card Holder Schema
        • â˜‘ī¸Update
      • Card
        • â„šī¸Card Schema
        • ✅Retrieve a single card
        • ✅List cards
        • â˜‘ī¸Create a card
        • â˜‘ī¸Create Customer
  • 🎓Resources
    • Support
    • Production Access
Powered by GitBook
On this page

Was this helpful?

  1. API Endpoint
  2. Top Up

Send

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

skuCode*

String

skuCode from the estimate endpoint

{
    "transferId": {
        "transferRef": "0",
        "distributorRef": "5f56dfa3-a415-4818-8275-44fc63ece3fd"
    },
    "skuCode": "HT_DC_TopUp",
    "price": {
        "customerFee": 0,
        "distributorFee": 0,
        "receiveValue": 603.1,
        "receiveCurrencyIso": "HTG",
        "receiveValueExcludingTax": 603.1,
        "taxRate": 0,
        "sendValue": 5,
        "sendCurrencyIso": "USD"
    },
    "processingState": "Complete",
    "accountNumber": "50938737629",
    "resultCode": 1,
    "errorCodes": []
}

You'll get the skuCode from the estimate endpoint

PreviousEstimateNextPayment

Last updated 1 year ago

Was this helpful?

🧑‍đŸ’ģ
â˜‘ī¸