#lucawebdev

1 messages · Page 1 of 1 (latest)

wicked adderBOT
analog tapir
#

hello! you're listening for the charge.disputed.created event?

wicked adderBOT
hybrid dock
#

Can you share a sample eventId and what field are you looking for ?

hoary owl
#

json{ "object": { "id": "dp_1OjI84A5Jdz4MJW3wgETRED0", "object": "dispute", "amount": 100, "balance_transaction": null, "balance_transactions": [ ], "charge": "ch_3OjI83A5Jdz4MJW315wlWfoy", "created": 1707815896, "currency": "usd", "evidence": { "access_activity_log": null, "billing_address": null, "cancellation_policy": null, "cancellation_policy_disclosure": null, "cancellation_rebuttal": null, "customer_communication": null, "customer_email_address": null, "customer_name": null, "customer_purchase_ip": null, "customer_signature": null, "duplicate_charge_documentation": null, "duplicate_charge_explanation": null, "duplicate_charge_id": null, "product_description": null, "receipt": null, "refund_policy": null, "refund_policy_disclosure": null, "refund_refusal_explanation": null, "service_date": null, "service_documentation": null, "shipping_address": null, "shipping_carrier": null, "shipping_date": null, "shipping_documentation": null, "shipping_tracking_number": null, "uncategorized_file": null, "uncategorized_text": null }, "evidence_details": { "due_by": 1708646399, "has_evidence": false, "past_due": false, "submission_count": 0 }, "is_charge_refundable": true, "livemode": false, "metadata": { }, "payment_intent": "pi_3OjI83A5Jdz4MJW31dbQbS2q", "payment_method_details": { "card": { "brand": "visa", "network_reason_code": "10" }, "type": "card" }, "reason": "fraudulent", "status": "warning_needs_response" } }

#

I want the dispute to be triggered with a custom payment_intent

#

instead of being a randomly generated one

hybrid dock
#

No that's not possible

#

Using the payment method pm_card_createDisputeInquiry that creates a dispute automatically

hoary owl
#

can I trigger a dispute for an already made payment?

hybrid dock
#

In live mode, the dispute is created by the customer and not by you

hoary owl
#

ohh, ok, thank you very much