$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "asOf": "2026-10-01T12:00:00.000Z",
< "currencyScales": {
< "USD": 2,
< "EUR": 2
< },
< "transactions": {
< "csv": "processor,account,currency,id,payoutId,category,gross,fee,net,date\nstripe,merchant-001,USD,txn-001,po-001,charge,100.00,3.00,97.00,2026-09-20\nstripe,merchant-001,USD,txn-002,po-001,refund,-10.00,0.00,-10.00,2026-09-21\nstripe,merchant-001,USD,txn-002,po-001,refund,-10.00,0.00,-10.00,2026-09-21\nshopify,store-002,USD,00003,payout-002,charge,50.00,2.00,48.00,2026-09-22\npaypal,seller-003,EUR,adj-004,payout-003,charge,20.00,2.00,18.00,2026-09-22\n"
< },
< "payouts": {
< "csv": "processor,account,currency,id,amount,status,expectedArrivalDate,mode\nstripe,merchant-001,USD,po-001,87.00,paid,2026-09-25,automatic\nshopify,store-002,USD,payout-002,45.00,paid,2026-09-25,automatic\npaypal,seller-003,EUR,payout-003,18.00,paid,2026-09-26,automatic\n"
< },
< "deposits": {
< "csv": "processor,account,currency,id,amount,postingDate,reference\nstripe,merchant-001,USD,bank-001,87.00,2026-09-25,explicit-reference-001\nstripe,merchant-001,USD,unrelated-same-amount,87.00,2026-09-25,other-payment\nshopify,store-002,USD,bank-002,45.00,2026-09-25,explicit-reference-002\npaypal,seller-003,EUR,bank-003,18.00,2026-09-26,unlinked-credit\n"
< },
< "depositLinks": {
< "csv": "processor,account,currency,payoutId,depositId,allocation\nstripe,merchant-001,USD,po-001,bank-001,\nshopify,store-002,USD,payout-002,bank-002,\n"
< },
< "transactionCoverage": [
< {
< "processor": "stripe",
< "account": "merchant-001",
< "currency": "USD",
< "startDate": "2026-09-01",
< "endDate": "2026-10-01",
< "complete": true
< },
< {
< "processor": "shopify",
< "account": "store-002",
< "currency": "USD",
< "startDate": "2026-09-01",
< "endDate": "2026-10-01",
< "complete": true
< },
< {
< "processor": "paypal",
< "account": "seller-003",
< "currency": "EUR",
< "startDate": "2026-09-01",
< "endDate": "2026-10-01",
< "complete": true
< }
< ],
< "bankCoverage": [
< {
< "processor": "stripe",
< "account": "merchant-001",
< "currency": "USD",
< "startDate": "2026-09-01",
< "endDate": "2026-10-01",
< "complete": true
< },
< {
< "processor": "shopify",
< "account": "store-002",
< "currency": "USD",
< "startDate": "2026-09-01",
< "endDate": "2026-10-01",
< "complete": true
< },
< {
< "processor": "paypal",
< "account": "seller-003",
< "currency": "EUR",
< "startDate": "2026-09-01",
< "endDate": "2026-10-01",
< "complete": false
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/h_murdock~processor-payout-exceptions/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'