session.attempt_failed
A payment attempt was declined. While can_retry is true the buyer can try again on the hosted page; the last allowed decline is followed by session.failed.
Request Bodyrequired
Section titled “Request Bodyrequired”The session.attempt_failed event.
object
Event id (evt_…), stable across retries; also the X-Paymee-Webhook-Id header.
session.attempt_failed- session.attempt_failed
False for events from test mode (sk_test_ keys).
The payment session, as every session.* and checkout.session.expired event carries it.
object
Payment session id (ps_…).
Paymee’s order number (PM-…).
Empty when not given.
Charged amount, decimal string (TND, 3 decimals).
What you requested, and the exchange rate applied.
object
Requested amount, as a decimal string at the requested currency’s precision.
Requested ISO 4217 currency code.
Exchange rate applied (1 original.currency = rate currency), six decimals. “1.000000” when no conversion.
CREATED- CREATEDPENDING- PENDINGPROCESSING- PROCESSINGSUCCEEDED- SUCCEEDEDFAILED- FAILEDEXPIRED- EXPIREDCANCELED- CANCELED
object
Empty when not given.
The line items you sent, as sent.
object
Your metadata, values as strings.
object
When the session reached a final status; null while it is open.
object
Payment attempt id (pa_…).
1 for the first attempt.
The acquirer’s decline code. Informational; may change.
The acquirer’s decline reason. Informational; may change.
Attempts made so far, this one included.
True while the buyer can try again on this session.
Responses
Section titled “Responses”Any 2xx within 10 seconds acknowledges the event; anything else is retried.

