NFT - Create invoice (POST)
POST
https://i.seadn.io/s/raw/files/265cd80c3f6824b0d14f58172113848b.pngery is an HTTP POST request where your provided api key will be used as an http header.
API-KEY (Use the api key we’ve sent to you here).
amount
(Mandatory in S2S)
15.04 or 42
point “.” is a decimal symbol
devise
(Mandatory in S2S)
USD
This is the currency to be used. Set it to USD. You’ll need to do the exchange on your side to USD if you use another currency
success_url (optional)
After successful payment.. we will redirect the payment page to the page of this URL
cancel_url (optional)
After canceled payment. we will redirect the payment page to the page of this URL
pending_url (optional)
After payment, if its status is still pending, we will redirect the payment page to the page of this URL
failure_url (optional)
String | null
After failed or decline payment.. we will redirect the payment page to the page of this URL
callbackJson (optional)
{txId : qktr12eqzg, status : sfrt}
After successful or canceled payment. we send it to you through the callback url.
name
(Mandatory in S2S)
John Smith
This name wil be use like Cardholder Name
address1
(Mandatory in S2S)
1000 Lombard St
address2
(Mandatory in S2S)
1000 Lombard St
city
(Mandatory in S2S)
San Francisco
country
(Mandatory in S2S)
DE (Germany)
Your customer’s billing 2-char country code (ISO 3166-1, alpha-2)
postcode
(Mandatory in S2S)
90210
date_of_birth
(Mandatory in S2S)
1990-12-31
Date of birth
card_number
(Mandatory in S2S)
4242424242424242
card_expiry_date
(Mandatory in S2S)
02/2025
card_ccv
(Mandatory in S2S)
000
nftImageUrls
(Mandatory in S2S)
Url NFT image
ipfsMetadata
(Mandatory in S2S)
{"name":"My NFT", "attributes": {"power":10, "color":"black"}}
NFT Ifps metadata in JSON
nftDescription
(Mandatory in S2S)
My NFT description
NFT Description
checkoutMode
(Mandatory in S2S)
nft
It's required for NFT, and value must "nft"
customer_ip
(Mandatory in S2S)
127.0.0.1
This parameter is mandatory in S2S mode (IPv4)
phone
(Mandatory in S2S)
020 7946 0018
This parameter is mandatory in S2S mode
RESPONSE
Our service will return a JSON object.
Example :
{ “errorCode”: 50003, “errorMessage” : “amount required” }
Example :
{
“errorCode”: 0,
“redirectUrl”:
“https://usdc.nonstopay.net/widget/sale/create/?token=cyR0YnNOeG99MTE3WW9ne
C56IFc6Q28gR1BHdG83W3FDMzhlfi1WKmpNSUlPfSNTfVh2fTxaUnpES3omZWYqJCRwf3t4fyg%
2BMX90aWt0cWFVdG5pYWo7cXV8MSYmcmZ6dGNhPyInPyFsbXB8YX8zKSg2MSc3ZHVldGp0Z2pnZ
llxc250MTBqZmd5fA%3D%3D”,
“html”:“<a
href='https://usdc.nonstopay.net/widget/sale/create/?token=cyR0YnNOeG99MTE3
WW9neC56IFc6Q28gR1BHdG83W3FDMzhlfi1WKmpNSUlPfSNTfVh2fTxaUnpES3omZWYqJCRwf3t
4fyg%2BMX90aWt0cWFVdG5pYWo7cXV8MSYmcmZ6dGNhPyInPyFsbXB8YX8zKSg2MSc3ZHVldGp0
Z2pnZllxc250MTBqZmd5fA%3D%3D'></a>”
}
Last updated