[Get subscription]

GET {{url}}{{public-prefix}}/subscriptions/{{subscription_id}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"id":"b6fe4476-bff5-4fc9-8e93-164ad89c241e","plan":{"id":"23b8b75f-0679-46ca-9ffb-5377f530b01a","name":"New plan cbu","amount":"2500.0","currency":"ARS","cycle_unit":"monthly","cycle_amount":1,"type":"flat","country":"ARG","external_id":"41b24ea0-8cf5-48fa-a206-05db619a5231","trial_period_days":10,"tiers":[],"charge_after_period":false,"product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","start_day":null,"charge_proportional":null,"automatic_subscription_request_approval":true,"checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/oP23wN","success_url":"","collect_methods":{"cbu":[{"id":"a2bb722a-9d6d-4bdc-92ec-a8e329ec7358","name":"comafi","type":"comafi","status":"enabled","country":"ARG","max_payment_retries":1,"retry_period_time":1,"retry_period_unit":"hours","currencies":["ARS"],"payment_categories":["cbu"],"metadata":{"company_code":"merch","cuit":"30710123388","account_number":"221312344565671","beneficiary":"merchantex","id_size":1}}],"card":[],"ticket":[]},"locked":false,"taxes":[{"id":"9cacf4ba-080f-4120-a84e-6b824e92fe39","type":"flat","name":"New tax","amount":"130.0","region":null,"created_at":"2021-09-30T15:04:36-03:00","country":"ARG","description":"Tax description updated","external_id":"9e8bc664-dd8f-4477-8336-0d2663536c86"}],"discounts":[{"id":"bd9a61bd-c7f1-4920-a832-a43a5084b6f1","external_id":"e2dfa853-aba1-4512-846c-c10e42143135","name":"New discount","type":"flat","amount":"130.0","currency":"ARS","duration":"periodic","cycle_unit":"monthly","cycle_amount":10,"created_at":"2021-09-30T14:54:56-03:00","description":"A description of the discount"}],"one_time_costs":[{"id":"716d64f8-1b2f-4bf7-b2ba-3da72382244a","external_id":"994702d6-63b1-43ad-acd0-53686675bf65","type":"flat","name":"New one time cost","description":"A description of the one time cost","amount":"1300.0","country":"ARG","currency":"ARS"}]},"customer":{"id":"4b214574-8870-49a0-a91e-3e9ac73fd333","external_id":"","email":"test@test.com","language":"ES","timezone":"Buenos Aires","first_name":"Customer","last_name":"Test","billing_info":{"id":"55fcce19-0b77-4c96-ac1c-fff100d86ac2","address_line_1":"Broadway 123","address_line_2":"","country":"ARG","currency":"ARS","city":"City","state":"Buenos Aires","zip_code":"1112","phone":"111212123"},"tax_id":"20123123458","checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/n0EGp2","created_at":"2021-09-29T17:41:12-03:00"},"quantity":1,"amount":"2500.0","net_amount":"5300.0","currency":"ARS","status":"active","canceled_at":null,"paused_at":null,"trial_period_end":"2021-10-05T00:00:00-03:00","next_billing_date":"2021-10-05T00:00:00-03:00","created_at":"2021-09-30T16:43:51-03:00","payment_method":{"id":"ec266d72-9af8-4fff-b95b-783a7751f0db","external_id":"a2bb722a-9d6d","data":{"type":"cbu","country":"ARG","number":"94256727**4643"},"created_at":"2021-09-30T09:52:24-03:00","collect_method_id":"a2bb722a-9d6d-4bdc-92ec-a8e329ec7358"},"product":{"id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","name":"New product","external_id":null,"created_at":"2021-09-29T15:58:51-03:00","checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/qSR6_P"},"external_id":"edff0eed-67b7-409d-abf2-517ebd0f80a0","activate_at":"2021-09-30","cancel_at":null,"checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/WUGFi3","discounts":[{"id":"bd9a61bd-c7f1-4920-a832-a43a5084b6f1","external_id":"e2dfa853-aba1-4512-846c-c10e42143135","name":"New discount","type":"flat","amount":"130.0","currency":"ARS","duration":"periodic","cycle_unit":"monthly","cycle_amount":10,"created_at":"2021-09-30T14:54:56-03:00","description":"A description of the discount"},{"id":"bb913fef-135c-4901-a637-c2efb4b37b07","external_id":"e2dfa853-aba1-4512-846c-c10e42143134","name":"New discount for subscription","type":"flat","amount":"120.0","currency":"ARS","duration":"periodic","cycle_unit":"monthly","cycle_amount":10,"created_at":"2021-09-30T16:42:47-03:00","description":"A description of the discount"}],"invoices":[],"one_time_costs":[{"id":"716d64f8-1b2f-4bf7-b2ba-3da72382244a","external_id":"994702d6-63b1-43ad-acd0-53686675bf65","type":"flat","name":"New one time cost","description":"A description of the one time cost","amount":"1300.0","country":"ARG","currency":"ARS"},{"id":"af2fa75f-2bfc-489d-8501-286ae421c7a5","external_id":"asad123-123asd","type":"flat","name":"New one time cost for subscription","description":"A description of the one time cost","amount":"1500.0","country":"ARG","currency":"ARS"}],"taxes":[{"id":"9cacf4ba-080f-4120-a84e-6b824e92fe39","type":"flat","name":"New tax","amount":"130.0","region":null,"created_at":"2021-09-30T15:04:36-03:00","country":"ARG","description":"Tax description updated","external_id":"9e8bc664-dd8f-4477-8336-0d2663536c86"},{"id":"e9cc9167-7796-4e10-8ee5-ad6ae4a0beb4","type":"flat","name":"New tax for subscription","amount":"120.0","region":null,"created_at":"2021-09-30T16:43:29-03:00","country":"ARG","description":"Tax description","external_id":"9e8bc664-dd8f-4477-8336-0d2663536c85"}]}