El objeto cargo corresponde a el pago realizado por el cliente en una suscripción. Cómo mínimo el cargo define un monto, fecha programada para el cargo y una descripción.
{
"id": "cid_2566645567e51ef2b7.76832273",
"charge_date": "2023-05-08",
"amount": 9900,
"status": "pagado",
"description": "Cargo 1 de 3",
"created_at": "2021-09-08 11:20:31",
"payment": {
"client": {
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"social_id": "12345678-9",
"phone": "56961934502"
},
"commerce": {
"commerce_id": "76123456-7",
"name": "ACME CORP"
},
"order": {
"uuid": "083613a748190d26",
"status": "pagado",
"created_at": "2023-05-08 11:20:31",
"card_number": 1234,
"authorized_at": "2021-08-08 11:21:31",
"auth_code": "1234",
"installment_amount": 0,
"installment_number": 0,
"payment_type_code": "VN",
"amount": 9990,
"deposits": [
{
"description": "1/1",
"installment": 9900,
"processing_flat_fee": 0,
"processing_fee": 117,
"payout_amount": 9783,
"payout_date": "2023-03-11"
}
]
}
}
}