1. Online Payments
  • Developer Docs Ecuador 🇪🇨
  • Online Payments
    • Release Notes
    • Card Payments
      • Request a card token
      • Make a charge or deferred charge
      • Refund a transaction
      • Void a transaction
      • Request deferred options
      • Validate OTP
      • Bin Info V2
      • Bin Info
    • One Click and Scheduled Payments
      • Request a recurring charge token
      • Create a recurring charge
      • Update recurring charge card data
      • Make an One-click payment
      • Cancel a recurring charge
      • Update a recurring charge
      • Add a temporary charge or discount
      • Get recurring charge Info
    • Chargebacks
      • Query chargebacks
      • Request chargeback export
    • Subscription Transactions
      • Get subscription transactions
    • Transfer in
      • Request a Transfer In token
      • Init Transaction
      • Get Status
    • Cash in
      • Request a cash in token
      • Init Transaction
      • Update a cash in transaction
      • Transaction Status
      • Delete a cash in transaction
    • Smartlinks
      • Create a Smartlink
      • Update a Smartlink
      • Get a Smartlink
      • Delete a smartlink
    • Analytics
      • Get transactions list v1
      • Get transactions list v2
    • Status
      • Get gateway status
      • Get platform status
    • Commissions
      • Get Commission Configuration
    • Payment Credentials
      • Create a credential
      • Search credentials
      • Activate or deactivate
      • Delete credential
      • Update credential
      • Regenerate a credential
      • Advanced search
    • Payment Button
      • Create a payment button
    • Settlement
      • Query settlement
  • Appian - Submerchant Register
    • Submerchant Validation in Batch
    • Query submerchant status by requestId/submerchantId
    • Get submerchantIds
    • Get credentials for submerchants
  • Schemas
    • threeDomainSecure
    • webhooks
    • Card-old
    • Channel
    • Amount-cash-in
    • ChargebackListResponse
    • StatusComponent
    • SettlementDateRangeRequest
    • SubscriptionTransactionsResponse
    • Card
    • currency
    • networkToken
    • ChargebackItem
    • ErrorResponse
    • SettlementTicketRequest
    • SubscriptionTransaction
    • Subscription
    • Amount
    • ErrorResponse400
    • SettlementResponse
    • extraTaxes
    • Country
    • ErrorResponse401
    • SettlementRecord
    • Language
    • Deferred
    • ErrorResponse403
    • Metadata
    • payment_method
    • ErrorResponse500
    • ContactDetails
    • documentType
    • orderDetails
    • Shipping Address
    • Billing-Address
    • payment_submethod
    • SubscriptionUpdate
    • product
    • SubscriptionAdjustmentRequest
    • threeDomainSecure
    • webhooks
    • headers
    • webhooksChargeback
    • citMit
    • network
    • binInfo
    • messageFields
    • UnexpectedErrorResponse
    • ExternalReferenceId
    • transactionType
BienvenidaPerú 🇵🇪México 🇲🇽Ecuador 🇪🇨
Colombia 🇨🇴Chile 🇨🇱
BienvenidaPerú 🇵🇪México 🇲🇽Ecuador 🇪🇨
Colombia 🇨🇴Chile 🇨🇱
  1. Online Payments

Subscription Transactions

Query transactions charged under a subscription.
This service allows merchants to retrieve the full details of a subscription alongside the list of transactions that have been charged against it, filtered by a date range and an optional result size limit.
Keep in mind!
This endpoint requires your Private Key (Private-Merchant-Id) for authentication. Keep this credential secure and never expose it on client-side code.

How It Works#

Send a GET request to /data/v1/subscription/{subscriptionId} using the target subscription ID as a path parameter. The response contains two main sections:
Subscription Details
Static metadata about the subscription — card info, plan name, periodicity, contact details, amount breakdown, and timestamps.
Transactions Array
The list of charges executed under that subscription within the requested date range, including status, amounts, and processor details.
The subscriptionId path parameter is the value returned as subscriptionId when a subscription is created via POST /subscriptions/v1/card.

Query Parameters#

All query parameters are optional. If omitted, the following defaults apply:
ParameterTypeDefaultDescription
sizeinteger100Maximum number of transactions to return. Must be a positive integer.
startdate (YYYY-MM-DD)5 days before requestStart of the date range. Only transactions created on or after this date are returned.
enddate (YYYY-MM-DD)Moment of requestEnd of the date range. Only transactions created on or before this date are returned.
Example request:

Response Structure#

Subscription Details#

The root-level fields describe the subscription itself — this data is static and reflects the subscription configuration at the time of the query.
Identification & Status
Periodicity & Schedule
Card & Contact
Amount
FieldTypeDescription
subscription_codestringUnique identifier of the subscription. Same value as subscriptionId.
active_indicatorbooleanWhether the subscription is currently active.
plan_namestringName of the plan associated with the subscription.
provider_namestringPayment provider processing the subscription (e.g., kushki).
reference_transaction_codestringReference code of the initial validation transaction used to register the card.

Transactions Array#

Each object inside the transactions[] array represents a single charge executed under the subscription.
Identification & Status
Amounts & Taxes
Card & Processor
Contact & Metadata
FieldTypeDescription
_idstringInternal unique identifier of the transaction record.
ticket_codestringTicket number assigned by Kushki.
transaction_codestringUnique transaction identifier assigned by Kushki.
approval_codestringAuthorization code returned by the issuer upon approval.
recap_codestringReconciliation code for the transaction.
reference_transaction_codestringUUID-based reference code for this transaction.
subscription_codestringIdentifier of the subscription this transaction belongs to.
transaction_status_typestringFinal status of the transaction. See values below.
transaction_typestringType of transaction executed. See values below.
subscription_trigger_typestringHow the charge was triggered: onDemand or scheduled.
create_timestampnumberUnix timestamp (milliseconds) of when the transaction was created.
Transaction status values:
transaction_status_typeMeaning
APPROVEDCharge was authorized and captured successfully
DECLINEDCharge was rejected by the issuer
INITIALIZEDCharge was created but not yet resolved
VOIDEDCharge was reversed before settlement
REFUNDEDCharge was returned to the cardholder after settlement
Transaction type values:
transaction_typeMeaning
SALEStandard charge
PREAUTHORIZATIONAuthorization hold without capture
CAPTUREConfirmation of a previous preauthorization
VOIDReversal of a charge
REFUNDPost-settlement return

Error Codes#

HTTPCodeMessageCause
400K001El cuerpo de la petición es inválidoInvalid or malformed request parameters
401K004Id de comercio no válidoMissing or invalid Private-Merchant-Id
404K037Subscripción no encontradaThe provided subscriptionId does not exist
500K002Ha ocurrido un error inesperadoUnexpected server-side error

Using the API#

🟢 Production
🧪 Sandbox (UAT)
https://api.kushkipagos.com/

Available Endpoints#

Get Subscription Transactions
Returns the subscription details and the list of charges executed within a date range. Requires Private Merchant ID.

Got a suggestion on this documentation? Contact us.
Modified at 2026-07-11 00:04:25
Previous
Request chargeback export
Next
Get subscription transactions
Built with