$58.00 authorization expires in 2 days

Status
Needs you
At risk
$58.00
Deadline, UTC
2026-12-03 17:28
Detected (detector clock)
2026-12-01 17:28

Diagnosis

AI agent (anthropic/claude-haiku-5.5)

The $58.00 payment for 2 bags of House Espresso is still only reserved, not collected. The coffee shipped on Nov 4, but the one capture attempt on that day was refused by PayPal because the buyer "cannot pay," and nothing has been collected since. The reservation expires on Dec 3, after which the $58.00 is lost and cannot be recovered through the same order. Reserving the money again would give us a fresh 3-day window to collect, but it does not extend the Dec 3 deadline, so the owner needs to decide how to collect before then.

Decisions

The agent proposes, the policy gate decides, the executor calls PayPal.

Reauthorize

$58.006DW4798108625403KPayPal refused

Agent proposed

The original 3-day honor period ended Nov 7, so a fresh reservation is needed to have a valid window to collect; this is allowed now and does not extend the Dec 3 expiry.

Policy said

Auto
  • Within the autopilot rules.

PayPal returned

HTTP 422

debug id f561659a62351

Response body
{
  "name": "UNPROCESSABLE_ENTITY",
  "message": "The requested action could not be performed, semantically incorrect, or failed business validation.",
  "debug_id": "f561659a62351",
  "details": [
    {
      "issue": "REAUTHORIZATION_TOO_SOON",
      "description": "A reauthorization is only allowed once from Day 4 to Day 29 since the date of the original authorization."
    }
  ],
  "links": [
    {
      "href": "https://developer.paypal.com/docs/api/payments/v2/#error-REAUTHORIZATION_TOO_SOON",
      "rel": "information_link"
    }
  ]
}
Exact API call (PayPal-Request-Id ns-2fe19484777c64660c15ee6e1aaf543c)
POST /v2/payments/authorizations/6DW4798108625403K/reauthorize
{
  "amount": {
    "currency_code": "USD",
    "value": "58.00"
  }
}

Ask the owner

Waiting for you

Agent proposed

Retrying a refused collection is not allowed without your approval, and only you know whether the buyer has agreed to pay or can be contacted.

