API Reference

Replace all invoices

PUT/invoices

This action is performed asynchronously. The status of the action can be queried as documented under "Check replacement status".

Request

curl
curl -X PUT https://gateway.pmnts-sandbox.io/v1.0/invoices -u TEST:TEST --data-binary @invoices.csv -H "Content-Type: text/csv

Response

200Result
json
{
  "successful":true,
  "response":{
  "uuid":"4a70e8d5-1d7d-441d-9ea2-30d15ff0f2e8",
  "status":"pending"
  },
  "errors":[],
  "test":true
}
400Result
json
{}