Initiate delivery
/delivery/partners/{institution_code}/deliveries
Initiate a delivery job for a specific FI partner. The delivery service will: 1. Retrieve the FI partner's delivery configurations from the Onboarding Service 2. Apply the specified filters to select receipts for delivery 3. Execute delivery according to the configured delivery strategy 4. Track job progress and status **Delivery Types Supported:** - **webhook**: Deliver receipts via HTTP POST to configured endpoint - **sftp**: Upload receipt files to configured SFTP server - **file**: Generate and deliver receipt files to configured location - **stream**: Stream receipts to configured streaming endpoint
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| institution_code* | path | string | Institution code of the FI partner (from Onboarding Service) |
Request Body
Schema
ID of the delivery configuration to use (from Onboarding Service)
"550e8400-e29b-41d4-a716-446655440000"
Responses
Schema
Unique identifier for the delivery job
"770e8400-e29b-41d4-a716-446655440000"
Current status of the delivery job
"PENDING"
Timestamp when the job was created
"2024-01-15T10:30:00Z"
Last timestamp when the job was updated
"2024-01-15T10:30:00Z"
Institution code of the FI partner
"CHASE_US"
ID of the delivery configuration being used
"550e8400-e29b-41d4-a716-446655440000"
Schema
Additional details about the error
Request ID for tracking
"req_123456"
URL to documentation about the error
"https://docs.receiptrail.com/errors/invalid_request"
HTTP status code
400
Schema
Additional details about the error
Request ID for tracking
"req_123456"
URL to documentation about the error
"https://docs.receiptrail.com/errors/invalid_request"
HTTP status code
401
Schema
Additional details about the error
Request ID for tracking
"req_123456"
URL to documentation about the error
"https://docs.receiptrail.com/errors/invalid_request"
HTTP status code
404
Schema
Additional details about the error
Request ID for tracking
"req_123456"
URL to documentation about the error
"https://docs.receiptrail.com/errors/invalid_request"
HTTP status code
500
