Commerce
Post v1commercecontacts actionspayment link
POST
/
v1
/
commerce
/
contacts
/
{contactID}
/
actions
/
payment-link
cURL
curl --request POST \
--url https://api.wazapin.com/v1/commerce/contacts/{contactID}/actions/payment-linkconst options = {method: 'POST'};
fetch('https://api.wazapin.com/v1/commerce/contacts/{contactID}/actions/payment-link', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/contacts/{contactID}/actions/payment-link"
response = requests.post(url)
print(response.text){
"url": "<string>",
"order_id": "<string>",
"order_no": "<string>",
"source": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
cURL
curl --request POST \
--url https://api.wazapin.com/v1/commerce/contacts/{contactID}/actions/payment-linkconst options = {method: 'POST'};
fetch('https://api.wazapin.com/v1/commerce/contacts/{contactID}/actions/payment-link', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/contacts/{contactID}/actions/payment-link"
response = requests.post(url)
print(response.text){
"url": "<string>",
"order_id": "<string>",
"order_no": "<string>",
"source": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}