PayWidePayWide
  • Introduction
  • General
    • PayWide Website
    • Authentication
    • Supported Network
  • Merchant API
    • Top-up
    • Top-up with Wallet
    • Card
    • API Model

Top-up with Wallet

You can create and top up the virtual cards using WageCan wallet. Please contact support and complete the necessary identity verification. Once you complete the process, you can deposit any amount of USD into your wallet and then use the API to create a new card or top up an existing card.

Get Balance

Obtain wallet balance. Currently only USD are supported.

Request

  • Path: /merchant/wallet/balance
  • Method: GET

Response

  • 200

    NameTypeRequiredDescription
    currencyStringvusd
    balanceStringvUSD balance
  • 400

    NameTypeRequiredDescription
    messageStringvError message

Wallet Top-up

Top up cards from wallet balance. If no cardId is included in the request, a new card will be created.

  • Please note that there will be a slight delay in card creation and will not be generated immediately. Please use the query function to find the associated card information.

Request

  • Path: /merchant/wallet/topup

  • Method: POST

  • Request Body

    NameTypeRequiredDescription
    amountStringvUSD amount
    cardIdStringSpecify an existing card. If cardId is not specified, a new card will be created.
    productIdStringSpecify the product to be created. If no productId is included in the request, the default product will be used.

Response

  • 200

    NameTypeRequiredDescription
    idStringvTop-up ID
    createdAtStringvCreation timestamp
    currencyStringvusd
    amountStringvTop-up amount
    cardIdstringThe card associated with the request.
    productIdStringThe product associated with the request.
  • 400

    NameTypeRequiredDescription
    messageStringvError message

Query Wallet History

Query wallet history. The start date and end date cannot differ by more than 3 months.

Request

  • Path: /merchant/wallet/history{?startDate,endDate,skip,limit}

  • Method: GET

  • Query Strings

    NameTypeRequiredDescription
    startDateStringvstart date
    format:YYYY-MM-DD
    endDateStringvend date (exclude)
    format:YYYY-MM-DD
    skipStringQuantity to skip default: 0
    limitStringQuantity to query default: 25

Response

  • 200

    NameTypeRequiredDescription
    items[Wallet History]vArray of wallet history
    startIntegervStart position of the query
    countIntegervQuantity of items
    totalIntegervQuantity of queries
  • 400

    NameTypeRequiredDescription
    messageStringvError message
Prev
Top-up
Next
Card