Payments API
Obtener todos los payments (liquidaciones)
GET
https://gateway.increase.app/card/v2/payments
Headers
Content-Type: application/json
Authorization: Bearer <access_token>
Tenant: <país>
curl --include \
--header "Content-Type: application/json" \
--header "Tenant: argentina" \
--header "X-Auth-Token: <tu_access_token>" \
'https://gateway.increase.app/card/v2/payments'
### Parámetros optativos | Tipo | Descripción |
---|---|---|
Page | Integer | Indica la página a obtener resultados. |
per_page | Integer | Cantidad de resultados por página (Máximo 40) |
hide_movements | Boolean | En TRUE no devuelve los movimientos de la liquidación |
created_at_from | String con formato ISO 8601 como timestamp | Fecha de creación "desde" en Increase . Se ordena de más nuevo a más viejo. Ejemplo: 2019-03-15T14:47:10-03:00 |
created_at_to | String con formato ISO 8601 como timestamp | Fecha de creación en Increase hasta. Se ordena de más reciente a más viejo. |
Payment_date_from | String con formato aaaa-mm-dd. | Fecha de pago de la liquidación (desde) |
Payment_date_to | String con formato aaaa-mm-dd. | Fecha de pago de la liquidación (hasta) |
Presentation_date_from | String con formato aaaa-mm-dd. | Fecha de presentación de la liquidación (desde) |
Presentation_date_to | String con formato aaaa-mm-dd. | Fecha de presentación de la liquidación (hasta) |
Card_brand | String | Marca de la tarjeta. Valores posibles |
Clearing_number | String | Número de liquidación generado por la procesadora. |
establishment_number | String | Número de establecimiento de la liquidación |
info_provider | String | Procesadora de la tarjeta. Valores posibles |
Success response
{
"data": [
{
"id": "1ea6539f-08b4-2g41-9cd1-09e8f1008413",
"payment_date": "2019-01-11",
"presentation_date": "2019-01-07",
"card_brand": "visa",
"number": "94120",
"provider": "visa",
"establishment": "26246893",
"total_amount": {
"amount": 954.9,
"currency": "ARS"
},
"total_deduction": {
"amount": 24.84,
"currency": "ARS"
},
"total_earn": {
"amount": 930.06,
"currency": "ARS"
},
"opening_balance": {
"amount": 0,
"currency": "ARS"
},
"closing_balance": {
"amount": 0,
"currency": "ARS"
},
"version": "3",
"discounts": [
{
"type": "taxation_taxation_iva_21_00",
"amount": 4.31,
"currency": "ARS",
"description": "I.V.A. DEC. 879/92",
"rate": null,
"region": "not_informed"
},
{
"type": "general_cost_arancel",
"amount": 20.53,
"currency": "ARS",
"description": "Arancel",
"rate": null,
"region": "not_informed"
}
],
"created_at": "2019-01-10T17:32:17-03:00",
"balanced": {
"is_balanced": false,
"total_movements_difference": 10.0,
"total_earn_difference": 10.0,
"total_deduction_difference": 0.0
},
"acquiring_bank": {
"id": "00000000-0000-0000-0000-000000000007",
"name": "BBVA"
},
"movements": [
{
"id": "db1b955c-bdf8-450b-9ef5-ad2efc5bb0a6",
"payment_id": "1ea6539f-08b4-2g41-9cd1-09e8f1008413",
"unique_movement_id": "3c1cf9b7-0376-4fc0-874d-504ceac6d5f1:10571",
"presentation_date": "2019-01-07",
"payment_date": "2019-01-11",
"origin_date": "2018-12-04",
"batch": "1",
"coupon_number": "3387",
"authorization_number": "20062",
"terminal_number": null,
"description_code": null,
"card_brand": "visa",
"card_number": "454075**3307",
"installments": "1",
"installment_current": 1,
"amount": 954.9,
"currency": "ARS",
"type": "transaction",
"credit_type": "credit_deferred_financed_by_processor",
"consumption_amount": null,
"discounts": [
{
"type": "general_cost_arancel",
"amount": 20.53,
"currency": "ARS",
"description": "Arancel",
"rate": null,
"region": "not_informed"
}
],
"issuing_bank": {
"id": "00000000-0000-0000-0000-00000000005a",
"name": "BBVABANCOFRANCESS.A."
},
"description": "PROMO CUOTAS",
"original_batch": "123"
}
]
}
],
"current_page": "1",
"per_page": 20,
"total_pages": 2,
"total_elements": 37
}
Obtener un payment específico
GET
https://gateway.increase.app/card/v2/payments/<payment_id>
Headers
Content-Type: application/json
Authorization: Bearer <access_token>
Tenant: <país>
### Parámetros optativos | Tipo | Descripción |
---|---|---|
hide_movements | Boolean | permite obtener las transacciones o no. Si es TRUE entonces no trae los movimientos. |