Get a subscription
Retrieves a subscription by its id. Only subscriptions matching the live or test mode of the API key are visible.
v1 · Base URL https://api.fintoc.com/v1Autorizaciones
Parámetros de ruta
The id of the subscription to retrieve.
Respuesta
The subscription.
Represents a payer's authorization to charge a bank account. Fintoc creates a Subscription when a SubscriptionIntent succeeds, and an active subscription accepts charges.
Unique identifier of the subscription.
"sub_m7N9rAWJS9dWDKEe"
Type of the object. Always subscription.
Represents the bank account a payer authorized for a subscription.
ISO 8601 timestamp, in UTC, of when the subscription was created.
"2023-03-08T15:24:11Z"
Mode of the object. live objects use real institution data, test objects use fake data for integration testing.
test, live "live"
Identifier the payer's bank uses to display the subscription on the bank's portal. Defaults to the account holder's ID when not provided on creation.
"ABC12345"
Status of the subscription. One of pending (the bank has not confirmed the subscription yet), active (the subscription accepts charges), or canceled (the subscription no longer accepts charges).
pending, active, canceled "active"