Skip to main content
POST
This endpoint allows you to create a new subscription for a customer. Creating a subscription involves associating a customer with a specific subscription plan and recording their payment information.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer access token for authentication. This token is obtained from the Get Access Token or Refresh Access Token endpoints.

Body

application/json
paymentMethod
object
required
externalId
string
required

A unique identifier generated by your system to track the transaction (alphanumeric and hyphens). We recommend using UUID4 to ensure uniqueness.

country
enum<string>
required

Document country. ISO 3166-1 alpha-3.

Available options:
COL,
MEX,
PER
amount
number
required

Transaction amount.

currency
enum<string>
required
Available options:
COP,
MXN,
PEN,
USD
accountNumber
string
required

Localpayment account number.

conceptCode
enum<string>
required

Reason for the payment code.

Available options:
0001,
0002,
0003,
0004,
0005,
0006,
0007,
0008,
0009,
0010,
0011,
0012,
0013,
0014,
0015,
0016,
0017,
0018,
0019,
0020,
0021,
0022,
0023,
0024,
0025,
0026,
0027,
0028,
0029,
0030,
0031,
0032,
0033,
0034,
0035,
0036,
0037,
0038,
0039,
0040
payer
object
required

Payer's information.

card
object
required

Payer deb card data.

type
enum<string>
required

Specifies the subscription category.

Available options:
SOFTWARE,
STREAMING,
CONTENT,
PRODUCTS,
MEMBERSHIP
autoRecurring
object
required

Subscription properties

comment
string

Additional information

exchangeRateToken
string

Token provided by the Foreign Exchange service in order to use an upfront agreed exchange rate.

intermediaries
array

Array of Party objects. It represents others parties in the payment chain because of the end user is not your direct customer. Take into account the array sequence: your client should be the first element, the client of your client should be the second and so on, until there are no more intermediaries.

device
object
metaData
string

Unstructured object to record any metadata meaningful to you.

commercialData
object

Extra information related to the goods or services traded.

merchant
object

Merchant information.

invoice
string

Invoice reference.

item
object

List of sold items.

shipments
object

List of shipping addresses

beneficiary
object

Account Beneficiary Information.

retry
object

Payin retry options.

discount
object

Discount options.

Response

OK

subscriptionId
string

Unique identifier for the subscription.

status
status · object

Operation status.

creationDate
string

Date and time when the subscription was created. The timestamp follows the ISO 8601 format.

nextPaymentDate
string

Date and time when the next payment for the subscription is due. The timestamp follows the ISO 8601 format.

payments
object[]

Array of objects representing payments associated with the subscription.

Last modified on November 10, 2026