Create NMKR Pay Link for a multi-specific Tokens sale
Create a Payment Link to sell multiple specific Tokens in one transaction via NMKR Pay
With this endpoint you have the flexibility to add your own custom Queue or Whitelisting system in front of the purchasing process of multiple specific tokens via NMKR Pay.
To create a specific payment transaction that allows your customer to buy multiple specific tokens via NMKR Pay, we call the API endpoint:
/v2/CreatePaymentTransaction
Curl request
As always with the NMKR API, the API Key / Authentication Token is given in the header:
Further you specify the "projectUid" (not the Project ID) and also the "nftUids" (not the token ID) of the tokens you want to sell as well as the token count for each.
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","paymentgatewayParameters": {"mintNfts": {"reserveNfts": [{"nftUid":"608bf1ba-79e5-4e84-b011-e12e0ed0999f","tokencount":1},{"nftUid":"5cd4bebb-c0c5-48ed-ab25-58aa19639840","tokencount":1}]}},"customerIpAddress":"1.2.3.4"}'