#mtalhaabbas
1 messages · Page 1 of 1 (latest)
You'd want to expand the payment_intent.invoice.subscription field on the Dispute
{
"id": "ch_3ME9t6IXCQ0uVxPu0mCdCaUK",
"object": "charge",
"amount": 100,
"amount_captured": 100,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_3ME9t6IXCQ0uVxPu0n9tBU7D",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"calculated_statement_descriptor": "Stripe",
"captured": true,
"created": 1670843376,
"currency": "usd",
"customer": null,
"description": "(created by Stripe CLI)",
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {},
"on_behalf_of": null,
"order": null,
"outcome": {
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 46,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": null,
"payment_method": "card_1ME9t6IXCQ0uVxPuKkZ9RMPQ",
"payment_method_details": {
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": null
},
"country": "US",
"exp_month": 12,
"exp_year": 2023,
"fingerprint": "PotwlYq8jyMQ3ldo",
"funding": "credit",
"installments": null,
"last4": "1976",
"mandate": null,
"network": "visa",
"three_d_secure": null,
"wallet": null
},
"type": "card"
},
}
where is the subscription key
??
What makes you think there should be one? This Charge was created via the CLI, by you. Not related to a Subscription at all: https://dashboard.stripe.com/test/logs/req_NufvPXulPyGOzl
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
how can I create the subscription-based dispute?