Skip to main content
Once a customer has saved their card and the payment method status is ACTIVE, you can charge it at any time by calling the charge endpoint. No customer interaction is required. The charge is processed entirely server-side.

Overview

Charging a saved card allows you to:
  • Bill customers for subscriptions, memberships, or recurring services
  • Charge after service delivery (on-demand services, freight, freelance work)
  • Process payments when orders ship or milestones are reached

Prerequisites

Before charging a saved card:
  • The payment method must have a status of ACTIVE
  • You must have the payment method id (returned when creating the payment method)
  • The card must not be expired or revoked

Creating a Charge

Endpoint

API reference: POST /payment-method/{id}/payment

Authentication

Include your API key in the request headers:

Path Parameters

string
required
The unique identifier of the payment method to charge (UUID).

Request Body

Field Descriptions

Response

Code Examples

Checking Payment Status

After creating a charge, you can check its status at any time:
API reference: GET /payment-method/{id}/payment/{paymentId}

Important Business Rules

Payment method must be ACTIVE. You can only charge payment methods with an ACTIVE status. Attempting to charge a PENDING, EXPIRED, or REVOKED payment method will result in a 400 error.
Card expiration. If the customer’s card has expired since it was saved, the charge will fail. In this case, you’ll need to create a new payment method and have the customer save an updated card.
Currency restriction. Only MXN (Mexican Peso) is currently supported. Charges in other currencies will be rejected.

Error Handling

Next Steps

Process Refunds

Issue full refunds for charges made against saved cards.

Manage Payment Methods

List, retrieve, and revoke payment methods and view payment history.