Merchant notification For NFT release status
Brief Description
Send a post request to the platform address and notify once
Request URL
Prod Env:https://api-nft-sbx.alchemytech.cc/nft/openapi/merchant/notice
Test Env:https://openapi-nft.alchemytech.cc/nft/openapi/merchant/notice
Request Method
POST
Http Header
Element | Mandatory | Data Type | Remarks |
---|---|---|---|
appId | Y | string | Partner unique ID, once a merchant has been on-boarded with Alchemy Pay, the merchant will be provided with the credentials with appId and appSecret |
timestamp | Y | string | UTC time with 13 digit to represent time in milliseconds, expiration period is 5 minutes. |
sign | Y | string | SHA1(appId + appSecret + timestamp), please refer to Sign demo for Initiate API |
Body Parameters
Element | Mandatory | Data Type | Remarks |
---|---|---|---|
merchantOrderNo | Y | string | Merchant order number |
orderNo | Y | string | NFT system order number |
releaseStatus | Y | string | Release status: release failed FAIL release successful SUCCESS |
transactionHash | N | string | Transaction hash |
releaseTime | Y | string | Release timestamp |
contract | N | string | Contract address |
uniqueId | N | string | uniqueId |
picture | N | string | Picture Url |
pictureNumber | N | string | Picture number |
Response Example
//success
{
"success": true,
"returnCode": "0000",
"returnMsg": "SUCCESS",
"extend": "",
"data": null,
"traceId": "64143529cf9289fd1b8b4374e1a4203f"
}
//parameters error
{
"success": false,
"returnCode": "10005",
"returnMsg": "Invalid Request Parameters.",
"extend": "",
"data": null,
"traceId": "641435111b358632e42dafca7f0b6d5a"
}
Updated 4 months ago