Charge Object

{
  "id": "ch_m7N9rAWJS9dWDKEe",
  "object": "charge",
  "amount": 5000,
  "business_profile": {
    "category": "011210",
    "name": "Merchant Name",
    "tax_id": "77498112-0"
  },
  "created_at": "2021-11-11T02:29:16Z",
  "currency": "CLP",
  "failure_code": null,
  "metadata": {},
  "mode": "live",
  "status": "pending",
}
AttributeTypeDescription
idstringUnique identifier for the Charge
objectstringIdentifier for the type of object. Its value for Charges will always correspond to charge
amountintegerAmount to be charged from the subscribed account, represented as an integer. This value must always be greater than 0.
business_profilehashOptional object to identify multiple enrolled merchants for category-based pricing.
created_atstringCharge's creation date, using ISO 8601
currencystringCurrency ISO code. For now, we only support CLP
failure_codestringShort string with a brief explanation of the error. Its values can be insufficient_funds, subscription_inactive, charge_amount_limit_exceeded or other. It can be null
metadatahashSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
modestringIndicates whether the Charge is in live mode or in test mode (for the sandbox)
statusstringCharge status. Can be pending, in_progress, succeeded, failed.

Business Profile Object

AttributeTypeDescription
categorystringIdentifier of the category of the enrolled merchant. In Chile, it corresponds to a 6 character SII activity code.
namestringEnrolled merchant´s name.
tax_idstringEnrolled merchant's tax identifier. In Chile, it corresponds to a RUT.