cURL
curl --request POST \
--url https://apidev.nusd.me/nps/ticket/tx \
--header 'BIZ-API-KEY: <api-key>' \
--header 'Biz-Api-Nonce: <api-key>' \
--header 'Biz-Api-Signature: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"wallet_id": "e9167870-e18b-4e82-8b87-92ec7ede8e45",
"transaction_id": "8da460a3-75f8-489d-a099-802c38a702b3",
"abnormals": "amount,status"
}
'import requests
url = "https://apidev.nusd.me/nps/ticket/tx"
payload = {
"wallet_id": "e9167870-e18b-4e82-8b87-92ec7ede8e45",
"transaction_id": "8da460a3-75f8-489d-a099-802c38a702b3",
"abnormals": "amount,status"
}
headers = {
"BIZ-API-KEY": "<api-key>",
"Biz-Api-Nonce": "<api-key>",
"Biz-Api-Signature": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'BIZ-API-KEY': '<api-key>',
'Biz-Api-Nonce': '<api-key>',
'Biz-Api-Signature': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
wallet_id: 'e9167870-e18b-4e82-8b87-92ec7ede8e45',
transaction_id: '8da460a3-75f8-489d-a099-802c38a702b3',
abnormals: 'amount,status'
})
};
fetch('https://apidev.nusd.me/nps/ticket/tx', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apidev.nusd.me/nps/ticket/tx"
payload := strings.NewReader("{\n \"wallet_id\": \"e9167870-e18b-4e82-8b87-92ec7ede8e45\",\n \"transaction_id\": \"8da460a3-75f8-489d-a099-802c38a702b3\",\n \"abnormals\": \"amount,status\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("BIZ-API-KEY", "<api-key>")
req.Header.Add("Biz-Api-Nonce", "<api-key>")
req.Header.Add("Biz-Api-Signature", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://apidev.nusd.me/nps/ticket/tx")
.header("BIZ-API-KEY", "<api-key>")
.header("Biz-Api-Nonce", "<api-key>")
.header("Biz-Api-Signature", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"wallet_id\": \"e9167870-e18b-4e82-8b87-92ec7ede8e45\",\n \"transaction_id\": \"8da460a3-75f8-489d-a099-802c38a702b3\",\n \"abnormals\": \"amount,status\"\n}")
.asString();{
"status": 0,
"data": {
"transaction_id": "8da460a3-75f8-489d-a099-802c38a702b3",
"ticket_id": "3792b891-2066-41d6-be30-051b917cdd75"
},
"msg": "<string>"
}{
"status": 0,
"data": {
"transaction_id": "8da460a3-75f8-489d-a099-802c38a702b3",
"ticket_id": "3792b891-2066-41d6-be30-051b917cdd75"
},
"msg": "<string>"
}Tickets
Dispute tickets
Create a ticket for an exception transaction.
POST
/
nps
/
ticket
/
tx
cURL
curl --request POST \
--url https://apidev.nusd.me/nps/ticket/tx \
--header 'BIZ-API-KEY: <api-key>' \
--header 'Biz-Api-Nonce: <api-key>' \
--header 'Biz-Api-Signature: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"wallet_id": "e9167870-e18b-4e82-8b87-92ec7ede8e45",
"transaction_id": "8da460a3-75f8-489d-a099-802c38a702b3",
"abnormals": "amount,status"
}
'import requests
url = "https://apidev.nusd.me/nps/ticket/tx"
payload = {
"wallet_id": "e9167870-e18b-4e82-8b87-92ec7ede8e45",
"transaction_id": "8da460a3-75f8-489d-a099-802c38a702b3",
"abnormals": "amount,status"
}
headers = {
"BIZ-API-KEY": "<api-key>",
"Biz-Api-Nonce": "<api-key>",
"Biz-Api-Signature": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'BIZ-API-KEY': '<api-key>',
'Biz-Api-Nonce': '<api-key>',
'Biz-Api-Signature': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
wallet_id: 'e9167870-e18b-4e82-8b87-92ec7ede8e45',
transaction_id: '8da460a3-75f8-489d-a099-802c38a702b3',
abnormals: 'amount,status'
})
};
fetch('https://apidev.nusd.me/nps/ticket/tx', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apidev.nusd.me/nps/ticket/tx"
payload := strings.NewReader("{\n \"wallet_id\": \"e9167870-e18b-4e82-8b87-92ec7ede8e45\",\n \"transaction_id\": \"8da460a3-75f8-489d-a099-802c38a702b3\",\n \"abnormals\": \"amount,status\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("BIZ-API-KEY", "<api-key>")
req.Header.Add("Biz-Api-Nonce", "<api-key>")
req.Header.Add("Biz-Api-Signature", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://apidev.nusd.me/nps/ticket/tx")
.header("BIZ-API-KEY", "<api-key>")
.header("Biz-Api-Nonce", "<api-key>")
.header("Biz-Api-Signature", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"wallet_id\": \"e9167870-e18b-4e82-8b87-92ec7ede8e45\",\n \"transaction_id\": \"8da460a3-75f8-489d-a099-802c38a702b3\",\n \"abnormals\": \"amount,status\"\n}")
.asString();{
"status": 0,
"data": {
"transaction_id": "8da460a3-75f8-489d-a099-802c38a702b3",
"ticket_id": "3792b891-2066-41d6-be30-051b917cdd75"
},
"msg": "<string>"
}{
"status": 0,
"data": {
"transaction_id": "8da460a3-75f8-489d-a099-802c38a702b3",
"ticket_id": "3792b891-2066-41d6-be30-051b917cdd75"
},
"msg": "<string>"
}Authorizations
API key. Must be included in the request header.
Timestamp. Must be included in the request header.
Signature string. Must be included in the request header.
Body
application/json
Wallet ID.
Example:
"e9167870-e18b-4e82-8b87-92ec7ede8e45"
Transaction ID.
Example:
"8da460a3-75f8-489d-a099-802c38a702b3"
Fields with exceptions or mismatches. Separate multiple values with commas, e.g. amount,fee,status.
Example:
"amount,status"
Exception description.
Example:
"amount and status not match"
⌘I