Crypto Payments
Supported Networks
Name
Identifier
Tokens
Ethereum Mainnet
ETHEREUM_MAINNET
USDT, USDC
Polygon Mainnet
MATIC_MAINNET
USDT, USDC
Tron Mainnet
TRON_MAINNET
USDT
This endpoint initiate crypto payment transaction
Body
merchant_idstringOptional
tranxRefstringOptional
amountnumber · decimalOptional
tokenstringOptional
networkstringOptional
confirmation_thresholdinteger · int32 | nullableOptional
redirect_urlstringOptional
Responses
200
Response.
application/json
Responseall of
and
400Error
application/json
default
application/json
post
/api/v1/payment/crypto-processorPOST /api/v1/payment/crypto-processor HTTP/1.1
Host: gateway-core-test.plonictech.com
Content-Type: application/json
Accept: */*
Content-Length: 132
{
"merchant_id": "text",
"tranxRef": "text",
"amount": 1,
"token": "text",
"network": "text",
"confirmation_threshold": 1,
"redirect_url": "text"
}{
"message_id": "text",
"message": "text",
"succeeded": true,
"statuscode": 1,
"data": {
"transaction_id": "text",
"merhc_tranxRef": "text",
"transactionRef": "text",
"amount": 1,
"token": "text",
"network": "text",
"address": "text",
"expires_At": "text",
"status": "text",
"authorization_url": "text",
"transaction_date": "text",
"transaction_hash": "text",
"response_message": "text"
}
}This endpoint query's crypto transaction status
Query parameters
MerchantRefstring | nullableOptional
TransactionRefstring | nullableOptional
Responses
200
Response.
application/json
Responseall of
and
400Error
application/json
default
application/json
get
/api/v1/payment/crypto-statusGET /api/v1/payment/crypto-status HTTP/1.1
Host: gateway-core-test.plonictech.com
Accept: */*
{
"message_id": "text",
"message": "text",
"succeeded": true,
"statuscode": 1,
"data": {
"transaction_id": "text",
"merhc_tranxRef": "text",
"transactionRef": "text",
"amount": 1,
"token": "text",
"network": "text",
"address": "text",
"expires_At": "text",
"status": "text",
"authorization_url": "text",
"transaction_date": "text",
"transaction_hash": "text",
"response_message": "text"
}
}Last updated