Porta Plus 2 Web Services

<back to all web services

PortaPayment

The following routes are available for this service:
GET,POST/TakePayment/Customer/{License}/{ICustomer}/{Amount}/{PaymentType}
GET,POST/TakePayment/Account/{License}/{IAccount}/{Amount}/{PaymentType}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/PortaPayment HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

ICustomer,IAccount,Amount,InternalComment,VisibleComment,PaymentType,CustomerID,lstCustomerIDS,Email,cvv,License,ContentId,FeatureName
0,0,0,String,String,ManualCharge,String,"[{Amount:0,InternalComment:String,VisibleComment:String,PaymentType:ManualCharge,CustomerID:String,License:String,ContentId:0,FeatureName:String}]",String,String,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

result,License,ContentId,FeatureName
"{Balance:0,TransactionId:String,Authorization:String,ResultCode:String,IXdr:0}",String,0,String