Payment Session Complete Webhook
Payload
ISO-8601 timestamp of when the payment session was created
A list of order items with fields: item_id, name, price, quantity, sku, total_refundable (optional), quantity_refundable (optional), total_capturable (optional), quantity_capturable (optional)
The id returned to the partner by Truemed in response to a create_payment_session request
The status of the payment from Truemed’s perspective. Can be: captured, canceled, pending, processing, rejected, authorized, authorization_voided, authorization_expired
The amount of funds actually captured. For payment sessions of kind=one_time_payment this field will always be present and will be the same as authorize_amount. For payment sessions of kind=authorization this field will not be present until the funds have been captured
Optional field echoed back if present in the call to create_payment_session
Optional string indicating the payment_token used for the payment session. This field will be set only if the partner provided tokenize=True or a payment_token in the create_payment_session request
Response
Webhook received successfully (HTTP 204 No Content)