pay_pending: The payment's stream opened this second
A payment (POST /owner/v1/human/payments) opens one stream whose per-second allowance equals the amount, so it can bill only once a second has passed since the stream opened. The core waits up to about a second for that; if the allowance still does not cover the amount, it answers this code with Retry-After: 1. Nothing was billed.
What to do
- Retry with the same
requestRefafterRetry-After. It bills exactly once.
On the wire
HTTP 409, error type state_error, header Retry-After: 1.
{
"error": "state",
"errorDetail": {
"type": "state_error",
"code": "pay_pending",
"message": "…",
"param": null,
"doc_url": "…/developers/human-payments.md#pay-pending",
"fix": "the payment's stream opened this second; retry with the same requestRef after Retry-After"
}
}
See human payments and all error codes.