Drop invoice payment confirmation file at SFTP path
curl --request POST \
--url sftp://sftp.tangoanalytics.com/inbound/payments \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: text/plain' \
--data '<string>'const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'text/plain'},
body: '<string>'
};
fetch('sftp://sftp.tangoanalytics.com/inbound/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "sftp://sftp.tangoanalytics.com/inbound/payments"
payload = "<string>"
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "text/plain"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)Invoice Payment Inbound
Drop invoice payment confirmation file at SFTP path
Virtual operation. Tango picks up the file from inbound/payments/,
processes each row, and updates the matching invoice’s payment record.
Existing payment records can be updated by re-sending the same
(Invoice_ID, Payment_Number) combination.
POST
/
inbound
/
payments
Drop invoice payment confirmation file at SFTP path
curl --request POST \
--url sftp://sftp.tangoanalytics.com/inbound/payments \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: text/plain' \
--data '<string>'const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'text/plain'},
body: '<string>'
};
fetch('sftp://sftp.tangoanalytics.com/inbound/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "sftp://sftp.tangoanalytics.com/inbound/payments"
payload = "<string>"
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "text/plain"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)Authorizations
SFTP user/password — provisioned per environment (values in source).
Body
text/plain
The body is of type file.
Response
200
File received and queued for processing.

