Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Latest commit

 

History

History
31 lines (25 loc) · 1.31 KB

PaymentOperationInputs.md

File metadata and controls

31 lines (25 loc) · 1.31 KB

BleumiPay::PaymentOperationInputs

Properties

Name Type Description Notes
addr String Address of the wallet
amount
(Optional)
String Amount (Only for settle operation)
token String ETH - for Ethereum
XDAI - for xDai
XDAIT - for xDai Testnet
ALGO - for Algo
RBTC - for R-BTC
<asset id> - for Algorand Standard Asset
<contract address of ERC-20 token> - for ERC-20 Tokens. Please refer to ERC-20 Tokens for contract address;
<contract address of RSK ERC-20 token> - for RSK ERC-20 Tokens. Please refer to RSK ERC-20 Tokens for contract address;
token_decimals
(Optional)
Integer Token decimal places (Only for settle operation)

Settle Operation Example

{
    "addr": "0xbec374e0acb4b7b6fde45b11287e61beb108e868",
    "amount": "10",
    "token": "0x115615dbd0f835344725146fa6343219315f15e5",
    "token_amount": "10000000",
    "token_decimals": 6
}

Refund Operation Example

{
    "addr": "0xbe1fa332f24ba568108ba55a25eccf93d882f54e",
    "token": "XDAIT"
}