I have the requisition with informations:
"charges": [
{
"id": "tran_opAqDj2390S1lKQO",
"transaction_type": "credit_card",
"gateway_id": "3b12320a-0d67-4c06-b497-6622fe9763c8",
"amount": 12356,
"status": "captured",
"success": true,
"installments": 2,
"acquirer_name": "redecard",
"acquirer_affiliation_code": "30233726",
"acquirer_tid": "247391236",
"acquirer_nsu": "247391236",
"acquirer_auth_code": "236689",
"operation_type": "capture",
"card": {
"id": "card_BjKOmahgAf0D23lw",
"last_four_digits": "4485",
"brand": "Visa",
"holder_name": "FABIO",
"exp_month": 6,
"exp_year": 2025,
"status": "active",
"created_at": "2022-06-29T20:23:42",
"updated_at": "2022-06-29T20:23:42",
"billing_address": {
"zip_code": "90265",
"city": "Malibu",
"state": "CA",
"country": "US",
"line_1": "10880, Malibu Point, Malibu Central"
},
"type": "credit"
},
"created_at": "2022-06-29T20:23:47",
"updated_at": "2022-06-29T20:23:47",
"gateway_response": {
"code": "200"
}
}
]
How to get this "id"?
Ex, check this -> data.charges.id ? Return undefined value, how to solve this?
Community Page
Last updated:
Last updated: