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 optativosTipoDescripci贸n
PageIntegerIndica la p谩gina a obtener resultados.
per_pageIntegerCantidad de resultados por p谩gina (M谩ximo 40)
hide_movementsBooleanEn TRUE no devuelve los movimientos de la liquidaci贸n
created_at_fromString con formato ISO 8601 como timestampFecha 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_toString con formato ISO 8601 como timestampFecha de creaci贸n en Increase hasta. Se ordena de m谩s reciente a m谩s viejo.
Payment_date_fromString con formato aaaa-mm-dd.Fecha de pago de la liquidaci贸n (desde)
Payment_date_toString con formato aaaa-mm-dd.Fecha de pago de la liquidaci贸n (hasta)
Presentation_date_fromString con formato aaaa-mm-dd.Fecha de presentaci贸n de la liquidaci贸n (desde)
Presentation_date_toString con formato aaaa-mm-dd.Fecha de presentaci贸n de la liquidaci贸n (hasta)
Card_brandStringMarca de la tarjeta. Valores posibles
Clearing_numberStringN煤mero de liquidaci贸n generado por la procesadora.
establishment_numberStringN煤mero de establecimiento de la liquidaci贸n
info_providerStringProcesadora 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."
}
}
]
}
],
"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 optativosTipoDescripci贸n
hide_movementsBooleanpermite obtener las transacciones o no. Si es TRUE entonces no trae los movimientos.