Internal error
internal_errorHTTP 500Retry after a wait
What happened
The request didn't finish normally. A request that moves money may or may not have taken effect, which is why repeating it with the same key is the safe way to find out.
What to do next
Wait a moment, then repeat the request with the same Idempotency-Key; if it was meant to move money, read the payment or refund before doing anything else.
Can you retry?
Retry after a wait. Repeat the identical request after the Retry-After delay, or after a short wait when none is given, with the same Idempotency-Key and body. retry: after_delay
Who acts
PerionPayments. who_acts: perionpayments
Don't
- Don't retry with a new
Idempotency-Key; a new key is a new request.change_idempotency_key - Don't start another payment for the same order.
create_another_payment
Example response
Sent as application/problem+json. The detail describes the particular request; keep request_id for support.
{
"type": "https://docs.perionpayments.com/problems/internal-error",
"title": "Internal error",
"status": 500,
"code": "internal_error",
"detail": "The request didn't finish normally. A request that moves money may or may not have taken effect, which is why repeating it with the same key is the safe way to find out.",
"request_id": "req_8YkQ2rL0ZtW4",
"retryable": true,
"retry": "after_delay",
"who_acts": "perionpayments",
"next_step": "Wait a moment, then repeat the request with the same Idempotency-Key; if it was meant to move money, read the payment or refund before doing anything else.",
"do_not": [
"change_idempotency_key",
"create_another_payment"
]
}