このエンドポイントを使用すると、NMKR Payを介した特定のトークンの購入プロセスの前に、独自のカスタムキューまたはホワイトリストシステムを柔軟に追加できます。
/v2/CreatePaymentTransaction
curl --request POST \
--url https://studio-api.nmkr.io/v2/CreatePaymentTransaction \
--header 'Content-Type: application/json' \
--header 'authorization: <your API Key>' \
--data '{
"projectUid": "9e2d000a-ed53-4db4-819b-25cdab41fd47",
"paymentTransactionType": "nmkr_pay_specific",
"customProperties": {},
"paymentgatewayParameters": {
"mintnfts":{
"reserveNfts": [
{
"nftUid": "5c810e70-dc0e-40ff-98d0-67742f95918b",
"tokencount": 1
}
]
}
},
"customerIpAddress": "1.1.1.1"
}'
{
"paymentTransactionUid": "T56b1bab0daf844438321c7f1ff3e8f6f",
"projectUid": "9e2d000a-ed53-4db4-819b-25cdab41fd47",
"paymentTransactionType": "nmkr_pay_specific",
"customProperties": {},
"state": "prepared",
"transactionParameters": null,
"paymentTransactionCreated": "2022-12-01T14:57:47.9705004+00:00",
"paymentgatewayResults": {
"priceInLovelace": 30000000,
"fee": null,
"minUtxo": null,
"mintNfts": {
"countNfts": 1,
"reserveNfts": [
{
"nftUid": "5c810e70-dc0e-40ff-98d0-67742f95918b",
"tokencount": 1,
"tokennameHex": null,
"policyId": null,
"nftId": 286484,
"lovelace": null
}
]
},
"additionalPriceInTokens": []
},
"paymentTransactionSubStateResult": null,
"auctionResults": null,
"directSaleResults": null,
"decentralParameters": null,
"mintAndSendResults": null,
"cbor": null,
"signedCbor": null,
"expires": null,
"signGuid": null,
"fee": null,
"txHash": null,
"nmkrPayUrl": "https://pay.nmkr.io/?mtid=T56b1bab0daf844438321c7f1ff3e8f6f",
"referencedTransaction": null,
"customeripaddress": "1.1.1.1",
"referer": null
}