API Reference
Gateway Status
Powered by Stoplight
post

/subscriptions/v1/card/{subscriptionId}

Make a charge on an existing subscription identified by its subscriptionId that was created in the subscriptions endpoint.

Deferred charges

Deferred charges are only available for on demand charges in subscriptions.

Ecuador

If you perform a deferred charge with credentials of an Ecuadorian merchant, you have to set the deferred object that has the creditType, graceMonths and months. Here is a quick list of types of credit that you can use in the creditType field:

  • “01” = Fixed installments with interest.
  • “02” = Months of grace with interest.
  • “03” = Monthly payment by month with interest.
  • “04” = Fixed installments withouth interest.
  • “05” = Months of grace withouth interest.
  • “06” = Monthly payment by month withouth interest.
  • “07” = Special without interest.
  • “50” = Supermaxi promo.

The exact credytType you have to use for deferred transactions depends on the credit card bin. You can request the deferred options for a specific bin from your frontend with our API or with one of our frontend libraries.

Chile, Colombia, Mexico, and Peru

For deferred charges in Mexican, Colombian, Chilean or Peruvian merchants, you have to set the deferred object that has the months parameter.

Request Parameters

1 Path Parameter
2 Headers

Request Body

4 Examples
Schema
object
id: SubscriptionChargesRequest
amount
object
2 validations + required
language
string
1 validation
metadata
object
cvv
string
1 validation
fullResponse
boolean
ignoreWarnings
boolean

Set this parameter to true if you want to continue with the charge despite de warning rules

deferred
object

For deferred transactions

contactDetails
object
required
orderDetails
object
required
productDetails
object
required
token
string

Required only when working with Sift. Get the token from your front-end using the requestTokenCharge() method

Responses

1 Example
Schema
object
details
object

Only when fullResponse is true

ticketNumber
string
transactionReference
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
subscriptionId
$$.env
No $$.env variables are being used in this request.