Skip to main content

API Webhook Notification Documentation

This document provides the technical connectivity details of the webhook API that our client must implement for receiving notifications of incoming transactions from SINPE.

As a technical requirement, it is requested that the service be exposed via HTTPS and that TLS 3.1 or higher be implemented. Additionally, it is recommended (but not mandatory) to whitelist the public IP of SOLFIN (provided during implementation).

Endpoint​

  - URL: (To be provided by the client)​

  - Method: POST​

  - Header: apiKey: (To be provided by the client)​


API Request Attributes​


id​

DescriptionTypeExample
Unique identifier for the transaction.number1082

movementType​

DescriptionTypePossible ValuesExample
Type of the movement.stringC - Credit
D - Debit
C

idTransaction​

DescriptionTypeExample
Unique identifier for the transaction in the system.string2024082310283005006122749

ref​

DescriptionTypeExample
Reference code for the transaction.string2024082310283005006122749

transactionType​

DescriptionTypePossible ValuesExample
Type of transaction.number1 - Pagos Inmediatos (PIN)
2 - Débitos en Tiempo Real (DTR)
4 - Cámara de Créditos Directos (CCD)
8 - SINPE Móvil (PMB)
8

description​

DescriptionTypeExample
Description of the transaction.string01-2345-6789 | RAUL_PEREZ | 0 | Sin Descripcion

amount​

DescriptionTypeExample
Amount involved in the transaction.number100

currency​

DescriptionTypePossible ValuesExample
Currency used for the transaction.stringCRC - Costa Rican ColónCRC

accountTo​

DescriptionTypeExample
Destination account number for the transaction.stringCR93084502100000333333

phone​

DescriptionTypeExample
Phone number associated with the transaction.string88888888

sinpeServiceNumber​

DescriptionTypePossible ValuesExample
Service number for SINPE (National Electronic Payment System).string22 - Pagos Inmediatos (PIN)
24 - Débitos en Tiempo Real (DTR)
31 - Cámara de Créditos Directos (CCD)
83 - SINPE Móvil (PMB)
83

createdAt​

DescriptionTypeExample
Timestamp when the transaction was created.string (ISO 8601 format)2024-08-23 15:40:31

updatedAt​

DescriptionTypeExample
Timestamp when the transaction was last updated. null if not updated.string or nullnull

additionalParams​

DescriptionType
Additional parameters related to the transaction in JSON format.string (JSON)

JSON Format for additionalParams​

TypeValue
PMB "CelularOrigen": "", - IF THE TRANSACTION WAS TRIGGERED FROM AN UNAUTHENTICATED CHANNEL (SMS), 0 IF DEFAULT VALUE
"CelularDestino": "", - DESTINATION WALLET WHERE THE INCOMING FUNDS WERE CREDITED
"CodReferenciaCanal": "", - INTERNAL SYSTEM REFERENCE CODE OR SINPE REFERENCE NUMBER
"NomDestino": "", - NAME OF THE DESTINATION WALLET OWNER
"NomOrigen": "", - NAME OF THE ORIGINATOR OF THE TRANSFER
"IdOrigen": "", - ID OF THE ORIGINATOR OF THE TRANSFER
"IdDestino": "", - ID OF THE DESTINATION WALLET OWNER
"TipoTransferencia": "" - INDICATES IF THE TRANSACTION IS INCOMING (2)

Example JSON Request​

{
"id": 1082,
"movementType": "C",
"idTransaction": "2024082310283005006222222",
"ref": "2024082310283005006222222",
"transactionType": 8,
"description": "01-2345-6789 | RAUL_PEREZ | 0 | Sin Descripcion",
"amount": 100,
"currency": "CRC",
"accountTo": "CR59084502100011111111",
"phone": "88888888",
"sinpeServiceNumber": "83",
"createdAt": "2024-08-23 15:40:31",
"updatedAt": null,
"additionalParams": "{\"CelularOrigen\":\"0\",\"CelularDestino\":\"88888888\",\"CodReferenciaCanal\":\"2024082310283005006222222\",\"NomDestino\":\"ABNER TORRES\",\"NomOrigen\":\"RAUL PEREZ \",\"IdOrigen\":\"01-2345-6789\",\"IdDestino\":\"01-9876-5432\",\"TipoTransferencia\":\"2\"}"
}