{
"id": "pi_1GkzsQBaliC5Ig8csGMS3qeQ",
"object": "payment_intent",
"last_payment_error": null,
"livemode": true,
"next_action": null,
"status": "canceled",
"amount": 5065,
"amount_capturable": 0,
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"canceled_at": 1590011916,
"cancellation_reason": null,
"capture_method": "automatic",
"charges": {
"object": "list",
"data": [
{
"id": "ch_1GkzsRBaliC5Ig8cfsS53JGO",
"object": "charge",
"amount": 5065,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": "test",
"country": "UG",
"line1": "test",
"line2": null,
"postal_code": "65456",
"state": "Adjumani"
},
"email": "xxx@xxx.net",
"name": "test test",
"phone": null
},
"calculated_statement_descriptor": "xxx xxxxx xxx",
"captured": false,
"created": 1590011703,
"currency": "gbp",
"customer": null,
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": "incorrect_number",
"failure_message": "Your card number is incorrect.",
"fraud_details": {
},
"invoice": null,
"livemode": true,
"metadata": {
},
"on_behalf_of": null,
"order": null,
"outcome": {
"network_status": "declined_by_network",
"reason": "incorrect_number",
"risk_level": "normal",
"seller_message": "The bank returned the decline code `incorrect_number`.",
"type": "issuer_declined"
},
"paid": false,
"payment_intent": "pi_1GkzsQBaliC5Ig8csGMS3qeQ",
"payment_method": "pm_1GkzsPBaliC5Ig8cECOdz3KV",
"payment_method_details": {
"card": {
"brand": "mastercard",
"checks": {
"address_line1_check": "unavailable",
"address_postal_code_check": "unavailable",
"cvc_check": "unavailable"
},
"country": "US",
"exp_month": 12,
"exp_year": 2021,
"fingerprint": "ZADg8yR0fJo7HKhs",
"funding": "credit",
"installments": null,
"last4": "7654",
"network": "mastercard",
"three_d_secure": null,
"wallet": null
},
"type": "card"
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": null,
"refunded": false,
"refunds": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1GkzsRBaliC5Ig8cfsS53JGO/refunds"
},
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "failed",
"transfer_data": null,
"transfer_group": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1GkzsQBaliC5Ig8csGMS3qeQ"
},
"client_secret": "pi_1GkzsQBaliC5Ig8csGMS3qeQ_secret_fQ1DRR8XVw68nLtCb1cK6laK5",
"confirmation_method": "manual",
"created": 1590011702,
"currency": "gbp",
"customer": null,
"description": null,
"invoice": null,
"metadata": {
},
"on_behalf_of": null,
"payment_method": null,
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"transfer_data": null,
"transfer_group": null
}