HTTPS to SFTP
PCI Proxy's SFTP service currently supports the following filetypes
BTA
, TAMARA
, DINERSMINERVA
, TACS
, MASTERCARDTAED
, VISAIBERIA
or VISABBVA
.Before sending a request to a PCI compliant 3rd party you have to add the SFTP server as an integration to your account.
1) Navigate to the Integrations menu in the Project section and type in the name of the integration
2) Check the endpoint of the integration and press Install
3) Check if the payload fits your example and press again Install to activate the integration
Continue here if you miss an integration, if the payload or an endpoint doesn't match your requirements.
1) Navigate to the Integrations menu in the Project section and type in the name of the integration
2) Press Request new Integration button and complete the form (please add the source IP of the new Receiver in the comment field)
3) You will get notified once the requested integration is ready for you.
If you have added a SFTP-Receiver to your account, you can easily redirect requests to that SFTP-Receiver via PCI Proxy. The requests can be sent as follows:
- 1.Replace sensitive card data with the token in your request
- 2.Use the PCI Proxy Endpoint as HOST with the following parameters
merchantId
,sign
,url
,password
and definetype
withBTA
,TAMARA
,DINERSMINERVA
,TACS
,MASTERCARDTAED
,VISAIBERIA
orVISABBVA
- 3.Add the required HTTP headers and POST data to your request
curl 'https://sandbox.pci-proxy.com/v1/ft?merchantId=XXX&sign=XXX&url=sftp://[email protected]/folder/test-filename.txt&password=XXX&type=BTA'
-X POST // Request Method POST
-H "Content-Type: text/plain; charset=UTF-8" // Accepted: 'text/plain'; 'application/json'; 'application/xml'
-d '0000080915K...'
The service responds based on the Accept header: Supported are text/plain, application/json (default) and application/xml
- Replace sensitive card data with the token in your request
- Use the PCI Proxy Endpoint as HOST
- Add the required HTTP headers to your request
- Add the required POST data: merchantID, sign, url, file password and type
curl https://sandbox.pci-proxy.com/v1/ft // HOST: PCI Proxy Endpoint
-X POST // Request Method POST
-H "Accept: text/plain" // NEW HEADER: Please choose text/plain
-H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" // NEW HEADER: application/x-www-form-urlencoded; charset=UTF-8
-d 'merchantId=1000011011 // Merchant ID from PCI Proxy Dashboard
&sign=30916165706580013 // Security Sign from PCI Proxy Dashboard
&url=sftp%3A%2F%2Fint-tests%40127.0.0.1%2Ffolder%2Ftest.txt // SFTP Endpoint
&file=SOME+FILE+CONTENT // Your File
&password=XXX // Your password
&type=BTA
You have securely forwarded sensitive card data without ever touching your servers. Your request has been populated with sensitive card data while it was routed through PCI Proxy. Thereby, your Receiver obtained full credit card data.
Note: In test mode, only test credit cards are allowed!
PCI Proxy SFTP Endpoint: |
---|
https://sandbox.pci-proxy.com/v1/ft |
Required parameter | Description | Example Value |
---|---|---|
merchantId | Your Merchant ID | 1000011011 |
sign | Configured Security Sign | 130709090849785405 |
url | Your SFTP endpoint | sftp://[email protected]/folder/test-filename.t |
file | The file you want to upload | some+file+content |
password | Your password | asdfölksdjfasjdh |
type | Filetype of transmitted request | BTA , TAMARA , DINERSMINERVA , TACS , TAED , VISAIBERIA or VISABBVA |
Last modified 1yr ago