Comprehensive reference for integrating with CargoSprint API endpoints
API Reference (0.0.1)
Oauth
The SprintPay API uses Authorization Tokens to authenticate requests.
SprintPay’s OAuth system that uses a access token that is private and reserved for specific official partnerships. To get set up with access please inquire directly with your SprintPay relationship manager.
This API enables partners to register their own systems or authorized third-party systems to be able to execute actions.
Invoices
API reference for invoices endpoints and webhooks.
The /post/external/downloadinvoices is an endpoint that allow you to retrieve and manage open and paid invoices. This will be retrieved as an Excel file with information such as Cargo Payment Created Date, Email, Airport Code, Cargo Payment: Payment Reference #, Cargo Facility: Airline Cargo Facility Name, Airline AWB #, Customer Reference #, Cargo Payment: Amount and Total Invoice Amount.
- Mock serverhttps://developer.cargosprint.com/_mock/sprintpay/openapi/external/downloadInvoices
- https://{service}-{environment}.cargosprintgroup.com/external/downloadInvoices
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.cargosprint.com/_mock/sprintpay/openapi/external/downloadInvoices?downloadFormat=XLSX&confirmationId=kevsdkxb' \
-H 'x-app-id: 2ZMEEX2otslHtRRgzQC0tPVwbasC23455vx0k='Payments
API reference for payments endpoints and webhooks.
The /post/external/paymentConfirmation is an endpoint that allows you to retrieve and manage electronic payment confirmations. This will be retrieved as a PDF file or a ZIP with multiple PDF files containing information such as Cargo Payment Created Date, Email, Facility Branch, Cargo Payment: Payment Reference #, Cargo Facility: Airline Cargo Facility Name, Airline AWB #, Customer Reference #, Cargo Payment: Amount and Total Invoice Amount.