[Get payments from customer]

GET {{url}}{{public-prefix}}/payments?page=1&per_page=20&customer_id={{customer_id}}

Request Params

KeyDatatypeRequiredDescription
pagenumber
per_pagenumber
customer_idstring

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"data":[{"id":"ad4414be-68ff-4b36-96ea-2e494a596030","status":"approved","refund_status":"unrequested","amount":"40.0","currency":"ARS","payment_method":{"id":"ad8a00b5-74a1-46c3-bdce-f3d1625de131","external_id":"8999462605","data":{"country":"ARG","number":"503175**0604","type":"card","cardholder_identification_type":"DNI","cardholder_identification_number":"221231231","expiration_month":11,"expiration_year":2025,"first_six_digits":"503175","last_four_digits":"0604","issuer_name":"Mastercard","cardholder_name":"APRO","card_brand_name":"Mastercard","card_brand_payment_type_id":"credit_card"},"created_at":"2021-09-30T17:40:06-03:00","collect_method_id":"d2a7fd90-a8da-4276-8fee-2b5f91edab61"},"events":[{"id":"6d9f0d2c-553f-40f4-9f58-3debce9addfe","name":"processor_response","message":"El pago ha sido aprobado.","status_from":"processing","status_to":"approved","created_at":"2021-10-01T11:00:27-03:00"},{"id":"9a5ce564-2485-4e31-9408-fdd3bf9d780a","name":"processor_response","message":"La orden de pago fue enviada a procesarse.","status_from":"open","status_to":"processing","created_at":"2021-10-01T11:00:27-03:00"}],"created_at":"2021-10-01T10:57:40-03:00","invoice_id":"abee7fce-aac1-444b-9d73-c57f38dfe30d","rejection_code":null,"rejection_type":null,"updated_at":"2021-10-01T11:00:27.559-03:00","rejection_description":null,"paid_at":"2021-10-01T11:00:27-03:00","invoice":{"id":"abee7fce-aac1-444b-9d73-c57f38dfe30d","status":"paid","amount":"40.0","external_id":"ae8487c3-b737-43cc-af66-f0d942c78c94","customer":{"id":"4b214574-8870-49a0-a91e-3e9ac73fd333","email":"test@test.com","first_name":"Customer","last_name":"Test"},"subscriptions":[],"currency":"ARS","created_at":"2021-10-01T10:53:16-03:00","paid_at":"2021-10-01T11:00:27-03:00","checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/4AqvJC","success_url":"https://increase.app/thanks?invoice_id=abee7fce-aac1-444b-9d73-c57f38dfe30d\u0026customer_id=4b214574-8870-49a0-a91e-3e9ac73fd333","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":[{"id":"d2a7fd90-a8da-4276-8fee-2b5f91edab61","name":"Mercadopago Connect","type":"mercadopago_connect","status":"enabled","country":"ARG","max_payment_retries":0,"retry_period_time":0,"retry_period_unit":"days","currencies":["ARS"],"payment_categories":["card"],"public_key":"APP_USR-29d56597-5025-449c-883c-00b8a6c4c89c","metadata":{"expiration_days":30,"offline_payments_enabled":false}}],"ticket":[]},"invoice_items":[{"id":"00d9d5c4-a14c-4395-adb3-ce39910c74ef","invoice_id":"abee7fce-aac1-444b-9d73-c57f38dfe30d","description":"Item description","quantity":2,"unit_price":"20.0","amount":"40.0","currency":"ARS","item_number":0,"invoiceable_id":null,"invoiceable_type":null,"created_at":"2021-10-01T10:53:16.079-03:00","updated_at":"2021-10-01T10:53:16.079-03:00","product_id":null,"denormalized_product_name":null,"applicable_type":null,"applicable_id":null}],"payments":[{"id":"ad4414be-68ff-4b36-96ea-2e494a596030","invoice_id":"abee7fce-aac1-444b-9d73-c57f38dfe30d","payment_method_id":"ad8a00b5-74a1-46c3-bdce-f3d1625de131","status":"approved","amount":"40.0","currency":"ARS","id_for_collect_provider":1881,"created_at":"2021-10-01T10:57:40.151-03:00","updated_at":"2021-10-01T11:00:27.559-03:00","denormalized_customer_email":"test@test.com","retry_count":0,"metadata":{"mercadopago_id":null,"authorization_code":"1234567","external_resource_url":null},"rejection_code":null,"rejection_type":null,"account_id":"59640063-5b68-403e-9ddc-948d582cf8f2","rejection_description":null,"paid_at":"2021-10-01T11:00:27.404-03:00","processor_reference_id":"14647463936","denormalized_customer_first_name":"Customer","denormalized_customer_last_name":"Test","refund_status":"unrequested","refresh_date":"2021-10-01T14:00:26.983-03:00","stop_debit":false,"sync":false}]},"processor_reference_id":"14647463936","external_resource_url":null,"refundable":true},{"id":"6e26145e-1602-40be-9cd9-8a6a83d22088","status":"approved","refund_status":"unrequested","amount":"40.0","currency":"ARS","payment_method":{"id":"ad8a00b5-74a1-46c3-bdce-f3d1625de131","external_id":"8999462605","data":{"country":"ARG","number":"503175**0604","type":"card","cardholder_identification_type":"DNI","cardholder_identification_number":"221231231","expiration_month":11,"expiration_year":2025,"first_six_digits":"503175","last_four_digits":"0604","issuer_name":"Mastercard","cardholder_name":"APRO","card_brand_name":"Mastercard","card_brand_payment_type_id":"credit_card"},"created_at":"2021-09-30T17:40:06-03:00","collect_method_id":"d2a7fd90-a8da-4276-8fee-2b5f91edab61"},"events":[{"id":"5de1ff04-f0a5-4631-87f0-c141b7651e21","name":"processor_response","message":"El pago ha sido aprobado.","status_from":"processing","status_to":"approved","created_at":"2021-10-01T10:45:08-03:00"},{"id":"56b71abd-31ee-4562-a252-f936c618c670","name":"processor_response","message":"La orden de pago fue enviada a procesarse.","status_from":"open","status_to":"processing","created_at":"2021-10-01T10:45:08-03:00"},{"id":"e62487eb-f47d-4533-ad91-3bf1c744a689","name":"payment_created","message":"La orden de pago ha sido creada.","status_from":"created","status_to":"open","created_at":"2021-10-01T10:41:02-03:00"}],"created_at":"2021-10-01T10:41:02-03:00","invoice_id":"27b66515-fe3f-4e81-baa9-59a5376bebc5","rejection_code":null,"rejection_type":null,"updated_at":"2021-10-01T10:45:08.666-03:00","rejection_description":null,"paid_at":"2021-10-01T10:45:08-03:00","invoice":{"id":"27b66515-fe3f-4e81-baa9-59a5376bebc5","status":"paid","amount":"40.0","external_id":"ae8487c3-b737-43cc-af66-f0d942c78c94","customer":{"id":"4b214574-8870-49a0-a91e-3e9ac73fd333","email":"test@test.com","first_name":"Customer","last_name":"Test"},"subscriptions":[],"currency":"ARS","created_at":"2021-10-01T10:41:02-03:00","paid_at":"2021-10-01T10:45:08-03:00","checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/NAICMJ","success_url":"https://increase.app/thanks?invoice_id=27b66515-fe3f-4e81-baa9-59a5376bebc5\u0026customer_id=4b214574-8870-49a0-a91e-3e9ac73fd333","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":[{"id":"d2a7fd90-a8da-4276-8fee-2b5f91edab61","name":"Mercadopago Connect","type":"mercadopago_connect","status":"enabled","country":"ARG","max_payment_retries":0,"retry_period_time":0,"retry_period_unit":"days","currencies":["ARS"],"payment_categories":["card"],"public_key":"APP_USR-29d56597-5025-449c-883c-00b8a6c4c89c","metadata":{"expiration_days":30,"offline_payments_enabled":false}}],"ticket":[]},"invoice_items":[{"id":"afc620f4-66dd-494c-8ae4-c54988e3946a","invoice_id":"27b66515-fe3f-4e81-baa9-59a5376bebc5","description":"Item description","quantity":2,"unit_price":"20.0","amount":"40.0","currency":"ARS","item_number":0,"invoiceable_id":null,"invoiceable_type":null,"created_at":"2021-10-01T10:41:02.165-03:00","updated_at":"2021-10-01T10:41:02.165-03:00","product_id":null,"denormalized_product_name":null,"applicable_type":null,"applicable_id":null}],"payments":[{"id":"6e26145e-1602-40be-9cd9-8a6a83d22088","invoice_id":"27b66515-fe3f-4e81-baa9-59a5376bebc5","payment_method_id":"ad8a00b5-74a1-46c3-bdce-f3d1625de131","status":"approved","amount":"40.0","currency":"ARS","id_for_collect_provider":1880,"created_at":"2021-10-01T10:41:02.197-03:00","updated_at":"2021-10-01T10:45:08.666-03:00","denormalized_customer_email":"test@test.com","retry_count":0,"metadata":{"mercadopago_id":null,"authorization_code":"1234567","external_resource_url":null},"rejection_code":null,"rejection_type":null,"account_id":"59640063-5b68-403e-9ddc-948d582cf8f2","rejection_description":null,"paid_at":"2021-10-01T10:45:08.470-03:00","processor_reference_id":"14647463936","denormalized_customer_first_name":"Customer","denormalized_customer_last_name":"Test","refund_status":"unrequested","refresh_date":"2021-10-01T13:45:08.011-03:00","stop_debit":false,"sync":false}]},"processor_reference_id":"14647463936","external_resource_url":null,"refundable":true},{"id":"056c1715-e9c6-4723-a548-104066c8889c","status":"approved","refund_status":"unrequested","amount":"5300.0","currency":"ARS","payment_method":{"id":"ad8a00b5-74a1-46c3-bdce-f3d1625de131","external_id":"8999462605","data":{"country":"ARG","number":"503175**0604","type":"card","cardholder_identification_type":"DNI","cardholder_identification_number":"221231231","expiration_month":11,"expiration_year":2025,"first_six_digits":"503175","last_four_digits":"0604","issuer_name":"Mastercard","cardholder_name":"APRO","card_brand_name":"Mastercard","card_brand_payment_type_id":"credit_card"},"created_at":"2021-09-30T17:40:06-03:00","collect_method_id":"d2a7fd90-a8da-4276-8fee-2b5f91edab61"},"events":[{"id":"ec5d35f5-7104-48a8-83c0-d12beedda6ac","name":"processor_response","message":"El pago ha sido aprobado.","status_from":"processing","status_to":"approved","created_at":"2021-09-30T18:00:29-03:00"},{"id":"3062412f-ac02-4f06-91e6-a04e077ceefb","name":"processor_response","message":"La orden de pago fue enviada a procesarse.","status_from":"open","status_to":"processing","created_at":"2021-09-30T18:00:29-03:00"},{"id":"a216ddae-e168-4615-bd0a-edc4d1bc910b","name":"payment_created","message":"La orden de pago ha sido creada.","status_from":"created","status_to":"open","created_at":"2021-09-30T18:00:19-03:00"}],"created_at":"2021-09-30T18:00:19-03:00","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","rejection_code":null,"rejection_type":null,"updated_at":"2021-09-30T18:00:29.635-03:00","rejection_description":null,"paid_at":"2021-09-30T18:00:29-03:00","invoice":{"id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","status":"paid","amount":"5300.0","external_id":null,"customer":{"id":"4b214574-8870-49a0-a91e-3e9ac73fd333","email":"test@test.com","first_name":"Customer","last_name":"Test"},"subscriptions":[{"id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49","plan":{"id":"a4f65c53-37be-4b63-b4ee-a24090cdeba4","name":"New plan credit card"},"customer":{"id":"4b214574-8870-49a0-a91e-3e9ac73fd333","email":"test@test.com","first_name":"Customer","last_name":"Test"},"quantity":1,"amount":"2500.0","net_amount":"2620.0","currency":"ARS","status":"active","canceled_at":null,"paused_at":null,"trial_period_end":"2021-09-30T00:00:00-03:00","next_billing_date":"2021-10-30T00:00:00-03:00","created_at":"2021-09-30T17:41:44-03:00","product":{"id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","name":"New product"},"activate_at":"2021-09-30","cancel_at":null}],"currency":"ARS","created_at":"2021-09-30T18:00:18-03:00","paid_at":"2021-09-30T18:00:29-03:00","checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/7Z4Z6m","success_url":"?invoice_id=3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c\u0026customer_id=4b214574-8870-49a0-a91e-3e9ac73fd333\u0026subscription_id=bb8ceb4e-929f-4f31-9e1f-9ade5c562c49\u0026payment_method_id=ad8a00b5-74a1-46c3-bdce-f3d1625de131","collect_methods":{"cbu":[],"card":[],"ticket":[]},"invoice_items":[{"id":"01e0a971-0223-4df5-b3ac-231f2a94ac24","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New plan credit card","quantity":1,"unit_price":"2500.0","amount":"2500.0","currency":"ARS","item_number":0,"invoiceable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49","invoiceable_type":"Subscription","created_at":"2021-09-30T18:00:18.366-03:00","updated_at":"2021-09-30T18:00:18.366-03:00","product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","denormalized_product_name":"New product","applicable_type":null,"applicable_id":null},{"id":"4fa52f3a-0574-4e2a-8e50-cd36ebd0b7e8","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New one time cost","quantity":1,"unit_price":"1300.0","amount":"1300.0","currency":"ARS","item_number":1,"invoiceable_id":"716d64f8-1b2f-4bf7-b2ba-3da72382244a","invoiceable_type":"OneTimeCost","created_at":"2021-09-30T18:00:18.531-03:00","updated_at":"2021-09-30T18:00:18.531-03:00","product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","denormalized_product_name":"New product","applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"38fc8d7a-d093-43d2-8645-13a6a36c3324","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New one time cost for subscription","quantity":1,"unit_price":"1500.0","amount":"1500.0","currency":"ARS","item_number":2,"invoiceable_id":"af2fa75f-2bfc-489d-8501-286ae421c7a5","invoiceable_type":"OneTimeCost","created_at":"2021-09-30T18:00:18.554-03:00","updated_at":"2021-09-30T18:00:18.554-03:00","product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","denormalized_product_name":"New product","applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"1cdb8817-2563-46de-89d7-e31042b49b14","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New discount","quantity":1,"unit_price":"130.0","amount":"-130.0","currency":"ARS","item_number":3,"invoiceable_id":"bd9a61bd-c7f1-4920-a832-a43a5084b6f1","invoiceable_type":"Discount","created_at":"2021-09-30T18:00:18.749-03:00","updated_at":"2021-09-30T18:00:18.749-03:00","product_id":null,"denormalized_product_name":null,"applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"eb0bf8fa-6c4e-4b2b-ad51-f9e8b0faac7e","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New discount for subscription","quantity":1,"unit_price":"120.0","amount":"-120.0","currency":"ARS","item_number":4,"invoiceable_id":"bb913fef-135c-4901-a637-c2efb4b37b07","invoiceable_type":"Discount","created_at":"2021-09-30T18:00:18.807-03:00","updated_at":"2021-09-30T18:00:18.807-03:00","product_id":null,"denormalized_product_name":null,"applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"d700db29-e86d-43b4-a90e-308b5f98a820","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New tax","quantity":1,"unit_price":"130.0","amount":"130.0","currency":"ARS","item_number":5,"invoiceable_id":"9cacf4ba-080f-4120-a84e-6b824e92fe39","invoiceable_type":"Tax","created_at":"2021-09-30T18:00:18.922-03:00","updated_at":"2021-09-30T18:00:18.922-03:00","product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","denormalized_product_name":"New product","applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"fccad5ad-4bc7-4d39-8ed7-eddcce646d69","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New tax for subscription","quantity":1,"unit_price":"120.0","amount":"120.0","currency":"ARS","item_number":6,"invoiceable_id":"e9cc9167-7796-4e10-8ee5-ad6ae4a0beb4","invoiceable_type":"Tax","created_at":"2021-09-30T18:00:18.940-03:00","updated_at":"2021-09-30T18:00:18.940-03:00","product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","denormalized_product_name":"New product","applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"}],"payments":[{"id":"056c1715-e9c6-4723-a548-104066c8889c","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","payment_method_id":"ad8a00b5-74a1-46c3-bdce-f3d1625de131","status":"approved","amount":"5300.0","currency":"ARS","id_for_collect_provider":1855,"created_at":"2021-09-30T18:00:19.154-03:00","updated_at":"2021-09-30T18:00:29.635-03:00","denormalized_customer_email":"test@test.com","retry_count":0,"metadata":{"mercadopago_id":null,"authorization_code":"1234567","external_resource_url":null},"rejection_code":null,"rejection_type":null,"account_id":"59640063-5b68-403e-9ddc-948d582cf8f2","rejection_description":null,"paid_at":"2021-09-30T18:00:29.449-03:00","processor_reference_id":"14647463936","denormalized_customer_first_name":"Customer","denormalized_customer_last_name":"Test","refund_status":"unrequested","refresh_date":"2021-09-30T21:00:29.002-03:00","stop_debit":false,"sync":false}]},"processor_reference_id":"14647463936","external_resource_url":null,"refundable":true}],"current_page":"1","per_page":20,"total_pages":1,"total_elements":3}