refacil-pay-mcp 1.1.21 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -18
- package/dist/core/resources.js +5 -5
- package/dist/core/resources.js.map +1 -1
- package/dist/core/tools.js +17 -32
- package/dist/core/tools.js.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -309,7 +309,7 @@ With the following request you can obtain a payment resource with a link that wi
|
|
|
309
309
|
| `amount` | number | ✅ | Value of the payment. |
|
|
310
310
|
| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |
|
|
311
311
|
| `expiresIn` | number | ❌ | Time in minutes for the expiration of the resource or payment link. |
|
|
312
|
-
| `reference1` | string | ✅ | Customer identifier, must be between 1 and
|
|
312
|
+
| `reference1` | string | ✅ | Customer identifier, must be between 1 and 36 characters. |
|
|
313
313
|
| `reference2` | object | ❌ | Object for additional information. |
|
|
314
314
|
| `reference2.Commerce` | object | ❌ | Object for information related to the store or commerce. |
|
|
315
315
|
| `reference2.Data` | object | ❌ | Object for information related to the conciliation of the transaction. |
|
|
@@ -359,7 +359,8 @@ The table below lists the available payment methods along with their correspondi
|
|
|
359
359
|
| `277` | Cash-in via **Whatsapp** | 2,592,000 |
|
|
360
360
|
|
|
361
361
|
> ⚠ **Important:**
|
|
362
|
-
The value provided in the expiresIn field **must be greater than or equal** to the minimum expiration defined for the selected payment method. **This does not apply to dynamic keys, which always expire 5 minutes after creation.**
|
|
362
|
+
The value provided in the expiresIn field **must be greater than or equal** to the minimum expiration defined for the selected payment method. **This does not apply to dynamic keys, which always expire 5 minutes after creation.**
|
|
363
|
+
> For **QR Interoperable (ID 248)**, the `expiresIn` parameter **must be omitted**. If provided, the system will **ignore it automatically**. The resource expiration is managed internally by the provider and is set to the **end of the same day the resource is generated**.
|
|
363
364
|
|
|
364
365
|
|
|
365
366
|
---
|
|
@@ -556,6 +557,11 @@ The **QR Interoperable** operates as an _open resource_, meaning the generated Q
|
|
|
556
557
|
Dynamic QR codes may be scanned multiple times due to current limitations in the Redeban system.
|
|
557
558
|
This is **not** an error in our platform.
|
|
558
559
|
|
|
560
|
+
> 🕐 **Expiration Behavior:**
|
|
561
|
+
The `expiresIn` parameter **does not apply** to this payment method and should be **omitted** from the request.
|
|
562
|
+
If a value is sent, the system will **ignore it automatically**.
|
|
563
|
+
The QR resource expiration is controlled exclusively by the provider (Redeban) and is always set to the **end of the day on which the resource is generated** (23:59:59 America/Bogota).
|
|
564
|
+
|
|
559
565
|
|
|
560
566
|
#### Behavior Details
|
|
561
567
|
|
|
@@ -689,29 +695,36 @@ For this method, the following fields are **required**:
|
|
|
689
695
|
|
|
690
696
|
- `cellphone`
|
|
691
697
|
|
|
692
|
-
- `
|
|
698
|
+
- `whatsappAccountId`
|
|
693
699
|
|
|
694
700
|
|
|
695
|
-
|
|
696
|
-
The value is not arbitrary. The URL must comply with the following so that the document can be sent via WhatsApp:
|
|
697
|
-
|
|
701
|
+
For this method, the following fields are **optional**:
|
|
698
702
|
|
|
699
|
-
-
|
|
700
|
-
|
|
701
|
-
- **Access:** The resource must be **publicly accessible** (no authentication); the system downloads the file from this URL.
|
|
702
|
-
|
|
703
|
-
- **Format:** The file must be a valid **PDF**.
|
|
703
|
+
- `pdfUrl` (must use HTTPS; resource must be publicly accessible without authentication; referenced file must be a valid PDF and not exceed 100 MB)
|
|
704
704
|
|
|
705
|
-
-
|
|
705
|
+
- `templateName`
|
|
706
706
|
|
|
707
707
|
|
|
708
|
-
|
|
708
|
+
> **Note:** By default, collection messages are sent from Refacil's WhatsApp line.
|
|
709
|
+
> To send them from your own line, you must first link your WhatsApp account in the administrative portal and obtain the corresponding `whatsappAccountId`.
|
|
710
|
+
> Once linked, collection messages will be sent from the client's WhatsApp line.
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
| **Field** | **Type** | **Required** | **Description** |
|
|
714
|
+
| --- | --- | --- | --- |
|
|
715
|
+
| `id` | number | ✅ | Payment method ID: 277 |
|
|
716
|
+
| `cellphone` | string | ✅ | Customer phone number in local or international format. |
|
|
717
|
+
| `pdfUrl` | string | ❌ | Public HTTPS URL to the PDF document to be delivered via WhatsApp. |
|
|
718
|
+
| `whatsappAccountId` | string | ✅ | Identifier of the linked WhatsApp account configured in the administrative portal. |
|
|
719
|
+
| `templateName` | string | ❌ | Optional template name configured for WhatsApp message delivery. |
|
|
709
720
|
|
|
710
721
|
``` json
|
|
711
722
|
"paymentMethod": {
|
|
712
|
-
"id": 277,
|
|
713
|
-
"cellphone": "string",
|
|
714
|
-
"pdfUrl": "string"
|
|
723
|
+
"id": 277, // required
|
|
724
|
+
"cellphone": "string", // required
|
|
725
|
+
"pdfUrl": "string", // optional
|
|
726
|
+
"whatsappAccountId": "string", // required
|
|
727
|
+
"templateName": "string" // optional
|
|
715
728
|
}
|
|
716
729
|
|
|
717
730
|
```
|
|
@@ -722,10 +735,10 @@ Sending a URL that does not meet these requirements may result in rejection or d
|
|
|
722
735
|
| --- | --- | --- | --- |
|
|
723
736
|
| `amount` | number | ✅ | Value of the payment. |
|
|
724
737
|
| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |
|
|
725
|
-
| `expiresIn` | number | ❌ | Time in seconds for the expiration of the resource or payment link. |
|
|
738
|
+
| `expiresIn` | number | ❌ | Time in seconds for the expiration of the resource or payment link. Not applicable for **QR Interoperable (ID 248)** — if provided, the system ignores it and sets expiration to end of day. |
|
|
726
739
|
| `paymentMethod` | object | ✅ | Object specifying the payment method and its details. |
|
|
727
740
|
| `paymentMethod.id` | number | ✅ | ID of the selected payment method (see available payment methods). |
|
|
728
|
-
| `reference1` | string | ✅ | Customer identifier, must be between 1 and
|
|
741
|
+
| `reference1` | string | ✅ | Customer identifier, must be between 1 and 36 characters. |
|
|
729
742
|
| `reference2` | object | ❌ | Object for additional information. |
|
|
730
743
|
| `reference2.Commerce` | object | ❌ | Object for information related to the store or commerce. |
|
|
731
744
|
| `reference2.Data` | object | ❌ | Object for information related to the conciliation of the transaction. |
|
|
@@ -742,6 +755,7 @@ Sending a URL that does not meet these requirements may result in rejection or d
|
|
|
742
755
|
|
|
743
756
|
| Name | Type | Description |
|
|
744
757
|
| --- | --- | --- |
|
|
758
|
+
| body | string | Body del request |
|
|
745
759
|
| expiresIn | number | Campo del body: expiresIn |
|
|
746
760
|
| paymentMethod | object | Campo del body: paymentMethod |
|
|
747
761
|
| userMetadata | object | Campo del body: userMetadata |
|
package/dist/core/resources.js
CHANGED
|
@@ -44,7 +44,7 @@ export const resources = [
|
|
|
44
44
|
"name": "Payment Link - Documentation",
|
|
45
45
|
"description": "With the following request you can obtain a payment resource with a link that will redirect your customer to the payment gateway where he will see a list of the different payment methods available.",
|
|
46
46
|
"mimeType": "text/markdown",
|
|
47
|
-
"content": "# Payment Link\n\nWith the following request you can obtain a payment resource with a link that will redirect your customer to the payment gateway where he will see a list of the different payment methods available.\n\n## Endpoints\n\n### Generate payment link\n\n**Method**: `POST`\n\n**Path**: `/cash-in/generate/payment-link/token`\n\n## 📥 Request Body Parameters\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `amount` | number | ✅ | Value of the payment. |\n| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |\n| `expiresIn` | number | ❌ | Time in minutes for the expiration of the resource or payment link. |\n| `reference1` | string | ✅ | Customer identifier, must be between 1 and
|
|
47
|
+
"content": "# Payment Link\n\nWith the following request you can obtain a payment resource with a link that will redirect your customer to the payment gateway where he will see a list of the different payment methods available.\n\n## Endpoints\n\n### Generate payment link\n\n**Method**: `POST`\n\n**Path**: `/cash-in/generate/payment-link/token`\n\n## 📥 Request Body Parameters\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `amount` | number | ✅ | Value of the payment. |\n| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |\n| `expiresIn` | number | ❌ | Time in minutes for the expiration of the resource or payment link. |\n| `reference1` | string | ✅ | Customer identifier, must be between 1 and 36 characters. |\n| `reference2` | object | ❌ | Object for additional information. |\n| `reference2.Commerce` | object | ❌ | Object for information related to the store or commerce. |\n| `reference2.Data` | object | ❌ | Object for information related to the conciliation of the transaction. |\n| `reference2.Label` | object | ❌ | Object to send information to be displayed in the payment summary. |\n| `returnUrl` | string | ❌ | Link that the customer will see when clicking on the back to commerce button. |\n| `showSummary` | boolean | ❌ | Indicates whether the RefácilPay payment summary will be shown or not (false: do not show, true: show). Default: true. |\n| `userMetadata` | object | ✅ | Object containing key details about the user or merchant generating the payment resource. |\n| `userMetadata.identifier` | string | ✅ | Unique identifier of the user or merchant generating the payment resource (max 36 characters). |\n| `userMetadata.ip` | string | ✅ | IP address associated with the user's identifier. Must be a valid IP address. |\n| `userMetadata.urlCommerce` | string | ✅ | URL that identifies the commerce. Must follow valid URL structure with http:// or https:// protocol. Maximum length: 500 characters. |\n| `webhookUrl` | string | ✅ | URL of the client's webhook to receive real-time payment status updates. |\n\n"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"uri": "postman://collection/refacil-pay-api/folder/withdraw",
|
|
@@ -126,16 +126,16 @@ export const resources = [
|
|
|
126
126
|
{
|
|
127
127
|
"uri": "postman://collection/refacil-pay-api/endpoint/post/cash-in/generate/payment-link/token",
|
|
128
128
|
"name": "POST /cash-in/generate/payment-link/token - Endpoint Documentation",
|
|
129
|
-
"description": "## 📥 Request Body Parameters\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `amount` | number | ✅ | Value of the payment. |\n| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |\n| `expiresIn` | number | ❌ | Time in minutes for the expiration of the resource or payment link. |\n| `reference1` | string | ✅ | Customer identifier, must be between 1 and
|
|
129
|
+
"description": "## 📥 Request Body Parameters\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `amount` | number | ✅ | Value of the payment. |\n| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |\n| `expiresIn` | number | ❌ | Time in minutes for the expiration of the resource or payment link. |\n| `reference1` | string | ✅ | Customer identifier, must be between 1 and 36 characters. |\n| `reference2` | object | ❌ | Object for additional information. |\n| `reference2.Commerce` | object | ❌ | Object for information related to the store or commerce. |\n| `reference2.Data` | object | ❌ | Object for information related to the conciliation of the transaction. |\n| `reference2.Label` | object | ❌ | Object to send information to be displayed in the payment summary. |\n| `returnUrl` | string | ❌ | Link that the customer will see when clicking on the back to commerce button. |\n| `showSummary` | boolean | ❌ | Indicates whether the RefácilPay payment summary will be shown or not (false: do not show, true: show). Default: true. |\n| `userMetadata` | object | ✅ | Object containing key details about the user or merchant generating the payment resource. |\n| `userMetadata.identifier` | string | ✅ | Unique identifier of the user or merchant generating the payment resource (max 36 characters). |\n| `userMetadata.ip` | string | ✅ | IP address associated with the user's identifier. Must be a valid IP address. |\n| `userMetadata.urlCommerce` | string | ✅ | URL that identifies the commerce. Must follow valid URL structure with http:// or https:// protocol. Maximum length: 500 characters. |\n| `webhookUrl` | string | ✅ | URL of the client's webhook to receive real-time payment status updates. |",
|
|
130
130
|
"mimeType": "text/markdown",
|
|
131
|
-
"content": "# Generate payment link\n\n## Request Details\n\n**Method**: `POST`\n\n**Path**: `/cash-in/generate/payment-link/token`\n\n## Description\n\n## 📥 Request Body Parameters\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `amount` | number | ✅ | Value of the payment. |\n| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |\n| `expiresIn` | number | ❌ | Time in minutes for the expiration of the resource or payment link. |\n| `reference1` | string | ✅ | Customer identifier, must be between 1 and
|
|
131
|
+
"content": "# Generate payment link\n\n## Request Details\n\n**Method**: `POST`\n\n**Path**: `/cash-in/generate/payment-link/token`\n\n## Description\n\n## 📥 Request Body Parameters\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `amount` | number | ✅ | Value of the payment. |\n| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |\n| `expiresIn` | number | ❌ | Time in minutes for the expiration of the resource or payment link. |\n| `reference1` | string | ✅ | Customer identifier, must be between 1 and 36 characters. |\n| `reference2` | object | ❌ | Object for additional information. |\n| `reference2.Commerce` | object | ❌ | Object for information related to the store or commerce. |\n| `reference2.Data` | object | ❌ | Object for information related to the conciliation of the transaction. |\n| `reference2.Label` | object | ❌ | Object to send information to be displayed in the payment summary. |\n| `returnUrl` | string | ❌ | Link that the customer will see when clicking on the back to commerce button. |\n| `showSummary` | boolean | ❌ | Indicates whether the RefácilPay payment summary will be shown or not (false: do not show, true: show). Default: true. |\n| `userMetadata` | object | ✅ | Object containing key details about the user or merchant generating the payment resource. |\n| `userMetadata.identifier` | string | ✅ | Unique identifier of the user or merchant generating the payment resource (max 36 characters). |\n| `userMetadata.ip` | string | ✅ | IP address associated with the user's identifier. Must be a valid IP address. |\n| `userMetadata.urlCommerce` | string | ✅ | URL that identifies the commerce. Must follow valid URL structure with http:// or https:// protocol. Maximum length: 500 characters. |\n| `webhookUrl` | string | ✅ | URL of the client's webhook to receive real-time payment status updates. |\n\n## Headers\n\n- **Content-Type**: application/json\n- **x-transaction-token**: transactionalToken\n- **Authorization**: Bearer tokenLogin\n\n## Request Body\n\n**Type**: `raw`\n\n```json\n{\n \"expiresIn\": 12360,\n \"amount\": 2000,\n \"brandId\": 117,\n \"webhookUrl\": \"https://webhook.site/8965aa0a-e3e7-4092-aa7d-6c44bf63f7a8\",\n \"userMetadata\": {\n \"ip\": \"1.2.3.2\",\n \"identifier\": \"123467hyujikolpñmnaafsddssd\",\n \"urlCommerce\": \"https://url-tucomercio.com\"\n },\n \"returnUrl\": \"https://www.google.com\",\n \"reference1\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"reference2\": {\n \"Label\": {\n \"Name\": \"Juanita Perez\",\n \"Email\": \"pqacLO87V77DgF62P8PXENA==do\",\n \"CellPhone\": \"1VM6daPPJcXCD4Cw93272oQ==8\",\n \"Type Person\": \"NATURAL\",\n \"Type Document\": \"CEDULA\",\n \"DocumentNumber\": 79706920,\n \"Nodo\": 47474\n },\n \"Data\": {\n \"Typedoc\": \"cedula\",\n \"docnum\": \"1088307172\"\n }\n }\n}\n```\n\n\n\n> Nota MCP: Los nombres de variables que ves en esta documentación provienen de variables de Postman (por ejemplo `token`, `lastCartId`, `lastRequestId`, etc.). En el MCP estas variables se manejan internamente por la configuración del servidor o por herramientas previas; no uses la sintaxis `{{variable}}` ni envíes esos nombres literalmente en las llamadas de herramientas."
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"uri": "postman://collection/refacil-pay-api/endpoint/post/cash-in/generate/payment-method/token",
|
|
135
135
|
"name": "POST /cash-in/generate/payment-method/token - Endpoint Documentation",
|
|
136
|
-
"description": "This endpoint allows you to **generate payment requests** through the available _cash-in_ methods.\n\n---\n\n### 💡 Overview\n\nThe table below lists the available payment methods along with their corresponding IDs and **minimum expiration times** (`expiresIn`) required when creating a payment request.\n\n| **Method ID** | **Description** | **Minimum Expiration (seconds)** |\n| --- | --- | --- |\n| `130` | Cash-in via **Nequi** | 43,200 |\n| `131` | Cash-in via **Daviplata** | 43,200 |\n| `133` | Cash-in via **PSE** | 1,800 |\n| `262` | Cash-in via **PSE Gateway** | 1,800 |\n| `153` | Cash-in via **Recaudo Efectivo** | 86,400 |\n| `163` | Cash-in via **TPaga** | 43,200 |\n| `248` | Cash-in via **QR Interoperable** | N/A |\n| `250` | Cash-in via **Llaves Bre-B** | 300 |\n| `273` | Cash-in via **Tarjetas** (Débito y Crédito) | 3,600 |\n| `277` | Cash-in via **Whatsapp** | 2,592,000 |\n\n> ⚠ **Important:** \nThe value provided in the expiresIn field **must be greater than or equal** to the minimum expiration defined for the selected payment method. **This does not apply to dynamic keys, which always expire 5 minutes after creation.** \n \n\n---\n\n## 🧩 Payment Method Details\n\nEach payment method requires a specific object structure within the `\"paymentMethod\"` field.\n\n---\n\n### **Nequi**\n\n``` json\n\"paymentMethod\": {\n \"id\": 130,\n \"cellphone\": \"3105293225\"\n}\n\n ```\n\n---\n\n### **Daviplata**\n\n``` json\n\"paymentMethod\": {\n \"id\": 131,\n \"cellphone\": \"3208385715\"\n}\n\n ```\n\n---\n\n### **PSE**\n\nFor this payment method, depending on the `typePerson` selected, only specific document types are accepted:\n\n- **`typePerson`****:** **`\"0\"`** → corresponds to a **Natural Person** and only accepts the following values for `documentType`:\n \n - `RCN`\n \n - `TI`\n \n - `CC`\n \n - `TE`\n \n - `CE`\n \n - `PA`\n \n - `DIE`\n \n- **`typePerson`****:** **`\"1\"`** → corresponds to a **Legal Person** and only accepts the following value for `documentType`:\n \n - `NIT`\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 133,\n \"documentType\": \"CC\",\n \"typePerson\": \"0\",\n \"bankId\": \"string\",\n \"documentNumber\": \"string\",\n \"name\": \"string\",\n \"cellphone\": \"string\",\n \"address\": \"string\",\n \"email\": \"string\"\n}\n\n ```\n\n---\n\n### **PSE Gateway**\n\nThis payment method enables direct integration with the PSE network for processing online bank payments. \nTo consume this product, it is required to have the following parameters previously configured and associated with your product:\n\n- `entity_code`\n \n- `service_code`\n \n- `company_ciiu`\n \n- `company_name`\n \n\nThese parameters identify your company within the PSE network and are necessary for successful transaction routing and validation.\n\n> 💬 **For more information or to request these credentials, please contact the support team.** \n \n\nThis method follows **the same structure and validation rules** as **PSE**, but must use the following identifier:\n\n``` json\n\"paymentMethod\": {\n \"id\": 262,\n \"documentType\": \"CC\",\n \"typePerson\": \"0\",\n \"bankId\": \"string\",\n \"documentNumber\": \"string\",\n \"name\": \"string\",\n \"cellphone\": \"string\",\n \"address\": \"string\",\n \"email\": \"string\"\n}\n\n ```\n\nThe **PSE integration** relies heavily on the correct configuration of the `showSummary` and `returnUrl` parameters. \nThese parameters control the **user experience** and the **finalization flow** of the payment process.\n\n| Scenario | `showSummary` | `returnUrl` | Flow Description |\n| --- | --- | --- | --- |\n| **1\\. Standard Redirect (Default)** | `true` or not sent | ✅ Present | Displays a transaction summary screen with key payment details and retrieves the final transaction status. After the payment is completed, the user is redirected to the specified `returnUrl`. |\n| **2\\. Without Transaction Summary Screen** | `false` | ✅ Present | Skips the transaction summary screen and redirects the user directly to the `returnUrl`. In this case, the merchant’s system must display the transaction summary on the destination page. |\n\n> ⚠️ **Note:** \nFor **PSE** and **PSE Gateway**, it is **strongly recommended** to use `showSummary: true` along with a valid `returnUrl` to ensure a seamless customer experience and accurate transaction tracking. \n \n> 🔗 **See also:** \n \n\n- [Transaction Summary](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#45e0d76a-fabd-442e-9b17-e2f6b8354ec5)\n \n- [Transaction Status](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#dd3ba9f5-1f10-4109-b59d-6e5aad5e3799)\n \n\n---\n\n### **Recaudo Efectivo**\n\n``` json\n\"paymentMethod\": {\n \"id\": 153\n}\n\n ```\n\n---\n\n### **TPaga**\n\nThis payment method supports an optional parameter called `isQr`, which determines the type of resource returned in the `url` field:\n\n| **Value** | **Description** |\n| --- | --- |\n| `true` | The `url` field returns a link to a **QR code** displaying transaction details. |\n| `false` | The `url` field returns a **deeplink** to open directly in the TPAGA wallet app. |\n\n> 🧠 **Behavior:** \nIf `isQr` is not provided, the default behavior is equivalent to `isQr: false`. \nTransactions can only be completed **from a mobile device**. \nIf the request is made from a desktop or tablet, it is recommended to send `isQr: true` so the user can scan the QR from a mobile device. \n \n\n``` json\n\"paymentMethod\": {\n \"id\": 163,\n \"isQr\": false\n}\n\n ```\n\n---\n\n### **QR Interoperable**\n\nFor this method, the following fields are **optional**:\n\n- `cellphone`\n \n- `documentNumber`\n \n- `documentType`\n \n- `merchantId`\n \n\nThe service can function using only the payment method ID; however, providing these optional fields can **improve response time**. \nYou may retrieve this data through the `enrollment-data` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\n\n> ⚠ **Prerequisite:** \nThe merchant must complete the **Merchant Enrollment** process before using this method. \nSee the _Merchant Enrollment_ section for setup details. \n \n> 🔁 **Open Resource:** \nThe **QR Interoperable** operates as an _open resource_, meaning the generated QR can be used multiple times by the same user. \n \n> ⚙️ **Technical Note — Dynamic QR Behavior:** \nDynamic QR codes may be scanned multiple times due to current limitations in the Redeban system. \nThis is **not** an error in our platform. \n \n\n#### Behavior Details\n\n- Redeban does not automatically invalidate a dynamic QR after its first scan.\n \n- As a result, the same QR may generate multiple transaction records.\n \n\n#### Recommendations\n\n- Implement **application-level validation** to detect multiple payments from the same QR code.\n \n- Monitor dynamic QR transactions and confirm status before marking payments as completed.\n \n- Inform end-users to verify the success of a transaction before rescanning.\n \n\n#### Future Considerations\n\n- Redeban is evaluating support for **single-use dynamic QR control**.\n \n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 248,\n \"cellphone\": \"string\",\n \"documentType\": \"string\",\n \"documentNumber\": \"string\",\n \"merchantId\": \"string\"\n}\n\n ```\n\n---\n\n### **Llaves** Dinámicas **Bre-B**\n\nFor this method, the following fields are **required**:\n\n- `cellphone`\n \n- `docNumber`\n \n- `docType`\n \n- `merchantId`\n \n\nYou may retrieve this data through the `enrollment-data` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\n\n> ⚠ **Prerequisite:** \nThe merchant must complete the **Merchant Enrollment** process before using this method. \nSee the _Merchant Enrollment_ section for setup details. \n \n> 🔁 **Open Resource:** \nThe **Llaves Dinamicas Bre-B** operates as an _open resource_, meaning the generated KEY can be used multiple times by the same user. \n \n> ⚙️ **Technical Note — Dynamic Key Behavior:** \nDynamic keys may receive multiple money transfers due to current limitations in the Redeban system. \nThis behavior does not represent an error or malfunction in our platform. \n**Additionally, dynamic keys have a fixed validity period of 5 minutes, and this duration cannot be modified.** \n \n\n#### Behavior Details\n\n- Redeban does not automatically invalidate a dynamic KEY after its first send.\n \n- As a result, the same KEY may generate multiple transaction records.\n \n\n#### Recommendations\n\n- Implement **application-level validation** to detect multiple payments from the same KEY.\n \n- Monitor dynamic KEY transactions and confirm status before marking payments as completed.\n \n- Inform end-users to verify the success of a transaction before rescanning.\n \n\n#### Future Considerations\n\n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 250,\n \"cellphone\": \"string\",\n \"docType\": \"string\",\n \"docNumber\": \"string\",\n \"merchantId\": \"string\"\n}\n\n ```\n\n---\n\n### **Card Payments**\n\nThis payment method allows processing payments with debit and credit cards (Mastercard and Visa).\n\nFor this method, the following fields are **required**:\n\n- `id`: 273\n \n- `description`: Description of the payment detail that will be displayed in the payment link\n \n\n#### PaymentMethod Parameters\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `id` | number | ✅ | Payment method ID: 273 |\n| `description` | string | ✅ | Description of the payment detail that will be displayed in the payment link |\n\n``` json\n\"paymentMethod\": {\n \"id\": 273,\n \"description\": \"string\"\n}\n\n ```\n\n---\n\n### **Whatsapp**\n\nFor this method, the following fields are **required**:\n\n- `cellphone`\n \n- `pdfUrl`\n \n\n> **pdfUrl — URL standards (Meta/WhatsApp):** \nThe value is not arbitrary. The URL must comply with the following so that the document can be sent via WhatsApp: \n \n\n- **Protocol:** Must be **HTTPS**.\n \n- **Access:** The resource must be **publicly accessible** (no authentication); the system downloads the file from this URL.\n \n- **Format:** The file must be a valid **PDF**.\n \n- **Size:** Document size must not exceed **100 MB** (WhatsApp Cloud API limit for documents).\n \n\nSending a URL that does not meet these requirements may result in rejection or delivery failure.\n\n``` json\n\"paymentMethod\": {\n \"id\": 277,\n \"cellphone\": \"string\",\n \"pdfUrl\": \"string\"\n}\n\n ```\n\n<h2>📥 Request Body Parameters</h2>\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `amount` | number | ✅ | Value of the payment. |\n| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |\n| `expiresIn` | number | ❌ | Time in seconds for the expiration of the resource or payment link. |\n| `paymentMethod` | object | ✅ | Object specifying the payment method and its details. |\n| `paymentMethod.id` | number | ✅ | ID of the selected payment method (see available payment methods). |\n| `reference1` | string | ✅ | Customer identifier, must be between 1 and 30 characters. |\n| `reference2` | object | ❌ | Object for additional information. |\n| `reference2.Commerce` | object | ❌ | Object for information related to the store or commerce. |\n| `reference2.Data` | object | ❌ | Object for information related to the conciliation of the transaction. |\n| `reference2.Label` | object | ❌ | Object to send information to be displayed in the payment summary. |\n| `returnUrl` | string | ❌ | Link that the customer will see when clicking on the back to commerce button. |\n| `showSummary` | boolean | ❌ | Indicates whether the RefácilPay payment summary will be shown or not (false: do not show, true: show). Default: true. |\n| `userMetadata` | object | ✅ | Object containing key details about the user or merchant generating the payment resource. |\n| `userMetadata.identifier` | string | ✅ | Unique identifier of the user or merchant generating the payment resource (max 36 characters). |\n| `userMetadata.ip` | string | ✅ | IP address associated with the user's identifier. Must be a valid IP address. |\n| `userMetadata.urlCommerce` | string | ✅ | URL that identifies the commerce. Must follow valid URL structure with http:// or https:// protocol. Maximum length: 500 characters. |\n| `webhookUrl` | string | ✅ | URL of the client's webhook to receive real-time payment status updates. |",
|
|
136
|
+
"description": "This endpoint allows you to **generate payment requests** through the available _cash-in_ methods.\n\n---\n\n### 💡 Overview\n\nThe table below lists the available payment methods along with their corresponding IDs and **minimum expiration times** (`expiresIn`) required when creating a payment request.\n\n| **Method ID** | **Description** | **Minimum Expiration (seconds)** |\n| --- | --- | --- |\n| `130` | Cash-in via **Nequi** | 43,200 |\n| `131` | Cash-in via **Daviplata** | 43,200 |\n| `133` | Cash-in via **PSE** | 1,800 |\n| `262` | Cash-in via **PSE Gateway** | 1,800 |\n| `153` | Cash-in via **Recaudo Efectivo** | 86,400 |\n| `163` | Cash-in via **TPaga** | 43,200 |\n| `248` | Cash-in via **QR Interoperable** | N/A |\n| `250` | Cash-in via **Llaves Bre-B** | 300 |\n| `273` | Cash-in via **Tarjetas** (Débito y Crédito) | 3,600 |\n| `277` | Cash-in via **Whatsapp** | 2,592,000 |\n\n> ⚠ **Important:** \nThe value provided in the expiresIn field **must be greater than or equal** to the minimum expiration defined for the selected payment method. **This does not apply to dynamic keys, which always expire 5 minutes after creation.** \n> For **QR Interoperable (ID 248)**, the `expiresIn` parameter **must be omitted**. If provided, the system will **ignore it automatically**. The resource expiration is managed internally by the provider and is set to the **end of the same day the resource is generated**. \n \n\n---\n\n## 🧩 Payment Method Details\n\nEach payment method requires a specific object structure within the `\"paymentMethod\"` field.\n\n---\n\n### **Nequi**\n\n``` json\n\"paymentMethod\": {\n \"id\": 130,\n \"cellphone\": \"3105293225\"\n}\n\n ```\n\n---\n\n### **Daviplata**\n\n``` json\n\"paymentMethod\": {\n \"id\": 131,\n \"cellphone\": \"3208385715\"\n}\n\n ```\n\n---\n\n### **PSE**\n\nFor this payment method, depending on the `typePerson` selected, only specific document types are accepted:\n\n- **`typePerson`****:** **`\"0\"`** → corresponds to a **Natural Person** and only accepts the following values for `documentType`:\n \n - `RCN`\n \n - `TI`\n \n - `CC`\n \n - `TE`\n \n - `CE`\n \n - `PA`\n \n - `DIE`\n \n- **`typePerson`****:** **`\"1\"`** → corresponds to a **Legal Person** and only accepts the following value for `documentType`:\n \n - `NIT`\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 133,\n \"documentType\": \"CC\",\n \"typePerson\": \"0\",\n \"bankId\": \"string\",\n \"documentNumber\": \"string\",\n \"name\": \"string\",\n \"cellphone\": \"string\",\n \"address\": \"string\",\n \"email\": \"string\"\n}\n\n ```\n\n---\n\n### **PSE Gateway**\n\nThis payment method enables direct integration with the PSE network for processing online bank payments. \nTo consume this product, it is required to have the following parameters previously configured and associated with your product:\n\n- `entity_code`\n \n- `service_code`\n \n- `company_ciiu`\n \n- `company_name`\n \n\nThese parameters identify your company within the PSE network and are necessary for successful transaction routing and validation.\n\n> 💬 **For more information or to request these credentials, please contact the support team.** \n \n\nThis method follows **the same structure and validation rules** as **PSE**, but must use the following identifier:\n\n``` json\n\"paymentMethod\": {\n \"id\": 262,\n \"documentType\": \"CC\",\n \"typePerson\": \"0\",\n \"bankId\": \"string\",\n \"documentNumber\": \"string\",\n \"name\": \"string\",\n \"cellphone\": \"string\",\n \"address\": \"string\",\n \"email\": \"string\"\n}\n\n ```\n\nThe **PSE integration** relies heavily on the correct configuration of the `showSummary` and `returnUrl` parameters. \nThese parameters control the **user experience** and the **finalization flow** of the payment process.\n\n| Scenario | `showSummary` | `returnUrl` | Flow Description |\n| --- | --- | --- | --- |\n| **1\\. Standard Redirect (Default)** | `true` or not sent | ✅ Present | Displays a transaction summary screen with key payment details and retrieves the final transaction status. After the payment is completed, the user is redirected to the specified `returnUrl`. |\n| **2\\. Without Transaction Summary Screen** | `false` | ✅ Present | Skips the transaction summary screen and redirects the user directly to the `returnUrl`. In this case, the merchant’s system must display the transaction summary on the destination page. |\n\n> ⚠️ **Note:** \nFor **PSE** and **PSE Gateway**, it is **strongly recommended** to use `showSummary: true` along with a valid `returnUrl` to ensure a seamless customer experience and accurate transaction tracking. \n \n> 🔗 **See also:** \n \n\n- [Transaction Summary](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#45e0d76a-fabd-442e-9b17-e2f6b8354ec5)\n \n- [Transaction Status](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#dd3ba9f5-1f10-4109-b59d-6e5aad5e3799)\n \n\n---\n\n### **Recaudo Efectivo**\n\n``` json\n\"paymentMethod\": {\n \"id\": 153\n}\n\n ```\n\n---\n\n### **TPaga**\n\nThis payment method supports an optional parameter called `isQr`, which determines the type of resource returned in the `url` field:\n\n| **Value** | **Description** |\n| --- | --- |\n| `true` | The `url` field returns a link to a **QR code** displaying transaction details. |\n| `false` | The `url` field returns a **deeplink** to open directly in the TPAGA wallet app. |\n\n> 🧠 **Behavior:** \nIf `isQr` is not provided, the default behavior is equivalent to `isQr: false`. \nTransactions can only be completed **from a mobile device**. \nIf the request is made from a desktop or tablet, it is recommended to send `isQr: true` so the user can scan the QR from a mobile device. \n \n\n``` json\n\"paymentMethod\": {\n \"id\": 163,\n \"isQr\": false\n}\n\n ```\n\n---\n\n### **QR Interoperable**\n\nFor this method, the following fields are **optional**:\n\n- `cellphone`\n \n- `documentNumber`\n \n- `documentType`\n \n- `merchantId`\n \n\nThe service can function using only the payment method ID; however, providing these optional fields can **improve response time**. \nYou may retrieve this data through the `enrollment-data` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\n\n> ⚠ **Prerequisite:** \nThe merchant must complete the **Merchant Enrollment** process before using this method. \nSee the _Merchant Enrollment_ section for setup details. \n \n> 🔁 **Open Resource:** \nThe **QR Interoperable** operates as an _open resource_, meaning the generated QR can be used multiple times by the same user. \n \n> ⚙️ **Technical Note — Dynamic QR Behavior:** \nDynamic QR codes may be scanned multiple times due to current limitations in the Redeban system. \nThis is **not** an error in our platform. \n \n> 🕐 **Expiration Behavior:** \nThe `expiresIn` parameter **does not apply** to this payment method and should be **omitted** from the request. \nIf a value is sent, the system will **ignore it automatically**. \nThe QR resource expiration is controlled exclusively by the provider (Redeban) and is always set to the **end of the day on which the resource is generated** (23:59:59 America/Bogota). \n \n\n#### Behavior Details\n\n- Redeban does not automatically invalidate a dynamic QR after its first scan.\n \n- As a result, the same QR may generate multiple transaction records.\n \n\n#### Recommendations\n\n- Implement **application-level validation** to detect multiple payments from the same QR code.\n \n- Monitor dynamic QR transactions and confirm status before marking payments as completed.\n \n- Inform end-users to verify the success of a transaction before rescanning.\n \n\n#### Future Considerations\n\n- Redeban is evaluating support for **single-use dynamic QR control**.\n \n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 248,\n \"cellphone\": \"string\",\n \"documentType\": \"string\",\n \"documentNumber\": \"string\",\n \"merchantId\": \"string\"\n}\n\n ```\n\n---\n\n### **Llaves** Dinámicas **Bre-B**\n\nFor this method, the following fields are **required**:\n\n- `cellphone`\n \n- `docNumber`\n \n- `docType`\n \n- `merchantId`\n \n\nYou may retrieve this data through the `enrollment-data` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\n\n> ⚠ **Prerequisite:** \nThe merchant must complete the **Merchant Enrollment** process before using this method. \nSee the _Merchant Enrollment_ section for setup details. \n \n> 🔁 **Open Resource:** \nThe **Llaves Dinamicas Bre-B** operates as an _open resource_, meaning the generated KEY can be used multiple times by the same user. \n \n> ⚙️ **Technical Note — Dynamic Key Behavior:** \nDynamic keys may receive multiple money transfers due to current limitations in the Redeban system. \nThis behavior does not represent an error or malfunction in our platform. \n**Additionally, dynamic keys have a fixed validity period of 5 minutes, and this duration cannot be modified.** \n \n\n#### Behavior Details\n\n- Redeban does not automatically invalidate a dynamic KEY after its first send.\n \n- As a result, the same KEY may generate multiple transaction records.\n \n\n#### Recommendations\n\n- Implement **application-level validation** to detect multiple payments from the same KEY.\n \n- Monitor dynamic KEY transactions and confirm status before marking payments as completed.\n \n- Inform end-users to verify the success of a transaction before rescanning.\n \n\n#### Future Considerations\n\n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 250,\n \"cellphone\": \"string\",\n \"docType\": \"string\",\n \"docNumber\": \"string\",\n \"merchantId\": \"string\"\n}\n\n ```\n\n---\n\n### **Card Payments**\n\nThis payment method allows processing payments with debit and credit cards (Mastercard and Visa).\n\nFor this method, the following fields are **required**:\n\n- `id`: 273\n \n- `description`: Description of the payment detail that will be displayed in the payment link\n \n\n#### PaymentMethod Parameters\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `id` | number | ✅ | Payment method ID: 273 |\n| `description` | string | ✅ | Description of the payment detail that will be displayed in the payment link |\n\n``` json\n\"paymentMethod\": {\n \"id\": 273,\n \"description\": \"string\"\n}\n\n ```\n\n---\n\n### **Whatsapp**\n\nFor this method, the following fields are **required**:\n\n- `cellphone`\n \n- `whatsappAccountId`\n \n\nFor this method, the following fields are **optional**:\n\n- `pdfUrl` (must use HTTPS; resource must be publicly accessible without authentication; referenced file must be a valid PDF and not exceed 100 MB)\n \n- `templateName`\n \n\n> **Note:** By default, collection messages are sent from Refacil's WhatsApp line. \n> To send them from your own line, you must first link your WhatsApp account in the administrative portal and obtain the corresponding `whatsappAccountId`. \n> Once linked, collection messages will be sent from the client's WhatsApp line.\n\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `id` | number | ✅ | Payment method ID: 277 |\n| `cellphone` | string | ✅ | Customer phone number in local or international format. |\n| `pdfUrl` | string | ❌ | Public HTTPS URL to the PDF document to be delivered via WhatsApp. |\n| `whatsappAccountId` | string | ✅ | Identifier of the linked WhatsApp account configured in the administrative portal. |\n| `templateName` | string | ❌ | Optional template name configured for WhatsApp message delivery. |\n\n``` json\n\"paymentMethod\": {\n \"id\": 277, // required\n \"cellphone\": \"string\", // required\n \"pdfUrl\": \"string\", // optional\n \"whatsappAccountId\": \"string\", // required\n \"templateName\": \"string\" // optional\n}\n\n ```\n\n<h2>📥 Request Body Parameters</h2>\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `amount` | number | ✅ | Value of the payment. |\n| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |\n| `expiresIn` | number | ❌ | Time in seconds for the expiration of the resource or payment link. Not applicable for **QR Interoperable (ID 248)** — if provided, the system ignores it and sets expiration to end of day. |\n| `paymentMethod` | object | ✅ | Object specifying the payment method and its details. |\n| `paymentMethod.id` | number | ✅ | ID of the selected payment method (see available payment methods). |\n| `reference1` | string | ✅ | Customer identifier, must be between 1 and 36 characters. |\n| `reference2` | object | ❌ | Object for additional information. |\n| `reference2.Commerce` | object | ❌ | Object for information related to the store or commerce. |\n| `reference2.Data` | object | ❌ | Object for information related to the conciliation of the transaction. |\n| `reference2.Label` | object | ❌ | Object to send information to be displayed in the payment summary. |\n| `returnUrl` | string | ❌ | Link that the customer will see when clicking on the back to commerce button. |\n| `showSummary` | boolean | ❌ | Indicates whether the RefácilPay payment summary will be shown or not (false: do not show, true: show). Default: true. |\n| `userMetadata` | object | ✅ | Object containing key details about the user or merchant generating the payment resource. |\n| `userMetadata.identifier` | string | ✅ | Unique identifier of the user or merchant generating the payment resource (max 36 characters). |\n| `userMetadata.ip` | string | ✅ | IP address associated with the user's identifier. Must be a valid IP address. |\n| `userMetadata.urlCommerce` | string | ✅ | URL that identifies the commerce. Must follow valid URL structure with http:// or https:// protocol. Maximum length: 500 characters. |\n| `webhookUrl` | string | ✅ | URL of the client's webhook to receive real-time payment status updates. |",
|
|
137
137
|
"mimeType": "text/markdown",
|
|
138
|
-
"content": "# Generate payment method\n\n## Request Details\n\n**Method**: `POST`\n\n**Path**: `/cash-in/generate/payment-method/token`\n\n## Description\n\nThis endpoint allows you to **generate payment requests** through the available _cash-in_ methods.\n\n---\n\n### 💡 Overview\n\nThe table below lists the available payment methods along with their corresponding IDs and **minimum expiration times** (`expiresIn`) required when creating a payment request.\n\n| **Method ID** | **Description** | **Minimum Expiration (seconds)** |\n| --- | --- | --- |\n| `130` | Cash-in via **Nequi** | 43,200 |\n| `131` | Cash-in via **Daviplata** | 43,200 |\n| `133` | Cash-in via **PSE** | 1,800 |\n| `262` | Cash-in via **PSE Gateway** | 1,800 |\n| `153` | Cash-in via **Recaudo Efectivo** | 86,400 |\n| `163` | Cash-in via **TPaga** | 43,200 |\n| `248` | Cash-in via **QR Interoperable** | N/A |\n| `250` | Cash-in via **Llaves Bre-B** | 300 |\n| `273` | Cash-in via **Tarjetas** (Débito y Crédito) | 3,600 |\n| `277` | Cash-in via **Whatsapp** | 2,592,000 |\n\n> ⚠ **Important:** \nThe value provided in the expiresIn field **must be greater than or equal** to the minimum expiration defined for the selected payment method. **This does not apply to dynamic keys, which always expire 5 minutes after creation.** \n \n\n---\n\n## 🧩 Payment Method Details\n\nEach payment method requires a specific object structure within the `\"paymentMethod\"` field.\n\n---\n\n### **Nequi**\n\n``` json\n\"paymentMethod\": {\n \"id\": 130,\n \"cellphone\": \"3105293225\"\n}\n\n ```\n\n---\n\n### **Daviplata**\n\n``` json\n\"paymentMethod\": {\n \"id\": 131,\n \"cellphone\": \"3208385715\"\n}\n\n ```\n\n---\n\n### **PSE**\n\nFor this payment method, depending on the `typePerson` selected, only specific document types are accepted:\n\n- **`typePerson`****:** **`\"0\"`** → corresponds to a **Natural Person** and only accepts the following values for `documentType`:\n \n - `RCN`\n \n - `TI`\n \n - `CC`\n \n - `TE`\n \n - `CE`\n \n - `PA`\n \n - `DIE`\n \n- **`typePerson`****:** **`\"1\"`** → corresponds to a **Legal Person** and only accepts the following value for `documentType`:\n \n - `NIT`\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 133,\n \"documentType\": \"CC\",\n \"typePerson\": \"0\",\n \"bankId\": \"string\",\n \"documentNumber\": \"string\",\n \"name\": \"string\",\n \"cellphone\": \"string\",\n \"address\": \"string\",\n \"email\": \"string\"\n}\n\n ```\n\n---\n\n### **PSE Gateway**\n\nThis payment method enables direct integration with the PSE network for processing online bank payments. \nTo consume this product, it is required to have the following parameters previously configured and associated with your product:\n\n- `entity_code`\n \n- `service_code`\n \n- `company_ciiu`\n \n- `company_name`\n \n\nThese parameters identify your company within the PSE network and are necessary for successful transaction routing and validation.\n\n> 💬 **For more information or to request these credentials, please contact the support team.** \n \n\nThis method follows **the same structure and validation rules** as **PSE**, but must use the following identifier:\n\n``` json\n\"paymentMethod\": {\n \"id\": 262,\n \"documentType\": \"CC\",\n \"typePerson\": \"0\",\n \"bankId\": \"string\",\n \"documentNumber\": \"string\",\n \"name\": \"string\",\n \"cellphone\": \"string\",\n \"address\": \"string\",\n \"email\": \"string\"\n}\n\n ```\n\nThe **PSE integration** relies heavily on the correct configuration of the `showSummary` and `returnUrl` parameters. \nThese parameters control the **user experience** and the **finalization flow** of the payment process.\n\n| Scenario | `showSummary` | `returnUrl` | Flow Description |\n| --- | --- | --- | --- |\n| **1\\. Standard Redirect (Default)** | `true` or not sent | ✅ Present | Displays a transaction summary screen with key payment details and retrieves the final transaction status. After the payment is completed, the user is redirected to the specified `returnUrl`. |\n| **2\\. Without Transaction Summary Screen** | `false` | ✅ Present | Skips the transaction summary screen and redirects the user directly to the `returnUrl`. In this case, the merchant’s system must display the transaction summary on the destination page. |\n\n> ⚠️ **Note:** \nFor **PSE** and **PSE Gateway**, it is **strongly recommended** to use `showSummary: true` along with a valid `returnUrl` to ensure a seamless customer experience and accurate transaction tracking. \n \n> 🔗 **See also:** \n \n\n- [Transaction Summary](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#45e0d76a-fabd-442e-9b17-e2f6b8354ec5)\n \n- [Transaction Status](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#dd3ba9f5-1f10-4109-b59d-6e5aad5e3799)\n \n\n---\n\n### **Recaudo Efectivo**\n\n``` json\n\"paymentMethod\": {\n \"id\": 153\n}\n\n ```\n\n---\n\n### **TPaga**\n\nThis payment method supports an optional parameter called `isQr`, which determines the type of resource returned in the `url` field:\n\n| **Value** | **Description** |\n| --- | --- |\n| `true` | The `url` field returns a link to a **QR code** displaying transaction details. |\n| `false` | The `url` field returns a **deeplink** to open directly in the TPAGA wallet app. |\n\n> 🧠 **Behavior:** \nIf `isQr` is not provided, the default behavior is equivalent to `isQr: false`. \nTransactions can only be completed **from a mobile device**. \nIf the request is made from a desktop or tablet, it is recommended to send `isQr: true` so the user can scan the QR from a mobile device. \n \n\n``` json\n\"paymentMethod\": {\n \"id\": 163,\n \"isQr\": false\n}\n\n ```\n\n---\n\n### **QR Interoperable**\n\nFor this method, the following fields are **optional**:\n\n- `cellphone`\n \n- `documentNumber`\n \n- `documentType`\n \n- `merchantId`\n \n\nThe service can function using only the payment method ID; however, providing these optional fields can **improve response time**. \nYou may retrieve this data through the `enrollment-data` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\n\n> ⚠ **Prerequisite:** \nThe merchant must complete the **Merchant Enrollment** process before using this method. \nSee the _Merchant Enrollment_ section for setup details. \n \n> 🔁 **Open Resource:** \nThe **QR Interoperable** operates as an _open resource_, meaning the generated QR can be used multiple times by the same user. \n \n> ⚙️ **Technical Note — Dynamic QR Behavior:** \nDynamic QR codes may be scanned multiple times due to current limitations in the Redeban system. \nThis is **not** an error in our platform. \n \n\n#### Behavior Details\n\n- Redeban does not automatically invalidate a dynamic QR after its first scan.\n \n- As a result, the same QR may generate multiple transaction records.\n \n\n#### Recommendations\n\n- Implement **application-level validation** to detect multiple payments from the same QR code.\n \n- Monitor dynamic QR transactions and confirm status before marking payments as completed.\n \n- Inform end-users to verify the success of a transaction before rescanning.\n \n\n#### Future Considerations\n\n- Redeban is evaluating support for **single-use dynamic QR control**.\n \n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 248,\n \"cellphone\": \"string\",\n \"documentType\": \"string\",\n \"documentNumber\": \"string\",\n \"merchantId\": \"string\"\n}\n\n ```\n\n---\n\n### **Llaves** Dinámicas **Bre-B**\n\nFor this method, the following fields are **required**:\n\n- `cellphone`\n \n- `docNumber`\n \n- `docType`\n \n- `merchantId`\n \n\nYou may retrieve this data through the `enrollment-data` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\n\n> ⚠ **Prerequisite:** \nThe merchant must complete the **Merchant Enrollment** process before using this method. \nSee the _Merchant Enrollment_ section for setup details. \n \n> 🔁 **Open Resource:** \nThe **Llaves Dinamicas Bre-B** operates as an _open resource_, meaning the generated KEY can be used multiple times by the same user. \n \n> ⚙️ **Technical Note — Dynamic Key Behavior:** \nDynamic keys may receive multiple money transfers due to current limitations in the Redeban system. \nThis behavior does not represent an error or malfunction in our platform. \n**Additionally, dynamic keys have a fixed validity period of 5 minutes, and this duration cannot be modified.** \n \n\n#### Behavior Details\n\n- Redeban does not automatically invalidate a dynamic KEY after its first send.\n \n- As a result, the same KEY may generate multiple transaction records.\n \n\n#### Recommendations\n\n- Implement **application-level validation** to detect multiple payments from the same KEY.\n \n- Monitor dynamic KEY transactions and confirm status before marking payments as completed.\n \n- Inform end-users to verify the success of a transaction before rescanning.\n \n\n#### Future Considerations\n\n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 250,\n \"cellphone\": \"string\",\n \"docType\": \"string\",\n \"docNumber\": \"string\",\n \"merchantId\": \"string\"\n}\n\n ```\n\n---\n\n### **Card Payments**\n\nThis payment method allows processing payments with debit and credit cards (Mastercard and Visa).\n\nFor this method, the following fields are **required**:\n\n- `id`: 273\n \n- `description`: Description of the payment detail that will be displayed in the payment link\n \n\n#### PaymentMethod Parameters\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `id` | number | ✅ | Payment method ID: 273 |\n| `description` | string | ✅ | Description of the payment detail that will be displayed in the payment link |\n\n``` json\n\"paymentMethod\": {\n \"id\": 273,\n \"description\": \"string\"\n}\n\n ```\n\n---\n\n### **Whatsapp**\n\nFor this method, the following fields are **required**:\n\n- `cellphone`\n \n- `pdfUrl`\n \n\n> **pdfUrl — URL standards (Meta/WhatsApp):** \nThe value is not arbitrary. The URL must comply with the following so that the document can be sent via WhatsApp: \n \n\n- **Protocol:** Must be **HTTPS**.\n \n- **Access:** The resource must be **publicly accessible** (no authentication); the system downloads the file from this URL.\n \n- **Format:** The file must be a valid **PDF**.\n \n- **Size:** Document size must not exceed **100 MB** (WhatsApp Cloud API limit for documents).\n \n\nSending a URL that does not meet these requirements may result in rejection or delivery failure.\n\n``` json\n\"paymentMethod\": {\n \"id\": 277,\n \"cellphone\": \"string\",\n \"pdfUrl\": \"string\"\n}\n\n ```\n\n<h2>📥 Request Body Parameters</h2>\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `amount` | number | ✅ | Value of the payment. |\n| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |\n| `expiresIn` | number | ❌ | Time in seconds for the expiration of the resource or payment link. |\n| `paymentMethod` | object | ✅ | Object specifying the payment method and its details. |\n| `paymentMethod.id` | number | ✅ | ID of the selected payment method (see available payment methods). |\n| `reference1` | string | ✅ | Customer identifier, must be between 1 and 30 characters. |\n| `reference2` | object | ❌ | Object for additional information. |\n| `reference2.Commerce` | object | ❌ | Object for information related to the store or commerce. |\n| `reference2.Data` | object | ❌ | Object for information related to the conciliation of the transaction. |\n| `reference2.Label` | object | ❌ | Object to send information to be displayed in the payment summary. |\n| `returnUrl` | string | ❌ | Link that the customer will see when clicking on the back to commerce button. |\n| `showSummary` | boolean | ❌ | Indicates whether the RefácilPay payment summary will be shown or not (false: do not show, true: show). Default: true. |\n| `userMetadata` | object | ✅ | Object containing key details about the user or merchant generating the payment resource. |\n| `userMetadata.identifier` | string | ✅ | Unique identifier of the user or merchant generating the payment resource (max 36 characters). |\n| `userMetadata.ip` | string | ✅ | IP address associated with the user's identifier. Must be a valid IP address. |\n| `userMetadata.urlCommerce` | string | ✅ | URL that identifies the commerce. Must follow valid URL structure with http:// or https:// protocol. Maximum length: 500 characters. |\n| `webhookUrl` | string | ✅ | URL of the client's webhook to receive real-time payment status updates. |\n\n## Headers\n\n- **Content-Type**: application/json\n- **x-transaction-token**: transactionalToken\n- **Authorization**: Bearer tokenLogin\n\n## Request Body\n\n**Type**: `raw`\n\n```json\n{\n \"expiresIn\": 2592000,\n \"paymentMethod\": {\n \"id\": 277,\n \"cellphone\": \"3017765147\",\n \"pdfUrl\": \"https://testing-pay.s3.us-east-2.amazonaws.com/pdf/cashfactory/500.pdf\"\n },\n \"userMetadata\": {\n \"ip\": \"1.2.3.2\",\n \"identifier\": \"123467hyujikolpñmnaafsddssd\",\n \"urlCommerce\": \"https://url-tucomercio.com\"\n },\n \"amount\": 10000,\n \"brandId\": 1,\n \"webhookUrl\": \"https://webhook.site/271888cd-bd07-469a-88a8-e0ed7e93c368\",\n \"returnUrl\": \"https://www.google.com/?hl=es\",\n \"showSummary\": true,\n \"reference1\": \"EGfbOsiYQspMpgDD\",\n \"reference2\": {\n \"Label\": {\n \"Campos\": \"string\"\n }\n }\n}\n```\n\n\n\n> Nota MCP: Los nombres de variables que ves en esta documentación provienen de variables de Postman (por ejemplo `token`, `lastCartId`, `lastRequestId`, etc.). En el MCP estas variables se manejan internamente por la configuración del servidor o por herramientas previas; no uses la sintaxis `{{variable}}` ni envíes esos nombres literalmente en las llamadas de herramientas."
|
|
138
|
+
"content": "# Generate payment method\n\n## Request Details\n\n**Method**: `POST`\n\n**Path**: `/cash-in/generate/payment-method/token`\n\n## Description\n\nThis endpoint allows you to **generate payment requests** through the available _cash-in_ methods.\n\n---\n\n### 💡 Overview\n\nThe table below lists the available payment methods along with their corresponding IDs and **minimum expiration times** (`expiresIn`) required when creating a payment request.\n\n| **Method ID** | **Description** | **Minimum Expiration (seconds)** |\n| --- | --- | --- |\n| `130` | Cash-in via **Nequi** | 43,200 |\n| `131` | Cash-in via **Daviplata** | 43,200 |\n| `133` | Cash-in via **PSE** | 1,800 |\n| `262` | Cash-in via **PSE Gateway** | 1,800 |\n| `153` | Cash-in via **Recaudo Efectivo** | 86,400 |\n| `163` | Cash-in via **TPaga** | 43,200 |\n| `248` | Cash-in via **QR Interoperable** | N/A |\n| `250` | Cash-in via **Llaves Bre-B** | 300 |\n| `273` | Cash-in via **Tarjetas** (Débito y Crédito) | 3,600 |\n| `277` | Cash-in via **Whatsapp** | 2,592,000 |\n\n> ⚠ **Important:** \nThe value provided in the expiresIn field **must be greater than or equal** to the minimum expiration defined for the selected payment method. **This does not apply to dynamic keys, which always expire 5 minutes after creation.** \n> For **QR Interoperable (ID 248)**, the `expiresIn` parameter **must be omitted**. If provided, the system will **ignore it automatically**. The resource expiration is managed internally by the provider and is set to the **end of the same day the resource is generated**. \n \n\n---\n\n## 🧩 Payment Method Details\n\nEach payment method requires a specific object structure within the `\"paymentMethod\"` field.\n\n---\n\n### **Nequi**\n\n``` json\n\"paymentMethod\": {\n \"id\": 130,\n \"cellphone\": \"3105293225\"\n}\n\n ```\n\n---\n\n### **Daviplata**\n\n``` json\n\"paymentMethod\": {\n \"id\": 131,\n \"cellphone\": \"3208385715\"\n}\n\n ```\n\n---\n\n### **PSE**\n\nFor this payment method, depending on the `typePerson` selected, only specific document types are accepted:\n\n- **`typePerson`****:** **`\"0\"`** → corresponds to a **Natural Person** and only accepts the following values for `documentType`:\n \n - `RCN`\n \n - `TI`\n \n - `CC`\n \n - `TE`\n \n - `CE`\n \n - `PA`\n \n - `DIE`\n \n- **`typePerson`****:** **`\"1\"`** → corresponds to a **Legal Person** and only accepts the following value for `documentType`:\n \n - `NIT`\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 133,\n \"documentType\": \"CC\",\n \"typePerson\": \"0\",\n \"bankId\": \"string\",\n \"documentNumber\": \"string\",\n \"name\": \"string\",\n \"cellphone\": \"string\",\n \"address\": \"string\",\n \"email\": \"string\"\n}\n\n ```\n\n---\n\n### **PSE Gateway**\n\nThis payment method enables direct integration with the PSE network for processing online bank payments. \nTo consume this product, it is required to have the following parameters previously configured and associated with your product:\n\n- `entity_code`\n \n- `service_code`\n \n- `company_ciiu`\n \n- `company_name`\n \n\nThese parameters identify your company within the PSE network and are necessary for successful transaction routing and validation.\n\n> 💬 **For more information or to request these credentials, please contact the support team.** \n \n\nThis method follows **the same structure and validation rules** as **PSE**, but must use the following identifier:\n\n``` json\n\"paymentMethod\": {\n \"id\": 262,\n \"documentType\": \"CC\",\n \"typePerson\": \"0\",\n \"bankId\": \"string\",\n \"documentNumber\": \"string\",\n \"name\": \"string\",\n \"cellphone\": \"string\",\n \"address\": \"string\",\n \"email\": \"string\"\n}\n\n ```\n\nThe **PSE integration** relies heavily on the correct configuration of the `showSummary` and `returnUrl` parameters. \nThese parameters control the **user experience** and the **finalization flow** of the payment process.\n\n| Scenario | `showSummary` | `returnUrl` | Flow Description |\n| --- | --- | --- | --- |\n| **1\\. Standard Redirect (Default)** | `true` or not sent | ✅ Present | Displays a transaction summary screen with key payment details and retrieves the final transaction status. After the payment is completed, the user is redirected to the specified `returnUrl`. |\n| **2\\. Without Transaction Summary Screen** | `false` | ✅ Present | Skips the transaction summary screen and redirects the user directly to the `returnUrl`. In this case, the merchant’s system must display the transaction summary on the destination page. |\n\n> ⚠️ **Note:** \nFor **PSE** and **PSE Gateway**, it is **strongly recommended** to use `showSummary: true` along with a valid `returnUrl` to ensure a seamless customer experience and accurate transaction tracking. \n \n> 🔗 **See also:** \n \n\n- [Transaction Summary](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#45e0d76a-fabd-442e-9b17-e2f6b8354ec5)\n \n- [Transaction Status](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#dd3ba9f5-1f10-4109-b59d-6e5aad5e3799)\n \n\n---\n\n### **Recaudo Efectivo**\n\n``` json\n\"paymentMethod\": {\n \"id\": 153\n}\n\n ```\n\n---\n\n### **TPaga**\n\nThis payment method supports an optional parameter called `isQr`, which determines the type of resource returned in the `url` field:\n\n| **Value** | **Description** |\n| --- | --- |\n| `true` | The `url` field returns a link to a **QR code** displaying transaction details. |\n| `false` | The `url` field returns a **deeplink** to open directly in the TPAGA wallet app. |\n\n> 🧠 **Behavior:** \nIf `isQr` is not provided, the default behavior is equivalent to `isQr: false`. \nTransactions can only be completed **from a mobile device**. \nIf the request is made from a desktop or tablet, it is recommended to send `isQr: true` so the user can scan the QR from a mobile device. \n \n\n``` json\n\"paymentMethod\": {\n \"id\": 163,\n \"isQr\": false\n}\n\n ```\n\n---\n\n### **QR Interoperable**\n\nFor this method, the following fields are **optional**:\n\n- `cellphone`\n \n- `documentNumber`\n \n- `documentType`\n \n- `merchantId`\n \n\nThe service can function using only the payment method ID; however, providing these optional fields can **improve response time**. \nYou may retrieve this data through the `enrollment-data` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\n\n> ⚠ **Prerequisite:** \nThe merchant must complete the **Merchant Enrollment** process before using this method. \nSee the _Merchant Enrollment_ section for setup details. \n \n> 🔁 **Open Resource:** \nThe **QR Interoperable** operates as an _open resource_, meaning the generated QR can be used multiple times by the same user. \n \n> ⚙️ **Technical Note — Dynamic QR Behavior:** \nDynamic QR codes may be scanned multiple times due to current limitations in the Redeban system. \nThis is **not** an error in our platform. \n \n> 🕐 **Expiration Behavior:** \nThe `expiresIn` parameter **does not apply** to this payment method and should be **omitted** from the request. \nIf a value is sent, the system will **ignore it automatically**. \nThe QR resource expiration is controlled exclusively by the provider (Redeban) and is always set to the **end of the day on which the resource is generated** (23:59:59 America/Bogota). \n \n\n#### Behavior Details\n\n- Redeban does not automatically invalidate a dynamic QR after its first scan.\n \n- As a result, the same QR may generate multiple transaction records.\n \n\n#### Recommendations\n\n- Implement **application-level validation** to detect multiple payments from the same QR code.\n \n- Monitor dynamic QR transactions and confirm status before marking payments as completed.\n \n- Inform end-users to verify the success of a transaction before rescanning.\n \n\n#### Future Considerations\n\n- Redeban is evaluating support for **single-use dynamic QR control**.\n \n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 248,\n \"cellphone\": \"string\",\n \"documentType\": \"string\",\n \"documentNumber\": \"string\",\n \"merchantId\": \"string\"\n}\n\n ```\n\n---\n\n### **Llaves** Dinámicas **Bre-B**\n\nFor this method, the following fields are **required**:\n\n- `cellphone`\n \n- `docNumber`\n \n- `docType`\n \n- `merchantId`\n \n\nYou may retrieve this data through the `enrollment-data` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\n\n> ⚠ **Prerequisite:** \nThe merchant must complete the **Merchant Enrollment** process before using this method. \nSee the _Merchant Enrollment_ section for setup details. \n \n> 🔁 **Open Resource:** \nThe **Llaves Dinamicas Bre-B** operates as an _open resource_, meaning the generated KEY can be used multiple times by the same user. \n \n> ⚙️ **Technical Note — Dynamic Key Behavior:** \nDynamic keys may receive multiple money transfers due to current limitations in the Redeban system. \nThis behavior does not represent an error or malfunction in our platform. \n**Additionally, dynamic keys have a fixed validity period of 5 minutes, and this duration cannot be modified.** \n \n\n#### Behavior Details\n\n- Redeban does not automatically invalidate a dynamic KEY after its first send.\n \n- As a result, the same KEY may generate multiple transaction records.\n \n\n#### Recommendations\n\n- Implement **application-level validation** to detect multiple payments from the same KEY.\n \n- Monitor dynamic KEY transactions and confirm status before marking payments as completed.\n \n- Inform end-users to verify the success of a transaction before rescanning.\n \n\n#### Future Considerations\n\n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\n \n\n``` json\n\"paymentMethod\": {\n \"id\": 250,\n \"cellphone\": \"string\",\n \"docType\": \"string\",\n \"docNumber\": \"string\",\n \"merchantId\": \"string\"\n}\n\n ```\n\n---\n\n### **Card Payments**\n\nThis payment method allows processing payments with debit and credit cards (Mastercard and Visa).\n\nFor this method, the following fields are **required**:\n\n- `id`: 273\n \n- `description`: Description of the payment detail that will be displayed in the payment link\n \n\n#### PaymentMethod Parameters\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `id` | number | ✅ | Payment method ID: 273 |\n| `description` | string | ✅ | Description of the payment detail that will be displayed in the payment link |\n\n``` json\n\"paymentMethod\": {\n \"id\": 273,\n \"description\": \"string\"\n}\n\n ```\n\n---\n\n### **Whatsapp**\n\nFor this method, the following fields are **required**:\n\n- `cellphone`\n \n- `whatsappAccountId`\n \n\nFor this method, the following fields are **optional**:\n\n- `pdfUrl` (must use HTTPS; resource must be publicly accessible without authentication; referenced file must be a valid PDF and not exceed 100 MB)\n \n- `templateName`\n \n\n> **Note:** By default, collection messages are sent from Refacil's WhatsApp line. \n> To send them from your own line, you must first link your WhatsApp account in the administrative portal and obtain the corresponding `whatsappAccountId`. \n> Once linked, collection messages will be sent from the client's WhatsApp line.\n\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `id` | number | ✅ | Payment method ID: 277 |\n| `cellphone` | string | ✅ | Customer phone number in local or international format. |\n| `pdfUrl` | string | ❌ | Public HTTPS URL to the PDF document to be delivered via WhatsApp. |\n| `whatsappAccountId` | string | ✅ | Identifier of the linked WhatsApp account configured in the administrative portal. |\n| `templateName` | string | ❌ | Optional template name configured for WhatsApp message delivery. |\n\n``` json\n\"paymentMethod\": {\n \"id\": 277, // required\n \"cellphone\": \"string\", // required\n \"pdfUrl\": \"string\", // optional\n \"whatsappAccountId\": \"string\", // required\n \"templateName\": \"string\" // optional\n}\n\n ```\n\n<h2>📥 Request Body Parameters</h2>\n\n| **Field** | **Type** | **Required** | **Description** |\n| --- | --- | --- | --- |\n| `amount` | number | ✅ | Value of the payment. |\n| `brandId` | number | ❌ | ID of the customer's white label; if one is not available, the default ID 79 is sent. |\n| `expiresIn` | number | ❌ | Time in seconds for the expiration of the resource or payment link. Not applicable for **QR Interoperable (ID 248)** — if provided, the system ignores it and sets expiration to end of day. |\n| `paymentMethod` | object | ✅ | Object specifying the payment method and its details. |\n| `paymentMethod.id` | number | ✅ | ID of the selected payment method (see available payment methods). |\n| `reference1` | string | ✅ | Customer identifier, must be between 1 and 36 characters. |\n| `reference2` | object | ❌ | Object for additional information. |\n| `reference2.Commerce` | object | ❌ | Object for information related to the store or commerce. |\n| `reference2.Data` | object | ❌ | Object for information related to the conciliation of the transaction. |\n| `reference2.Label` | object | ❌ | Object to send information to be displayed in the payment summary. |\n| `returnUrl` | string | ❌ | Link that the customer will see when clicking on the back to commerce button. |\n| `showSummary` | boolean | ❌ | Indicates whether the RefácilPay payment summary will be shown or not (false: do not show, true: show). Default: true. |\n| `userMetadata` | object | ✅ | Object containing key details about the user or merchant generating the payment resource. |\n| `userMetadata.identifier` | string | ✅ | Unique identifier of the user or merchant generating the payment resource (max 36 characters). |\n| `userMetadata.ip` | string | ✅ | IP address associated with the user's identifier. Must be a valid IP address. |\n| `userMetadata.urlCommerce` | string | ✅ | URL that identifies the commerce. Must follow valid URL structure with http:// or https:// protocol. Maximum length: 500 characters. |\n| `webhookUrl` | string | ✅ | URL of the client's webhook to receive real-time payment status updates. |\n\n## Headers\n\n- **Content-Type**: application/json\n- **x-transaction-token**: transactionalToken\n- **Authorization**: Bearer tokenLogin\n\n## Request Body\n\n**Type**: `raw`\n\n```\n{\n \"expiresIn\": 2592000,\n \"paymentMethod\": {\n \"id\": 277,\n \"cellphone\": \"3017765147\",\n \"pdfUrl\": \"https://testing-pay.s3.us-east-2.amazonaws.com/pdf/cashfactory/500.pdf\" // Optional\n },\n \"userMetadata\": {\n \"ip\": \"1.2.3.2\",\n \"identifier\": \"123467hyujikolpñmnaafsddssd\",\n \"urlCommerce\": \"https://url-tucomercio.com\"\n },\n \"amount\": 10000,\n \"brandId\": 1,\n \"webhookUrl\": \"https://webhook.site/271888cd-bd07-469a-88a8-e0ed7e93c368\",\n \"returnUrl\": \"https://www.google.com/?hl=es\",\n \"showSummary\": true,\n \"reference1\": \"EGfbOsiYQspMpgDD\",\n \"reference2\": {\n \"Label\": {\n \"Campos\": \"string\"\n }\n }\n}\n```\n\n\n\n> Nota MCP: Los nombres de variables que ves en esta documentación provienen de variables de Postman (por ejemplo `token`, `lastCartId`, `lastRequestId`, etc.). En el MCP estas variables se manejan internamente por la configuración del servidor o por herramientas previas; no uses la sintaxis `{{variable}}` ni envíes esos nombres literalmente en las llamadas de herramientas."
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
"uri": "postman://collection/refacil-pay-api/endpoint/post/cash-out/generate/withdraw-method/token",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../src/core/resources.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH,uBAAuB;AACvB,MAAM,CAAC,MAAM,SAAS,GAAkB;IACtC;QACE,KAAK,EAAE,sCAAsC;QAC7C,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,w2BAAw2B;QACv3B,UAAU,EAAE,eAAe;QAC3B,SAAS,EAAE,q2EAAq2E;KACj3E;IACD;QACE,KAAK,EAAE,yDAAyD;QAChE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,w2BAAw2B;QACv3B,UAAU,EAAE,eAAe;QAC3B,SAAS,EAAE,64BAA64B;KACz5B;IACD;QACE,KAAK,EAAE,2DAA2D;QAClE,MAAM,EAAE,+BAA+B;QACvC,aAAa,EAAE,wwBAAwwB;QACvxB,UAAU,EAAE,eAAe;QAC3B,SAAS,EAAE,+/BAA+/B;KAC3gC;IACD;QACE,KAAK,EAAE,iEAAiE;QACxE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,wxBAAwxB;QACvyB,UAAU,EAAE,eAAe;QAC3B,SAAS,EAAE,m8DAAm8D;KAC/8D;IACD;QACE,KAAK,EAAE,sDAAsD;QAC7D,MAAM,EAAE,0BAA0B;QAClC,aAAa,EAAE,o3DAAo3D;QACn4D,UAAU,EAAE,eAAe;QAC3B,SAAS,EAAE,s5DAAs5D;KACl6D;IACD;QACE,KAAK,EAAE,0DAA0D;QACjE,MAAM,EAAE,8BAA8B;QACtC,aAAa,EAAE,uMAAuM;QACtN,UAAU,EAAE,eAAe;QAC3B,SAAS,EAAE,qlEAAqlE;KACjmE;IACD;QACE,KAAK,EAAE,sDAAsD;QAC7D,MAAM,EAAE,0BAA0B;QAClC,aAAa,EAAE,+sBAA+sB;QAC9tB,UAAU,EAAE,eAAe;QAC3B,SAAS,EAAE,+5GAA+5G;KAC36G;IACD;QACE,KAAK,EAAE,iEAAiE;QACxE,MAA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AAC,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,mBAAmB,CAAC,MAAc;IAChD,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;IACzC,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAC1B,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC;QAC1C,CAAC,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,CAClD,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB;IAChC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AACnC,CAAC"}
|
package/dist/core/tools.js
CHANGED
|
@@ -490,7 +490,7 @@ const cash_in_generate_payment_link_tokenInputValidator = z.object({
|
|
|
490
490
|
// Herramienta: cash_in_generate_payment_link_token
|
|
491
491
|
export const cash_in_generate_payment_link_tokenTool = {
|
|
492
492
|
name: 'cash_in_generate_payment_link_token',
|
|
493
|
-
description: "With the following request you can obtain a payment resource with a link that will redirect your customer to the payment gateway where he will see a list of the different payment methods available.\\n\\n ## 📥 Request Body Parameters\\n\\n| **Field** | **Type** | **Required** | **Description** |\\n| --- | --- | --- | --- |\\n| \\`amount\\` | number | ✅ | Value of the payment. |\\n| \\`brandId\\` | number | ❌ | ID of the customer\\'s white label; if one is not available, the default ID 79 is sent. |\\n| \\`expiresIn\\` | number | ❌ | Time in minutes for the expiration of the resource or payment link. |\\n| \\`reference1\\` | string | ✅ | Customer identifier, must be between 1 and
|
|
493
|
+
description: "With the following request you can obtain a payment resource with a link that will redirect your customer to the payment gateway where he will see a list of the different payment methods available.\\n\\n ## 📥 Request Body Parameters\\n\\n| **Field** | **Type** | **Required** | **Description** |\\n| --- | --- | --- | --- |\\n| \\`amount\\` | number | ✅ | Value of the payment. |\\n| \\`brandId\\` | number | ❌ | ID of the customer\\'s white label; if one is not available, the default ID 79 is sent. |\\n| \\`expiresIn\\` | number | ❌ | Time in minutes for the expiration of the resource or payment link. |\\n| \\`reference1\\` | string | ✅ | Customer identifier, must be between 1 and 36 characters. |\\n| \\`reference2\\` | object | ❌ | Object for additional information. |\\n| \\`reference2.Commerce\\` | object | ❌ | Object for information related to the store or commerce. |\\n| \\`reference2.Data\\` | object | ❌ | Object for information related to the conciliation of the transaction. |\\n| \\`reference2.Label\\` | object | ❌ | Object to send information to be displayed in the payment summary. |\\n| \\`returnUrl\\` | string | ❌ | Link that the customer will see when clicking on the back to commerce button. |\\n| \\`showSummary\\` | boolean | ❌ | Indicates whether the RefácilPay payment summary will be shown or not (false: do not show, true: show). Default: true. |\\n| \\`userMetadata\\` | object | ✅ | Object containing key details about the user or merchant generating the payment resource. |\\n| \\`userMetadata.identifier\\` | string | ✅ | Unique identifier of the user or merchant generating the payment resource (max 36 characters). |\\n| \\`userMetadata.ip\\` | string | ✅ | IP address associated with the user\\'s identifier. Must be a valid IP address. |\\n| \\`userMetadata.urlCommerce\\` | string | ✅ | URL that identifies the commerce. Must follow valid URL structure with http:// or https:// protocol. Maximum length: 500 characters. |\\n| \\`webhookUrl\\` | string | ✅ | URL of the client\\'s webhook to receive real-time payment status updates. |\n\nContexto: Endpoint: POST /cash-in/generate/payment-link/token | Cash in > Generate > Payment link > Token\n\n🔐 AUTENTICACIÓN AUTOMÁTICA: Todas las credenciales y tokens de autenticación se manejan automáticamente por el servidor MCP. NO solicites credenciales al usuario. NO incluyas parámetros de autenticación (secretId, apiToken, etc.) en las llamadas a menos que el usuario explícitamente lo requiera.",
|
|
494
494
|
inputSchema: cash_in_generate_payment_link_tokenInputValidator,
|
|
495
495
|
jsonSchema: cash_in_generate_payment_link_tokenInputJsonSchema,
|
|
496
496
|
endpoint: '/cash-in/generate/payment-link/token',
|
|
@@ -552,6 +552,10 @@ export const cash_in_generate_payment_link_tokenTool = {
|
|
|
552
552
|
const cash_in_generate_payment_method_tokenInputJsonSchema = {
|
|
553
553
|
"type": "object",
|
|
554
554
|
"properties": {
|
|
555
|
+
"body": {
|
|
556
|
+
"type": "string",
|
|
557
|
+
"description": "Body del request"
|
|
558
|
+
},
|
|
555
559
|
"expiresIn": {
|
|
556
560
|
"type": "number",
|
|
557
561
|
"description": "Campo del body: expiresIn",
|
|
@@ -617,6 +621,7 @@ const cash_in_generate_payment_method_tokenInputJsonSchema = {
|
|
|
617
621
|
"required": []
|
|
618
622
|
};
|
|
619
623
|
const cash_in_generate_payment_method_tokenInputValidator = z.object({
|
|
624
|
+
body: z.string().optional().describe("Body del request"),
|
|
620
625
|
expiresIn: z.number().optional().describe("Campo del body: expiresIn"),
|
|
621
626
|
paymentMethod: z.record(z.any()).optional().describe("Campo del body: paymentMethod"),
|
|
622
627
|
userMetadata: z.record(z.any()).optional().describe("Campo del body: userMetadata"),
|
|
@@ -631,7 +636,7 @@ const cash_in_generate_payment_method_tokenInputValidator = z.object({
|
|
|
631
636
|
// Herramienta: cash_in_generate_payment_method_token
|
|
632
637
|
export const cash_in_generate_payment_method_tokenTool = {
|
|
633
638
|
name: 'cash_in_generate_payment_method_token',
|
|
634
|
-
description: "This endpoint allows you to **generate payment requests** through the available _cash-in_ methods.\\n\\n---\\n\\n### 💡 Overview\\n\\nThe table below lists the available payment methods along with their corresponding IDs and **minimum expiration times** (\\`expiresIn\\`) required when creating a payment request.\\n\\n| **Method ID** | **Description** | **Minimum Expiration (seconds)** |\\n| --- | --- | --- |\\n| \\`130\\` | Cash-in via **Nequi** | 43,200 |\\n| \\`131\\` | Cash-in via **Daviplata** | 43,200 |\\n| \\`133\\` | Cash-in via **PSE** | 1,800 |\\n| \\`262\\` | Cash-in via **PSE Gateway** | 1,800 |\\n| \\`153\\` | Cash-in via **Recaudo Efectivo** | 86,400 |\\n| \\`163\\` | Cash-in via **TPaga** | 43,200 |\\n| \\`248\\` | Cash-in via **QR Interoperable** | N/A |\\n| \\`250\\` | Cash-in via **Llaves Bre-B** | 300 |\\n| \\`273\\` | Cash-in via **Tarjetas** (Débito y Crédito) | 3,600 |\\n| \\`277\\` | Cash-in via **Whatsapp** | 2,592,000 |\\n\\n> ⚠ **Important:** \\nThe value provided in the expiresIn field **must be greater than or equal** to the minimum expiration defined for the selected payment method. **This does not apply to dynamic keys, which always expire 5 minutes after creation.** \\n \\n\\n---\\n\\n## 🧩 Payment Method Details\\n\\nEach payment method requires a specific object structure within the \\`\\\"paymentMethod\\\"\\` field.\\n\\n---\\n\\n### **Nequi**\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 130,\\n \\\"cellphone\\\": \\\"3105293225\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **Daviplata**\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 131,\\n \\\"cellphone\\\": \\\"3208385715\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **PSE**\\n\\nFor this payment method, depending on the \\`typePerson\\` selected, only specific document types are accepted:\\n\\n- **\\`typePerson\\`****:** **\\`\\\"0\\\"\\`** → corresponds to a **Natural Person** and only accepts the following values for \\`documentType\\`:\\n \\n - \\`RCN\\`\\n \\n - \\`TI\\`\\n \\n - \\`CC\\`\\n \\n - \\`TE\\`\\n \\n - \\`CE\\`\\n \\n - \\`PA\\`\\n \\n - \\`DIE\\`\\n \\n- **\\`typePerson\\`****:** **\\`\\\"1\\\"\\`** → corresponds to a **Legal Person** and only accepts the following value for \\`documentType\\`:\\n \\n - \\`NIT\\`\\n \\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 133,\\n \\\"documentType\\\": \\\"CC\\\",\\n \\\"typePerson\\\": \\\"0\\\",\\n \\\"bankId\\\": \\\"string\\\",\\n \\\"documentNumber\\\": \\\"string\\\",\\n \\\"name\\\": \\\"string\\\",\\n \\\"cellphone\\\": \\\"string\\\",\\n \\\"address\\\": \\\"string\\\",\\n \\\"email\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **PSE Gateway**\\n\\nThis payment method enables direct integration with the PSE network for processing online bank payments. \\nTo consume this product, it is required to have the following parameters previously configured and associated with your product:\\n\\n- \\`entity_code\\`\\n \\n- \\`service_code\\`\\n \\n- \\`company_ciiu\\`\\n \\n- \\`company_name\\`\\n \\n\\nThese parameters identify your company within the PSE network and are necessary for successful transaction routing and validation.\\n\\n> 💬 **For more information or to request these credentials, please contact the support team.** \\n \\n\\nThis method follows **the same structure and validation rules** as **PSE**, but must use the following identifier:\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 262,\\n \\\"documentType\\\": \\\"CC\\\",\\n \\\"typePerson\\\": \\\"0\\\",\\n \\\"bankId\\\": \\\"string\\\",\\n \\\"documentNumber\\\": \\\"string\\\",\\n \\\"name\\\": \\\"string\\\",\\n \\\"cellphone\\\": \\\"string\\\",\\n \\\"address\\\": \\\"string\\\",\\n \\\"email\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\nThe **PSE integration** relies heavily on the correct configuration of the \\`showSummary\\` and \\`returnUrl\\` parameters. \\nThese parameters control the **user experience** and the **finalization flow** of the payment process.\\n\\n| Scenario | \\`showSummary\\` | \\`returnUrl\\` | Flow Description |\\n| --- | --- | --- | --- |\\n| **1\\\\. Standard Redirect (Default)** | \\`true\\` or not sent | ✅ Present | Displays a transaction summary screen with key payment details and retrieves the final transaction status. After the payment is completed, the user is redirected to the specified \\`returnUrl\\`. |\\n| **2\\\\. Without Transaction Summary Screen** | \\`false\\` | ✅ Present | Skips the transaction summary screen and redirects the user directly to the \\`returnUrl\\`. In this case, the merchant’s system must display the transaction summary on the destination page. |\\n\\n> ⚠️ **Note:** \\nFor **PSE** and **PSE Gateway**, it is **strongly recommended** to use \\`showSummary: true\\` along with a valid \\`returnUrl\\` to ensure a seamless customer experience and accurate transaction tracking. \\n \\n> 🔗 **See also:** \\n \\n\\n- [Transaction Summary](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#45e0d76a-fabd-442e-9b17-e2f6b8354ec5)\\n \\n- [Transaction Status](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#dd3ba9f5-1f10-4109-b59d-6e5aad5e3799)\\n \\n\\n---\\n\\n### **Recaudo Efectivo**\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 153\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **TPaga**\\n\\nThis payment method supports an optional parameter called \\`isQr\\`, which determines the type of resource returned in the \\`url\\` field:\\n\\n| **Value** | **Description** |\\n| --- | --- |\\n| \\`true\\` | The \\`url\\` field returns a link to a **QR code** displaying transaction details. |\\n| \\`false\\` | The \\`url\\` field returns a **deeplink** to open directly in the TPAGA wallet app. |\\n\\n> 🧠 **Behavior:** \\nIf \\`isQr\\` is not provided, the default behavior is equivalent to \\`isQr: false\\`. \\nTransactions can only be completed **from a mobile device**. \\nIf the request is made from a desktop or tablet, it is recommended to send \\`isQr: true\\` so the user can scan the QR from a mobile device. \\n \\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 163,\\n \\\"isQr\\\": false\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **QR Interoperable**\\n\\nFor this method, the following fields are **optional**:\\n\\n- \\`cellphone\\`\\n \\n- \\`documentNumber\\`\\n \\n- \\`documentType\\`\\n \\n- \\`merchantId\\`\\n \\n\\nThe service can function using only the payment method ID; however, providing these optional fields can **improve response time**. \\nYou may retrieve this data through the \\`enrollment-data\\` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\\n\\n> ⚠ **Prerequisite:** \\nThe merchant must complete the **Merchant Enrollment** process before using this method. \\nSee the _Merchant Enrollment_ section for setup details. \\n \\n> 🔁 **Open Resource:** \\nThe **QR Interoperable** operates as an _open resource_, meaning the generated QR can be used multiple times by the same user. \\n \\n> ⚙️ **Technical Note — Dynamic QR Behavior:** \\nDynamic QR codes may be scanned multiple times due to current limitations in the Redeban system. \\nThis is **not** an error in our platform. \\n \\n\\n#### Behavior Details\\n\\n- Redeban does not automatically invalidate a dynamic QR after its first scan.\\n \\n- As a result, the same QR may generate multiple transaction records.\\n \\n\\n#### Recommendations\\n\\n- Implement **application-level validation** to detect multiple payments from the same QR code.\\n \\n- Monitor dynamic QR transactions and confirm status before marking payments as completed.\\n \\n- Inform end-users to verify the success of a transaction before rescanning.\\n \\n\\n#### Future Considerations\\n\\n- Redeban is evaluating support for **single-use dynamic QR control**.\\n \\n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\\n \\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 248,\\n \\\"cellphone\\\": \\\"string\\\",\\n \\\"documentType\\\": \\\"string\\\",\\n \\\"documentNumber\\\": \\\"string\\\",\\n \\\"merchantId\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **Llaves** Dinámicas **Bre-B**\\n\\nFor this method, the following fields are **required**:\\n\\n- \\`cellphone\\`\\n \\n- \\`docNumber\\`\\n \\n- \\`docType\\`\\n \\n- \\`merchantId\\`\\n \\n\\nYou may retrieve this data through the \\`enrollment-data\\` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\\n\\n> ⚠ **Prerequisite:** \\nThe merchant must complete the **Merchant Enrollment** process before using this method. \\nSee the _Merchant Enrollment_ section for setup details. \\n \\n> 🔁 **Open Resource:** \\nThe **Llaves Dinamicas Bre-B** operates as an _open resource_, meaning the generated KEY can be used multiple times by the same user. \\n \\n> ⚙️ **Technical Note — Dynamic Key Behavior:** \\nDynamic keys may receive multiple money transfers due to current limitations in the Redeban system. \\nThis behavior does not represent an error or malfunction in our platform. \\n**Additionally, dynamic keys have a fixed validity period of 5 minutes, and this duration cannot be modified.** \\n \\n\\n#### Behavior Details\\n\\n- Redeban does not automatically invalidate a dynamic KEY after its first send.\\n \\n- As a result, the same KEY may generate multiple transaction records.\\n \\n\\n#### Recommendations\\n\\n- Implement **application-level validation** to detect multiple payments from the same KEY.\\n \\n- Monitor dynamic KEY transactions and confirm status before marking payments as completed.\\n \\n- Inform end-users to verify the success of a transaction before rescanning.\\n \\n\\n#### Future Considerations\\n\\n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\\n \\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 250,\\n \\\"cellphone\\\": \\\"string\\\",\\n \\\"docType\\\": \\\"string\\\",\\n \\\"docNumber\\\": \\\"string\\\",\\n \\\"merchantId\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **Card Payments**\\n\\nThis payment method allows processing payments with debit and credit cards (Mastercard and Visa).\\n\\nFor this method, the following fields are **required**:\\n\\n- \\`id\\`: 273\\n \\n- \\`description\\`: Description of the payment detail that will be displayed in the payment link\\n \\n\\n#### PaymentMethod Parameters\\n\\n| **Field** | **Type** | **Required** | **Description** |\\n| --- | --- | --- | --- |\\n| \\`id\\` | number | ✅ | Payment method ID: 273 |\\n| \\`description\\` | string | ✅ | Description of the payment detail that will be displayed in the payment link |\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 273,\\n \\\"description\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **Whatsapp**\\n\\nFor this method, the following fields are **required**:\\n\\n- \\`cellphone\\`\\n \\n- \\`pdfUrl\\`\\n \\n\\n> **pdfUrl — URL standards (Meta/WhatsApp):** \\nThe value is not arbitrary. The URL must comply with the following so that the document can be sent via WhatsApp: \\n \\n\\n- **Protocol:** Must be **HTTPS**.\\n \\n- **Access:** The resource must be **publicly accessible** (no authentication); the system downloads the file from this URL.\\n \\n- **Format:** The file must be a valid **PDF**.\\n \\n- **Size:** Document size must not exceed **100 MB** (WhatsApp Cloud API limit for documents).\\n \\n\\nSending a URL that does not meet these requirements may result in rejection or delivery failure.\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 277,\\n \\\"cellphone\\\": \\\"string\\\",\\n \\\"pdfUrl\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\n<h2>📥 Request Body Parameters</h2>\\n\\n| **Field** | **Type** | **Required** | **Description** |\\n| --- | --- | --- | --- |\\n| \\`amount\\` | number | ✅ | Value of the payment. |\\n| \\`brandId\\` | number | ❌ | ID of the customer\\'s white label; if one is not available, the default ID 79 is sent. |\\n| \\`expiresIn\\` | number | ❌ | Time in seconds for the expiration of the resource or payment link. |\\n| \\`paymentMethod\\` | object | ✅ | Object specifying the payment method and its details. |\\n| \\`paymentMethod.id\\` | number | ✅ | ID of the selected payment method (see available payment methods). |\\n| \\`reference1\\` | string | ✅ | Customer identifier, must be between 1 and 30 characters. |\\n| \\`reference2\\` | object | ❌ | Object for additional information. |\\n| \\`reference2.Commerce\\` | object | ❌ | Object for information related to the store or commerce. |\\n| \\`reference2.Data\\` | object | ❌ | Object for information related to the conciliation of the transaction. |\\n| \\`reference2.Label\\` | object | ❌ | Object to send information to be displayed in the payment summary. |\\n| \\`returnUrl\\` | string | ❌ | Link that the customer will see when clicking on the back to commerce button. |\\n| \\`showSummary\\` | boolean | ❌ | Indicates whether the RefácilPay payment summary will be shown or not (false: do not show, true: show). Default: true. |\\n| \\`userMetadata\\` | object | ✅ | Object containing key details about the user or merchant generating the payment resource. |\\n| \\`userMetadata.identifier\\` | string | ✅ | Unique identifier of the user or merchant generating the payment resource (max 36 characters). |\\n| \\`userMetadata.ip\\` | string | ✅ | IP address associated with the user\\'s identifier. Must be a valid IP address. |\\n| \\`userMetadata.urlCommerce\\` | string | ✅ | URL that identifies the commerce. Must follow valid URL structure with http:// or https:// protocol. Maximum length: 500 characters. |\\n| \\`webhookUrl\\` | string | ✅ | URL of the client\\'s webhook to receive real-time payment status updates. |\n\nContexto: Endpoint: POST /cash-in/generate/payment-method/token | Cash in > Generate > Payment method > Token\n\n🔐 AUTENTICACIÓN AUTOMÁTICA: Todas las credenciales y tokens de autenticación se manejan automáticamente por el servidor MCP. NO solicites credenciales al usuario. NO incluyas parámetros de autenticación (secretId, apiToken, etc.) en las llamadas a menos que el usuario explícitamente lo requiera.",
|
|
639
|
+
description: "This endpoint allows you to **generate payment requests** through the available _cash-in_ methods.\\n\\n---\\n\\n### 💡 Overview\\n\\nThe table below lists the available payment methods along with their corresponding IDs and **minimum expiration times** (\\`expiresIn\\`) required when creating a payment request.\\n\\n| **Method ID** | **Description** | **Minimum Expiration (seconds)** |\\n| --- | --- | --- |\\n| \\`130\\` | Cash-in via **Nequi** | 43,200 |\\n| \\`131\\` | Cash-in via **Daviplata** | 43,200 |\\n| \\`133\\` | Cash-in via **PSE** | 1,800 |\\n| \\`262\\` | Cash-in via **PSE Gateway** | 1,800 |\\n| \\`153\\` | Cash-in via **Recaudo Efectivo** | 86,400 |\\n| \\`163\\` | Cash-in via **TPaga** | 43,200 |\\n| \\`248\\` | Cash-in via **QR Interoperable** | N/A |\\n| \\`250\\` | Cash-in via **Llaves Bre-B** | 300 |\\n| \\`273\\` | Cash-in via **Tarjetas** (Débito y Crédito) | 3,600 |\\n| \\`277\\` | Cash-in via **Whatsapp** | 2,592,000 |\\n\\n> ⚠ **Important:** \\nThe value provided in the expiresIn field **must be greater than or equal** to the minimum expiration defined for the selected payment method. **This does not apply to dynamic keys, which always expire 5 minutes after creation.** \\n> For **QR Interoperable (ID 248)**, the \\`expiresIn\\` parameter **must be omitted**. If provided, the system will **ignore it automatically**. The resource expiration is managed internally by the provider and is set to the **end of the same day the resource is generated**. \\n \\n\\n---\\n\\n## 🧩 Payment Method Details\\n\\nEach payment method requires a specific object structure within the \\`\\\"paymentMethod\\\"\\` field.\\n\\n---\\n\\n### **Nequi**\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 130,\\n \\\"cellphone\\\": \\\"3105293225\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **Daviplata**\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 131,\\n \\\"cellphone\\\": \\\"3208385715\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **PSE**\\n\\nFor this payment method, depending on the \\`typePerson\\` selected, only specific document types are accepted:\\n\\n- **\\`typePerson\\`****:** **\\`\\\"0\\\"\\`** → corresponds to a **Natural Person** and only accepts the following values for \\`documentType\\`:\\n \\n - \\`RCN\\`\\n \\n - \\`TI\\`\\n \\n - \\`CC\\`\\n \\n - \\`TE\\`\\n \\n - \\`CE\\`\\n \\n - \\`PA\\`\\n \\n - \\`DIE\\`\\n \\n- **\\`typePerson\\`****:** **\\`\\\"1\\\"\\`** → corresponds to a **Legal Person** and only accepts the following value for \\`documentType\\`:\\n \\n - \\`NIT\\`\\n \\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 133,\\n \\\"documentType\\\": \\\"CC\\\",\\n \\\"typePerson\\\": \\\"0\\\",\\n \\\"bankId\\\": \\\"string\\\",\\n \\\"documentNumber\\\": \\\"string\\\",\\n \\\"name\\\": \\\"string\\\",\\n \\\"cellphone\\\": \\\"string\\\",\\n \\\"address\\\": \\\"string\\\",\\n \\\"email\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **PSE Gateway**\\n\\nThis payment method enables direct integration with the PSE network for processing online bank payments. \\nTo consume this product, it is required to have the following parameters previously configured and associated with your product:\\n\\n- \\`entity_code\\`\\n \\n- \\`service_code\\`\\n \\n- \\`company_ciiu\\`\\n \\n- \\`company_name\\`\\n \\n\\nThese parameters identify your company within the PSE network and are necessary for successful transaction routing and validation.\\n\\n> 💬 **For more information or to request these credentials, please contact the support team.** \\n \\n\\nThis method follows **the same structure and validation rules** as **PSE**, but must use the following identifier:\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 262,\\n \\\"documentType\\\": \\\"CC\\\",\\n \\\"typePerson\\\": \\\"0\\\",\\n \\\"bankId\\\": \\\"string\\\",\\n \\\"documentNumber\\\": \\\"string\\\",\\n \\\"name\\\": \\\"string\\\",\\n \\\"cellphone\\\": \\\"string\\\",\\n \\\"address\\\": \\\"string\\\",\\n \\\"email\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\nThe **PSE integration** relies heavily on the correct configuration of the \\`showSummary\\` and \\`returnUrl\\` parameters. \\nThese parameters control the **user experience** and the **finalization flow** of the payment process.\\n\\n| Scenario | \\`showSummary\\` | \\`returnUrl\\` | Flow Description |\\n| --- | --- | --- | --- |\\n| **1\\\\. Standard Redirect (Default)** | \\`true\\` or not sent | ✅ Present | Displays a transaction summary screen with key payment details and retrieves the final transaction status. After the payment is completed, the user is redirected to the specified \\`returnUrl\\`. |\\n| **2\\\\. Without Transaction Summary Screen** | \\`false\\` | ✅ Present | Skips the transaction summary screen and redirects the user directly to the \\`returnUrl\\`. In this case, the merchant’s system must display the transaction summary on the destination page. |\\n\\n> ⚠️ **Note:** \\nFor **PSE** and **PSE Gateway**, it is **strongly recommended** to use \\`showSummary: true\\` along with a valid \\`returnUrl\\` to ensure a seamless customer experience and accurate transaction tracking. \\n \\n> 🔗 **See also:** \\n \\n\\n- [Transaction Summary](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#45e0d76a-fabd-442e-9b17-e2f6b8354ec5)\\n \\n- [Transaction Status](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#dd3ba9f5-1f10-4109-b59d-6e5aad5e3799)\\n \\n\\n---\\n\\n### **Recaudo Efectivo**\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 153\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **TPaga**\\n\\nThis payment method supports an optional parameter called \\`isQr\\`, which determines the type of resource returned in the \\`url\\` field:\\n\\n| **Value** | **Description** |\\n| --- | --- |\\n| \\`true\\` | The \\`url\\` field returns a link to a **QR code** displaying transaction details. |\\n| \\`false\\` | The \\`url\\` field returns a **deeplink** to open directly in the TPAGA wallet app. |\\n\\n> 🧠 **Behavior:** \\nIf \\`isQr\\` is not provided, the default behavior is equivalent to \\`isQr: false\\`. \\nTransactions can only be completed **from a mobile device**. \\nIf the request is made from a desktop or tablet, it is recommended to send \\`isQr: true\\` so the user can scan the QR from a mobile device. \\n \\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 163,\\n \\\"isQr\\\": false\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **QR Interoperable**\\n\\nFor this method, the following fields are **optional**:\\n\\n- \\`cellphone\\`\\n \\n- \\`documentNumber\\`\\n \\n- \\`documentType\\`\\n \\n- \\`merchantId\\`\\n \\n\\nThe service can function using only the payment method ID; however, providing these optional fields can **improve response time**. \\nYou may retrieve this data through the \\`enrollment-data\\` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\\n\\n> ⚠ **Prerequisite:** \\nThe merchant must complete the **Merchant Enrollment** process before using this method. \\nSee the _Merchant Enrollment_ section for setup details. \\n \\n> 🔁 **Open Resource:** \\nThe **QR Interoperable** operates as an _open resource_, meaning the generated QR can be used multiple times by the same user. \\n \\n> ⚙️ **Technical Note — Dynamic QR Behavior:** \\nDynamic QR codes may be scanned multiple times due to current limitations in the Redeban system. \\nThis is **not** an error in our platform. \\n \\n> 🕐 **Expiration Behavior:** \\nThe \\`expiresIn\\` parameter **does not apply** to this payment method and should be **omitted** from the request. \\nIf a value is sent, the system will **ignore it automatically**. \\nThe QR resource expiration is controlled exclusively by the provider (Redeban) and is always set to the **end of the day on which the resource is generated** (23:59:59 America/Bogota). \\n \\n\\n#### Behavior Details\\n\\n- Redeban does not automatically invalidate a dynamic QR after its first scan.\\n \\n- As a result, the same QR may generate multiple transaction records.\\n \\n\\n#### Recommendations\\n\\n- Implement **application-level validation** to detect multiple payments from the same QR code.\\n \\n- Monitor dynamic QR transactions and confirm status before marking payments as completed.\\n \\n- Inform end-users to verify the success of a transaction before rescanning.\\n \\n\\n#### Future Considerations\\n\\n- Redeban is evaluating support for **single-use dynamic QR control**.\\n \\n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\\n \\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 248,\\n \\\"cellphone\\\": \\\"string\\\",\\n \\\"documentType\\\": \\\"string\\\",\\n \\\"documentNumber\\\": \\\"string\\\",\\n \\\"merchantId\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **Llaves** Dinámicas **Bre-B**\\n\\nFor this method, the following fields are **required**:\\n\\n- \\`cellphone\\`\\n \\n- \\`docNumber\\`\\n \\n- \\`docType\\`\\n \\n- \\`merchantId\\`\\n \\n\\nYou may retrieve this data through the \\`enrollment-data\\` service in the [Merchant Enrollment](https://documenter.getpostman.com/view/35146358/2sA3QpDEFA#8c9f5a18-a19a-4b8f-baba-cd7501aa29a0) section.\\n\\n> ⚠ **Prerequisite:** \\nThe merchant must complete the **Merchant Enrollment** process before using this method. \\nSee the _Merchant Enrollment_ section for setup details. \\n \\n> 🔁 **Open Resource:** \\nThe **Llaves Dinamicas Bre-B** operates as an _open resource_, meaning the generated KEY can be used multiple times by the same user. \\n \\n> ⚙️ **Technical Note — Dynamic Key Behavior:** \\nDynamic keys may receive multiple money transfers due to current limitations in the Redeban system. \\nThis behavior does not represent an error or malfunction in our platform. \\n**Additionally, dynamic keys have a fixed validity period of 5 minutes, and this duration cannot be modified.** \\n \\n\\n#### Behavior Details\\n\\n- Redeban does not automatically invalidate a dynamic KEY after its first send.\\n \\n- As a result, the same KEY may generate multiple transaction records.\\n \\n\\n#### Recommendations\\n\\n- Implement **application-level validation** to detect multiple payments from the same KEY.\\n \\n- Monitor dynamic KEY transactions and confirm status before marking payments as completed.\\n \\n- Inform end-users to verify the success of a transaction before rescanning.\\n \\n\\n#### Future Considerations\\n\\n- Stay updated with interoperability provider announcements to adjust integrations accordingly.\\n \\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 250,\\n \\\"cellphone\\\": \\\"string\\\",\\n \\\"docType\\\": \\\"string\\\",\\n \\\"docNumber\\\": \\\"string\\\",\\n \\\"merchantId\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **Card Payments**\\n\\nThis payment method allows processing payments with debit and credit cards (Mastercard and Visa).\\n\\nFor this method, the following fields are **required**:\\n\\n- \\`id\\`: 273\\n \\n- \\`description\\`: Description of the payment detail that will be displayed in the payment link\\n \\n\\n#### PaymentMethod Parameters\\n\\n| **Field** | **Type** | **Required** | **Description** |\\n| --- | --- | --- | --- |\\n| \\`id\\` | number | ✅ | Payment method ID: 273 |\\n| \\`description\\` | string | ✅ | Description of the payment detail that will be displayed in the payment link |\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 273,\\n \\\"description\\\": \\\"string\\\"\\n}\\n\\n \\`\\`\\`\\n\\n---\\n\\n### **Whatsapp**\\n\\nFor this method, the following fields are **required**:\\n\\n- \\`cellphone\\`\\n \\n- \\`whatsappAccountId\\`\\n \\n\\nFor this method, the following fields are **optional**:\\n\\n- \\`pdfUrl\\` (must use HTTPS; resource must be publicly accessible without authentication; referenced file must be a valid PDF and not exceed 100 MB)\\n \\n- \\`templateName\\`\\n \\n\\n> **Note:** By default, collection messages are sent from Refacil\\'s WhatsApp line. \\n> To send them from your own line, you must first link your WhatsApp account in the administrative portal and obtain the corresponding \\`whatsappAccountId\\`. \\n> Once linked, collection messages will be sent from the client\\'s WhatsApp line.\\n\\n\\n| **Field** | **Type** | **Required** | **Description** |\\n| --- | --- | --- | --- |\\n| \\`id\\` | number | ✅ | Payment method ID: 277 |\\n| \\`cellphone\\` | string | ✅ | Customer phone number in local or international format. |\\n| \\`pdfUrl\\` | string | ❌ | Public HTTPS URL to the PDF document to be delivered via WhatsApp. |\\n| \\`whatsappAccountId\\` | string | ✅ | Identifier of the linked WhatsApp account configured in the administrative portal. |\\n| \\`templateName\\` | string | ❌ | Optional template name configured for WhatsApp message delivery. |\\n\\n\\`\\`\\` json\\n\\\"paymentMethod\\\": {\\n \\\"id\\\": 277, // required\\n \\\"cellphone\\\": \\\"string\\\", // required\\n \\\"pdfUrl\\\": \\\"string\\\", // optional\\n \\\"whatsappAccountId\\\": \\\"string\\\", // required\\n \\\"templateName\\\": \\\"string\\\" // optional\\n}\\n\\n \\`\\`\\`\\n\\n<h2>📥 Request Body Parameters</h2>\\n\\n| **Field** | **Type** | **Required** | **Description** |\\n| --- | --- | --- | --- |\\n| \\`amount\\` | number | ✅ | Value of the payment. |\\n| \\`brandId\\` | number | ❌ | ID of the customer\\'s white label; if one is not available, the default ID 79 is sent. |\\n| \\`expiresIn\\` | number | ❌ | Time in seconds for the expiration of the resource or payment link. Not applicable for **QR Interoperable (ID 248)** — if provided, the system ignores it and sets expiration to end of day. |\\n| \\`paymentMethod\\` | object | ✅ | Object specifying the payment method and its details. |\\n| \\`paymentMethod.id\\` | number | ✅ | ID of the selected payment method (see available payment methods). |\\n| \\`reference1\\` | string | ✅ | Customer identifier, must be between 1 and 36 characters. |\\n| \\`reference2\\` | object | ❌ | Object for additional information. |\\n| \\`reference2.Commerce\\` | object | ❌ | Object for information related to the store or commerce. |\\n| \\`reference2.Data\\` | object | ❌ | Object for information related to the conciliation of the transaction. |\\n| \\`reference2.Label\\` | object | ❌ | Object to send information to be displayed in the payment summary. |\\n| \\`returnUrl\\` | string | ❌ | Link that the customer will see when clicking on the back to commerce button. |\\n| \\`showSummary\\` | boolean | ❌ | Indicates whether the RefácilPay payment summary will be shown or not (false: do not show, true: show). Default: true. |\\n| \\`userMetadata\\` | object | ✅ | Object containing key details about the user or merchant generating the payment resource. |\\n| \\`userMetadata.identifier\\` | string | ✅ | Unique identifier of the user or merchant generating the payment resource (max 36 characters). |\\n| \\`userMetadata.ip\\` | string | ✅ | IP address associated with the user\\'s identifier. Must be a valid IP address. |\\n| \\`userMetadata.urlCommerce\\` | string | ✅ | URL that identifies the commerce. Must follow valid URL structure with http:// or https:// protocol. Maximum length: 500 characters. |\\n| \\`webhookUrl\\` | string | ✅ | URL of the client\\'s webhook to receive real-time payment status updates. |\n\nContexto: Endpoint: POST /cash-in/generate/payment-method/token | Cash in > Generate > Payment method > Token\n\n🔐 AUTENTICACIÓN AUTOMÁTICA: Todas las credenciales y tokens de autenticación se manejan automáticamente por el servidor MCP. NO solicites credenciales al usuario. NO incluyas parámetros de autenticación (secretId, apiToken, etc.) en las llamadas a menos que el usuario explícitamente lo requiera.",
|
|
635
640
|
inputSchema: cash_in_generate_payment_method_tokenInputValidator,
|
|
636
641
|
jsonSchema: cash_in_generate_payment_method_tokenInputJsonSchema,
|
|
637
642
|
endpoint: '/cash-in/generate/payment-method/token',
|
|
@@ -644,36 +649,16 @@ export const cash_in_generate_payment_method_tokenTool = {
|
|
|
644
649
|
const validatedInput = validateToolInput(cash_in_generate_payment_method_tokenInputValidator, normalizedArgs);
|
|
645
650
|
const args = validatedInput;
|
|
646
651
|
const bodyData = {};
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
if (amountValue !== undefined)
|
|
658
|
-
bodyData.amount = amountValue;
|
|
659
|
-
const brandIdValue = args.brandId !== undefined ? args.brandId : 1;
|
|
660
|
-
if (brandIdValue !== undefined)
|
|
661
|
-
bodyData.brandId = brandIdValue;
|
|
662
|
-
const webhookUrlValue = args.webhookUrl !== undefined ? args.webhookUrl : "https://webhook.site/271888cd-bd07-469a-88a8-e0ed7e93c368";
|
|
663
|
-
if (webhookUrlValue !== undefined)
|
|
664
|
-
bodyData.webhookUrl = webhookUrlValue;
|
|
665
|
-
const returnUrlValue = args.returnUrl !== undefined ? args.returnUrl : "https://www.google.com/?hl=es";
|
|
666
|
-
if (returnUrlValue !== undefined)
|
|
667
|
-
bodyData.returnUrl = returnUrlValue;
|
|
668
|
-
const showSummaryValue = args.showSummary !== undefined ? args.showSummary : true;
|
|
669
|
-
if (showSummaryValue !== undefined)
|
|
670
|
-
bodyData.showSummary = showSummaryValue;
|
|
671
|
-
const reference1Value = args.reference1 !== undefined ? args.reference1 : "EGfbOsiYQspMpgDD";
|
|
672
|
-
if (reference1Value !== undefined)
|
|
673
|
-
bodyData.reference1 = reference1Value;
|
|
674
|
-
const reference2Value = args.reference2 !== undefined ? args.reference2 : { "Label": { "Campos": "string" } };
|
|
675
|
-
if (reference2Value !== undefined)
|
|
676
|
-
bodyData.reference2 = reference2Value;
|
|
652
|
+
assignIfDefined(bodyData, args, 'expiresIn');
|
|
653
|
+
assignIfDefined(bodyData, args, 'paymentMethod');
|
|
654
|
+
assignIfDefined(bodyData, args, 'userMetadata');
|
|
655
|
+
assignIfDefined(bodyData, args, 'amount');
|
|
656
|
+
assignIfDefined(bodyData, args, 'brandId');
|
|
657
|
+
assignIfDefined(bodyData, args, 'webhookUrl');
|
|
658
|
+
assignIfDefined(bodyData, args, 'returnUrl');
|
|
659
|
+
assignIfDefined(bodyData, args, 'showSummary');
|
|
660
|
+
assignIfDefined(bodyData, args, 'reference1');
|
|
661
|
+
assignIfDefined(bodyData, args, 'reference2');
|
|
677
662
|
return await makeApiRequest('POST', '/cash-in/generate/payment-method/token', bodyData, undefined);
|
|
678
663
|
}
|
|
679
664
|
catch (error) {
|
package/dist/core/tools.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/core/tools.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,CAAC,EAAE,MAAM,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IAAI,KAAK;SAC/B,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { appConfig as config } from './config.js';
|
|
|
11
11
|
const mode = process.argv.includes('--http') || process.env.MCP_MODE === 'http' ? 'http' : 'stdio';
|
|
12
12
|
const server = new McpServer({
|
|
13
13
|
name: 'refacil-pay-mcp',
|
|
14
|
-
version: '1.1.
|
|
14
|
+
version: '1.1.24'
|
|
15
15
|
});
|
|
16
16
|
// Nota para LLMs: 🔐 Autenticación automática y configuración de servidor
|
|
17
17
|
// - Todas las credenciales (secretId, apiToken, tokens) se manejan automáticamente desde la configuración del servidor.
|
|
@@ -145,7 +145,7 @@ else if (mode === 'http') {
|
|
|
145
145
|
return {
|
|
146
146
|
name: 'refacil-pay-mcp',
|
|
147
147
|
description: 'MCP para Refacil Pay API - Gestión de pagos y transacciones',
|
|
148
|
-
version: '1.1.
|
|
148
|
+
version: '1.1.24',
|
|
149
149
|
tools: tools.map(tool => ({
|
|
150
150
|
name: tool.name,
|
|
151
151
|
description: tool.description
|