---
title: "Create charge"
method: POST
path: "/orders/{id}/charges"
tags: ["Charges"]
---

# Create charge

`POST /orders/{id}/charges`

Create charge for an existing orden

## Path parameters

- `id` string, required

## Headers

- `Accept-Language` 'es' | 'en'
- `X-Child-Company-Id` string

## Request body

- ChargeRequest — The charges to be made
  - `amount` integer — Amount to be charged in cents
  - `payment_method` union, required
    - PaymentMethodPbbRequest — Contains details of the payment methods that the customer has active or has used in Conekta
      - `type` string, required — Type of the payment method
      - `expires_at` integer — Expiration date of the payment method, in Unix timestamp format
      - `product_type` 'bbva_pay_by_bank', required — Product type of the payment method, use for the payment method to know the product type
    - PaymentMethodBnplRequest — Contains details of the payment methods that the customer has active or has used in Conekta
      - `type` string, required — Type of the payment method
      - `cancel_url` string, required — URL to redirect the customer after a canceled payment
      - `can_not_expire` boolean, required — Indicates if the payment method can not expire
      - `failure_url` string, required — URL to redirect the customer after a failed payment
      - `product_type` 'aplazo_bnpl' | 'azteca_bnpl' | 'coppel_bnpl' | 'creditea_bnpl', required — Product type of the payment method, use for the payment method to know the product type
      - `success_url` string, required — URL to redirect the customer after a successful payment
    - PaymentMethodCardRequest — Contains details of the payment methods that the customer has active or has used in Conekta
      - `type` string, required — Type of payment method
      - `cvc` string, required — Card security code
      - `exp_month` string, required — Card expiration month
      - `exp_year` string, required — Card expiration year
      - `name` string, required — Cardholder name
      - `number` string, required — Card number
      - `customer_ip_address` string — Optional field used to capture the customer's IP address for fraud prevention and security monitoring purposes
    - PaymentMethodGeneralRequest — Payment method used in the charge. Go to the [payment methods](https://developers.conekta.com/reference/m%C3%A9todos-de-pago) section for more details
      - `expires_at` integer — Method expiration date as unix timestamp
      - `monthly_installments` integer — How many months without interest to apply, it can be 3, 6, 9, 12 or 18
      - `type` string, required — Type of payment method
      - `token_id` string
      - `payment_source_id` string
      - `cvc` string — Optional, It is a value that allows identifying the security code of the card. Only for PCI merchants
      - `contract_id` string — Optional id sent to indicate the bank contract for recurrent card charges.
      - `customer_ip_address` string — Optional field used to capture the customer's IP address for fraud prevention and security monitoring purposes
  - `reference_id` string — Custom reference to add to the charge

## Response `200`

successful

## Other responses

- `401` — authentication error
- `404` — not found entity
- `428` — Precondition Required
- `500` — internal server error

---

[API](https://skmtc.net/conekta/apis/conekta-api.md) · [All operations](https://skmtc.net/conekta/apis/conekta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conekta/conekta-api/revisions/029df3052bca/schema)