Note: The $58.00 charge for order 16693161LT889730N (House Espresso, shipped Nov 4) has not been collected. PayPal refused the one collection attempt on Nov 4 saying the buyer cannot pay, and the reservation expires Dec 3. Do you want to contact the buyer (nigh

Policy said

Needs approval
  • The agent asked for a human decision.

PayPal returned

No PayPal call for this action.

Ask the owner

Waiting for you

Rules proposed

Executor escalation after a PayPal error.

Note: PayPal refused "reauthorize_authorization" (UNPROCESSABLE_ENTITY: REAUTHORIZATION_TOO_SOON: A reauthorization is only allowed once from Day 4 to Day 29 since the date of the original authorization.). Nightshift will not retry a refused money movement on its own. What should happen next?

Policy said

Needs approval
  • PayPal refused the previous action.

PayPal returned

No PayPal call for this action.

Evidence

Authorization 6DW4798108625403K for order 16693161LT889730N is 27 days old with $58.00 uncaptured. PayPal authorizations expire after 29 days and cannot be reauthorized after that.

authorization id
6DW4798108625403K
authorization status
CREATED
order id
16693161LT889730N
fulfillment
shipped
shipped at
2026-11-04T17:28:02.293Z
authorized
$58.00
uncaptured
$58.00
age days
27
honor period ends
2026-11-07T17:28:26.000Z
expires at
2026-12-03T17:28:26.000Z
expired by detector clock
false
order16693161LT889730Nauthorization6DW4798108625403K

All ids are real PayPal sandbox objects; GET them with your sandbox credentials to check.

Audit trail

Detected, diagnosed, decided, executed. Live.

Detected: $58.00 authorization expires in 2 days
Detector
Authorization 6DW4798108625403K for order 16693161LT889730N is 27 days old with $58.00 uncaptured. PayPal authorizations expire after 29 days and cannot be reauthorized after that.
Agent started triage
Agent
Agent read ledger_lookup
Agent
ledger_lookupNightshift ledgerok
args { "order_id": "16693161LT889730N" }
Result
{"order":{"id":"16693161LT889730N","intent":"AUTHORIZE","status":"COMPLETED","amountCents":5800,"currency":"USD","payer":"night-owl-mw2e43f0883@example.com","cartRef":"cart-74986","description":"House Espresso, 2 x 500g","fulfillment":"shipped","shippedAt":"2026-11-04T17:28:02.293Z","createdAt":"2026-11-04T17:28:26.000Z","updatedAt":"2026-11-04T17:28:28.561Z","source":"scenario","scenario":"lab_mw2e3kyb"},"buyer_note_untrusted":null,"authorizations":[{"id":"6DW4798108625403K","orderId":"16693161LT889730N","status":"CREATED","amountCents":5800,"currency":"USD","createdAt":"2026-11-04T17:28:26.000Z","expiresAt":"2026-12-03T17:28:26.000Z","updatedAt":"2026-11-04T17:28:28.572Z"}],"captures":[],"refunds":[],"failed_capture_attempts":[{"id":"att_a91fc2c3dfa4","orderId":"16693161LT889730N","authorizationId":"6DW4798108625403K","at":"2026-11-04T17:28:27.036Z","ok":false,"httpStatus":422,"errorName":"UNPROCESSABLE_ENTITY","errorIssue":"PAYER_CANNOT_PAY","debugId":"f986482b5c8fc","source":"shop"}]}
Agent read get_authorization
Agent
get_authorizationvia Nightshift REST clientok
args { "authorization_id": "6DW4798108625403K" }
Result
{"id":"6DW4798108625403K","status":"CREATED","amount":{"currency_code":"USD","value":"58.00"},"custom_id":"cart-74986","seller_protection":{"status":"NOT_ELIGIBLE"},"supplementary_data":{"related_ids":{"order_id":"16693161LT889730N"}},"payee":{"email_address":"sb-djk8i53501233@business.example.com","merchant_id":"D8M8MT98DPNNG"},"expiration_time":"2026-12-03T17:28:26Z","create_time":"2026-11-04T17:28:26Z","update_time":"2026-11-04T17:28:26Z","links":[{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/6DW4798108625403K","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/6DW4798108625403K/capture","rel":"capture","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/6DW4798108625403K/void","rel":"void","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/payments/authorizations/6DW4798108625403K/reauthorize","rel":"reauthorize","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/checkout/orders/16693161LT889730N","rel":"up","method":"GET"}]}
Agent diagnosis
Agent
The $58.00 payment for 2 bags of House Espresso is still only reserved, not collected. The coffee shipped on Nov 4, but the one capture attempt on that day was refused by PayPal because the buyer "cannot pay," and nothing has been collected since. The reservation expires on Dec 3, after which the $58.00 is lost and cannot be recovered through the same order. Reserving the money again would give us a fresh 3-day window to collect, but it does not extend the Dec 3 deadline, so the owner needs to decide how to collect before then.
Agent proposed: Reauthorize $58.00
Agent
The original 3-day honor period ended Nov 7, so a fresh reservation is needed to have a valid window to collect; this is allowed now and does not extend the Dec 3 expiry.
Policy said: auto-execute
Policy gate
  • Within the autopilot rules.
Agent proposed: Ask the owner
Agent
Retrying a refused collection is not allowed without your approval, and only you know whether the buyer has agreed to pay or can be contacted.
Policy said: needs the owner's approval
Policy gate
  • The agent asked for a human decision.
POST /v2/payments/authorizations/6DW4798108625403K/reauthorize
Executor
PayPal-Request-Id: ns-2fe19484777c64660c15ee6e1aaf543c
{
  "amount": {
    "currency_code": "USD",
    "value": "58.00"
  }
}
PayPal refused: 422 UNPROCESSABLE_ENTITY: REAUTHORIZATION_TOO_SOON: A reauthorization is only allowed once from Day 4 to Day 29 since the date of the original authorization.
PayPal
HTTP 422, debug id f561659a62351, 553 ms
{
  "name": "UNPROCESSABLE_ENTITY",
  "message": "The requested action could not be performed, semantically incorrect, or failed business validation.",
  "debug_id": "f561659a62351",
  "details": [
    {
      "issue": "REAUTHORIZATION_TOO_SOON",
      "description": "A reauthorization is only allowed once from Day 4 to Day 29 since the date of the original authorization."
    }
  ],
  "links": [
    {
      "href": "https://developer.paypal.com/docs/api/payments/v2/#error-REAUTHORIZATION_TOO_SOON",
      "rel": "information_link"
    }
  ]
}
Escalated to the owner after PayPal refused the action
Executor