POST https://api.100pay.co/api/v1/pay/crypto/:charge_id
Generates and returns a Network address for each supported wallet. Should be called only after a payment charge has been initiated. However, prior to making deposits to any of these addresses, it is strongly advised to activate wallets by calling on price conversion endpoint.charge_id
is included in the response body returned by charge initiation endpoint.Response Body
Field
Attributes
Type
Description
is_cancelled
boolean
Tells whether, or not, the payment is cancelled
_id
string
Uniquely-generated Transaction ID for tracking crypto deposits
charge_id
string
Same as request
app_id
string
randomly-generated ID
code
string
randomly-generated code
wallet
wallet.addresses
wallet.payments
wallet.code
wallet.metadata
wallet.localprice_
wallet.chargeinfo_array
array
string
object
object
object
Contains Network address for each token along with other vital info.
Contains payment info of deposits made
randomly-generated code
Contains additional information
Contains local fiat equivalence of crypto payment
Contains IDs and info about User account
created_at
datetime
Date and time at which Network addresses were generated
expires_at
datetime
Date and time at which Network addresses will expire
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"is_cancelled": false,
"_id": "66c27a76ca9387009120acc3",
"charge_id": "66c279f6ca9387009120acba",
"app_id": "669f72f0446b540075b00bde",
"code": "9248zEjO2RAq6SfX",
"wallet": {
"addresses": [
{
"name": "100Pay Token",
"network": "bsc",
"chart": "xt",
"currency": "PAY",
"convert_id": "1027",
"symbol": "PAY",
"contract_address": "0x3942072871DC06706E565c3e87F61Cc9323ECc87",
"isToken": true,
"isMultiChain": true,
"isDisabled": false,
"logo": "https://res.cloudinary.com/alphas/image/upload/v1714495403/photo_2024-04-30_17.43.01_pidbow.jpg",
"networks": [
{
"name": "bsc",
"contract_address": "0x3942072871DC06706E565c3e87F61Cc9323ECc87",
"account": {
"address": "0x787211785aDd2D921634Aed539c1B92b691A7AFa"
},
"logo": "https://res.cloudinary.com/estaterally/image/upload/v1644945649/coins/bnb_ihf6sq.png",
"isDisabled": false
}
]
},
{
"name": "Tether Usdt",
"symbol": "USDT",
"currency": "USDT",
"convert_id": "825",
"isFeaturd": false,
"isMultiChain": true,
"isToken": true,
"chart": "cmc",
"isDisabled": false,
"logo": "https://res.cloudinary.com/estaterally/image/upload/v1644943779/coins/usdt_imbfgw.jpg",
"networks": [
{
"name": "bsc",
"contract_address": "0x55d398326f99059ff775485246999027b3197955",
"account": {
"address": "0x787211785aDd2D921634Aed539c1B92b691A7AFa"
},
"logo": "https://res.cloudinary.com/estaterally/image/upload/v1644945649/coins/bnb_ihf6sq.png",
"isDisabled": false
}
]
},
{
"name": "Bitcoin",
"network": "bitcoin",
"chart": "cmc",
"currency": "BTC",
"convert_id": "1",
"symbol": "BTC",
"account": {
"address": "0x787211785aDd2D921634Aed539c1B92b691A7AFa"
},
"isToken": false,
"isMultiChain": false,
"isDisabled": true,
"logo": "https://res.cloudinary.com/estaterally/image/upload/v1645191194/coins/1_estq3m.png"
},
{
"name": "USDC Coin",
"symbol": "USDC",
"currency": "USDC",
"convert_id": "3408",
"isFeaturd": false,
"isMultiChain": true,
"isToken": true,
"chart": "cmc",
"isDisabled": false,
"logo": "https://res.cloudinary.com/estaterally/image/upload/v1644942852/coins/USDC_fsfzvv.png",
"networks": [
{
"name": "bsc",
"contract_address": "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
"account": {
"address": "0x787211785aDd2D921634Aed539c1B92b691A7AFa"
},
"logo": "https://res.cloudinary.com/estaterally/image/upload/v1644945649/coins/bnb_ihf6sq.png",
"isDisabled": false
}
]
},
{
"name": "Polygon",
"symbol": "MATIC",
"currency": "MATIC",
"convert_id": "3890",
"isFeaturd": false,
"isMultiChain": true,
"isToken": true,
"chart": "cmc",
"isDisabled": false,
"logo": "https://res.cloudinary.com/estaterally/image/upload/v1645192881/coins/3890_xyid9z.png",
"networks": [
{
"network": "bsc",
"name": "bsc",
"contract_address": "0xcc42724c6683b7e57334c4e856f4c9965ed682bd",
"account": {
"address": "0x787211785aDd2D921634Aed539c1B92b691A7AFa"
},
"logo": "https://res.cloudinary.com/estaterally/image/upload/v1644945649/coins/bnb_ihf6sq.png",
"isDisabled": false
}
]
}
],
"payments": [],
"code": "9248zEjO2RAq6SfX",
"metadata": {
"chargeID": "66c279f6ca9387009120acba",
"app_id": "669f72f0446b540075b00bde"
},
"local_price": {
"amount": "10000",
"currency": "USD"
},
"charge_info": {
"userId": "669f72f0446b540075b00bdb",
"charge_id": "66c279f6ca9387009120acba",
"app_id": "669f72f0446b540075b00bde",
"code": "9248zEjO2RAq6SfX",
"wallet": "",
"created_at": "2024-08-18T22:49:26.516Z",
"expires_at": "2024-08-18T23:04:26.516Z"
}
},
"created_at": "Sun Aug 18 2024 22:49:26 GMT+0000 (Coordinated Universal Time)",
"expires_at": "Sun Aug 18 2024 23:04:26 GMT+0000 (Coordinated Universal Time)",
"__v": 0
} |