refacil-commerce-mcp 1.0.8 → 1.0.9
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 +268 -62
- package/dist/core/resources.js +40 -47
- package/dist/core/resources.js.map +1 -1
- package/dist/core/tools.d.ts +4 -5
- package/dist/core/tools.js +54 -139
- package/dist/core/tools.js.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Servidor MCP (Model Context Protocol) generado automáticamente para la API refa
|
|
|
4
4
|
|
|
5
5
|
## 🚀 Características
|
|
6
6
|
|
|
7
|
-
- **
|
|
7
|
+
- **32 herramientas** generadas automáticamente desde la colección Postman
|
|
8
8
|
- **Autenticación flexible**: Username/SecretKey con renovación automática de tokens
|
|
9
9
|
- **Servidor HTTP** con Fastify
|
|
10
10
|
- **Protocolo MCP** estándar para integración con IDEs
|
|
@@ -858,67 +858,19 @@ The response will include the results of the query in case of success.
|
|
|
858
858
|
| ownAgreementId | null | Campo del body: ownAgreementId |
|
|
859
859
|
| data | object | Campo del body: data |
|
|
860
860
|
|
|
861
|
-
### `
|
|
862
|
-
|
|
863
|
-
---
|
|
864
|
-
|
|
865
|
-
### Description
|
|
866
|
-
|
|
867
|
-
This HTTP POST request is used to perform a custom query on the platform. The request body should be sent with the necessary parameters for the query in the format specified by the QueryBody object. The response will include the results of the query in case of success.
|
|
868
|
-
|
|
869
|
-
---
|
|
870
|
-
|
|
871
|
-
### Request Body Schema
|
|
872
|
-
|
|
873
|
-
- productId (number) `required`: Identifier of the product to perform the query.
|
|
874
|
-
|
|
875
|
-
- queryType (string) `required`: Type of query to be performed.
|
|
876
|
-
|
|
877
|
-
- ownAgreementId (null): Identifier of the own agreement, if applicable.
|
|
878
|
-
|
|
879
|
-
- data (object) `required`: Additional data for the query.
|
|
880
|
-
|
|
881
|
-
- reference (string) `required`: Reference for the query.
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
---
|
|
885
|
-
|
|
886
|
-
### Response Body Schema
|
|
887
|
-
|
|
888
|
-
- message (string): Response message.
|
|
889
|
-
|
|
890
|
-
- messageCode (string): Code related to the response message.
|
|
891
|
-
|
|
892
|
-
- data (object): Response data object.
|
|
893
|
-
|
|
894
|
-
- payload (object): Payload data.
|
|
895
|
-
|
|
896
|
-
- amount (number): Amount related to the product.
|
|
897
|
-
|
|
898
|
-
- productId (number): ID of the product.
|
|
899
|
-
|
|
900
|
-
- productName (string): Name of the product.
|
|
901
|
-
|
|
902
|
-
- reference (string): Reference related to the query.
|
|
903
|
-
|
|
904
|
-
- hashEchoData (string): Hash echo data.
|
|
905
|
-
|
|
906
|
-
- hash (string): Hash value.
|
|
907
|
-
|
|
908
|
-
- amountEditable (boolean): Indicates if the amount is editable.
|
|
861
|
+
### `query`
|
|
909
862
|
|
|
910
|
-
**
|
|
863
|
+
**Important:** This request will be processed within a timeout of **30,000 milliseconds (30 seconds)**.
|
|
911
864
|
|
|
912
|
-
|
|
913
|
-
| --- | --- | --- |
|
|
914
|
-
| productId | number | Campo del body: productId |
|
|
915
|
-
| queryType | string | Campo del body: queryType |
|
|
916
|
-
| ownAgreementId | number | Campo del body: ownAgreementId |
|
|
917
|
-
| data | object | Campo del body: data |
|
|
865
|
+
### Test Data
|
|
918
866
|
|
|
919
|
-
|
|
867
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
920
868
|
|
|
921
|
-
|
|
869
|
+
| Field | Example Value |
|
|
870
|
+
|-------|---------------|
|
|
871
|
+
| productId | 1587 |
|
|
872
|
+
| queryType | "BILLData" |
|
|
873
|
+
| data.reference | "63440172" |
|
|
922
874
|
|
|
923
875
|
**Parámetros:**
|
|
924
876
|
|
|
@@ -1026,6 +978,20 @@ Allows performing a sale on the platform. Send the request body with the necessa
|
|
|
1026
978
|
|
|
1027
979
|
- `message`: String representing the message (required)
|
|
1028
980
|
|
|
981
|
+
### Test Data
|
|
982
|
+
|
|
983
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
984
|
+
|
|
985
|
+
| Field | Example Value |
|
|
986
|
+
|-------|---------------|
|
|
987
|
+
| amount | 9999 |
|
|
988
|
+
| productId | 1587 |
|
|
989
|
+
| sellType | "Bill" |
|
|
990
|
+
| data.agreement | 2010910 |
|
|
991
|
+
| data.reference | "63440172" |
|
|
992
|
+
| data.cellphone | "3203550000" |
|
|
993
|
+
| data.hashEchoData | "eyJhZ3JlZW1lbnRJZCI6MzM3NDMsInJlZmVyZW5jZTEiOiI2MzQ0MDE3MiIsInJlZmVyZW5jZTIiOm51bGwsImFtb3VudCI6OTk5OSwiYWdyZWVtZW50TWVzc2FnZSI6IiIsImFncmVlbWVudENvZGUiOiIwMCIsInJlcXVpcmVzQW1vdW50IjoiMCIsImFkaXRpb25hbFZhbHVlNTRFY28iOiIwMTIzNDU2Nzg5MCIsImFkaXRpb25hbFZhbHVlNjJFY28iOiIxNTE2NTc4OTU1NjM0MjgxNjM4NzM5OTAyMjk1IiwiYWNjb3VudERhdGFBY3JlZGl0ZWQiOiI0NzU3NjY3MjA1ODE2Mzg3Mzk5MDIyOTUyMjc2IiwiYWRkaXRpb25hbENvbXBhbnlDb2RlIjoiMTUxNjU3ODk1NTYzNDI4MjgwNjI4MzcwMTIxMiIsImRhdGUiOiIyMDI2LTAzLTEwIiwidHJhY2UiOjUxMjF9" |
|
|
994
|
+
|
|
1029
995
|
**Parámetros:**
|
|
1030
996
|
|
|
1031
997
|
| Name | Type | Description |
|
|
@@ -1095,6 +1061,19 @@ The following payload is required for performing a custom query:
|
|
|
1095
1061
|
|
|
1096
1062
|
- `license`: (string, optional) The license plate of the vehicle.
|
|
1097
1063
|
|
|
1064
|
+
### Test Data
|
|
1065
|
+
|
|
1066
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
1067
|
+
|
|
1068
|
+
| Field | Example Value |
|
|
1069
|
+
|-------|---------------|
|
|
1070
|
+
| queryType | "SOATData" |
|
|
1071
|
+
| productId | 91 |
|
|
1072
|
+
| docType | "NIT" |
|
|
1073
|
+
| document | "819000939" |
|
|
1074
|
+
| cellphone | "3200000000" |
|
|
1075
|
+
| license | "NAC854" |
|
|
1076
|
+
|
|
1098
1077
|
**Parámetros:**
|
|
1099
1078
|
|
|
1100
1079
|
| Name | Type | Description |
|
|
@@ -1197,6 +1176,35 @@ The following payload is required for performing a custom sell:
|
|
|
1197
1176
|
|
|
1198
1177
|
After the sale has been successfully completed, the response will follow a structure similar to the following. In this response, important information is provided, such as the balance of the main wallet and the balance of the profit wallet. Additionally, within the 'billData' object, you will find the fundamental information necessary to generate the sales receipt that will be delivered to the end customer. It is important to note that this step is mandatory, as it is a direct requirement from AXA Colpatria.
|
|
1199
1178
|
|
|
1179
|
+
### Test Data
|
|
1180
|
+
|
|
1181
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
1182
|
+
|
|
1183
|
+
| Field | Example Value |
|
|
1184
|
+
|-------|---------------|
|
|
1185
|
+
| productId | 91 |
|
|
1186
|
+
| amount | 557400 |
|
|
1187
|
+
| data.amount.amount | 556400 |
|
|
1188
|
+
| data.amount.runt | 2100 |
|
|
1189
|
+
| data.amount.prima | 364700 |
|
|
1190
|
+
| data.amount.contributions | 189600 |
|
|
1191
|
+
| data.amount.valueDiscountLaw | 0 |
|
|
1192
|
+
| data.amount.valueDiscountTotal | 0 |
|
|
1193
|
+
| data.amount.valuePayDiscount | 556400 |
|
|
1194
|
+
| data.amount.amountAdministrative | 566 |
|
|
1195
|
+
| data.amount.amountTotal | 557400 |
|
|
1196
|
+
| data.amount.dateStart | "2024-06-04" |
|
|
1197
|
+
| data.amount.dateEnd | "2025-06-03" |
|
|
1198
|
+
| data.amount.discount | 0 |
|
|
1199
|
+
| data.license | "EJV885" |
|
|
1200
|
+
| data.hashEchoData | "eyJpZFRyYW5zYWNjaW9uIjoiMmE2MDhjY2YtZjdiOS00ZGM1LTg2OTQtYTAyY2E0ODNkOWE4IiwiaWRDb3JyZWxhY2lvbiI6MTcxNzUzNDY0MTc1MH0=" |
|
|
1201
|
+
| data.cifrateAmount.hash | "eyJhbW91bnQiOjU1NzQwMH0=" |
|
|
1202
|
+
| data.cifrateAmount.hashEchoData | "ef3e40f13fa0430eb1dfa9a8e499e3a4ea81c42159b5ee3eccac88d8ef47198e32d28339fcf656704009a0b05802363b3016d921bcfd6aa8920558535aa75218" |
|
|
1203
|
+
| data.userDetail.cellphone | "3200000000" |
|
|
1204
|
+
| data.userDetail.email | "test@email.com" |
|
|
1205
|
+
| data.userDetail.document | "860002964" |
|
|
1206
|
+
| data.userDetail.docType | "NIT" |
|
|
1207
|
+
|
|
1200
1208
|
**Parámetros:**
|
|
1201
1209
|
|
|
1202
1210
|
| Name | Type | Description |
|
|
@@ -1927,6 +1935,40 @@ Allows performing a sale on the platform. Send the request body with the necessa
|
|
|
1927
1935
|
|
|
1928
1936
|
**Important:** This response will be returned within a timeout of **60,000 milliseconds (60 seconds)**.
|
|
1929
1937
|
|
|
1938
|
+
---
|
|
1939
|
+
|
|
1940
|
+
## Request Schema
|
|
1941
|
+
|
|
1942
|
+
- `productId`: Number representing the product identifier (required)
|
|
1943
|
+
|
|
1944
|
+
- `amount`: Number representing the payment amount (required)
|
|
1945
|
+
|
|
1946
|
+
- `data`: Object containing additional transaction data (required)
|
|
1947
|
+
|
|
1948
|
+
- `cellphone`: String containing the customer's cellphone number (required)
|
|
1949
|
+
|
|
1950
|
+
- `document`: String containing the customer's identification document number (required)
|
|
1951
|
+
|
|
1952
|
+
- `name`: String containing the customer's first name (required)
|
|
1953
|
+
|
|
1954
|
+
- `lastname`: String containing the customer's last name (required)
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
---
|
|
1958
|
+
|
|
1959
|
+
### Test Data
|
|
1960
|
+
|
|
1961
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
1962
|
+
|
|
1963
|
+
| Field | Example Value |
|
|
1964
|
+
|-------|---------------|
|
|
1965
|
+
| productId | 603 |
|
|
1966
|
+
| amount | 100 |
|
|
1967
|
+
| data.cellphone | "3200000000" |
|
|
1968
|
+
| data.document | "1023900000" |
|
|
1969
|
+
| data.name | "Pachito" |
|
|
1970
|
+
| data.lastname | "Hernesto" |
|
|
1971
|
+
|
|
1930
1972
|
**Parámetros:**
|
|
1931
1973
|
|
|
1932
1974
|
| Name | Type | Description |
|
|
@@ -1945,6 +1987,28 @@ Allows performing a sale on the platform. Send the request body with the necessa
|
|
|
1945
1987
|
|
|
1946
1988
|
**Important:** This response will be returned within a timeout of **60,000 milliseconds (60 seconds)**.
|
|
1947
1989
|
|
|
1990
|
+
---
|
|
1991
|
+
|
|
1992
|
+
## Request Schema
|
|
1993
|
+
|
|
1994
|
+
- `productId`: Number representing the product identifier (required)
|
|
1995
|
+
|
|
1996
|
+
- `data`: Object containing additional transaction data (required)
|
|
1997
|
+
|
|
1998
|
+
- `cellphone`: String containing the customer's cellphone number (required)
|
|
1999
|
+
|
|
2000
|
+
|
|
2001
|
+
---
|
|
2002
|
+
|
|
2003
|
+
### Test Data
|
|
2004
|
+
|
|
2005
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
2006
|
+
|
|
2007
|
+
| Field | Example Value |
|
|
2008
|
+
|-------|---|
|
|
2009
|
+
| productId | 200048 |
|
|
2010
|
+
| data.cellphone | "3215302000" |
|
|
2011
|
+
|
|
1948
2012
|
**Parámetros:**
|
|
1949
2013
|
|
|
1950
2014
|
| Name | Type | Description |
|
|
@@ -2044,6 +2108,16 @@ Allows performing a bill payment operation on the platform. Send the request bod
|
|
|
2044
2108
|
|
|
2045
2109
|
**Important:** This response will be returned within a timeout of **60,000 milliseconds (60 seconds)**.
|
|
2046
2110
|
|
|
2111
|
+
### Test Data
|
|
2112
|
+
|
|
2113
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
2114
|
+
|
|
2115
|
+
| Field | Example Value |
|
|
2116
|
+
|-------|---------------|
|
|
2117
|
+
| productId | 50 |
|
|
2118
|
+
| amount | 1000 |
|
|
2119
|
+
| data.cellphone | "3015874044" |
|
|
2120
|
+
|
|
2047
2121
|
**Parámetros:**
|
|
2048
2122
|
|
|
2049
2123
|
| Name | Type | Description |
|
|
@@ -2145,6 +2219,17 @@ Allows performing a sale on the platform. Send the request body with the necessa
|
|
|
2145
2219
|
|
|
2146
2220
|
**Important:** This response will be returned within a timeout of **60,000 milliseconds (60 seconds)**.
|
|
2147
2221
|
|
|
2222
|
+
### Test Data
|
|
2223
|
+
|
|
2224
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
2225
|
+
|
|
2226
|
+
| Field | Example Value |
|
|
2227
|
+
|-------|---------------|
|
|
2228
|
+
| productId | 202 |
|
|
2229
|
+
| amount | 50 |
|
|
2230
|
+
| data.cellphone | "3015874029" |
|
|
2231
|
+
| data.email | "correo@refacil.com" |
|
|
2232
|
+
|
|
2148
2233
|
**Parámetros:**
|
|
2149
2234
|
|
|
2150
2235
|
| Name | Type | Description |
|
|
@@ -2240,6 +2325,16 @@ Allows performing a bill payment operation on the platform. Send the request bod
|
|
|
2240
2325
|
|
|
2241
2326
|
- `message`: String representing the message (required)
|
|
2242
2327
|
|
|
2328
|
+
### Test Data
|
|
2329
|
+
|
|
2330
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
2331
|
+
|
|
2332
|
+
| Field | Example Value |
|
|
2333
|
+
|-------|---------------|
|
|
2334
|
+
| productId | 1014005 |
|
|
2335
|
+
| data.cellphone | "3104784242" |
|
|
2336
|
+
| data.email | "fake@refacil.com" |
|
|
2337
|
+
|
|
2243
2338
|
**Parámetros:**
|
|
2244
2339
|
|
|
2245
2340
|
| Name | Type | Description |
|
|
@@ -2334,6 +2429,16 @@ Allows performing a bill payment operation on the platform. Send the request bod
|
|
|
2334
2429
|
|
|
2335
2430
|
- `message`: String representing the message (required)
|
|
2336
2431
|
|
|
2432
|
+
### Test Data
|
|
2433
|
+
|
|
2434
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
2435
|
+
|
|
2436
|
+
| Field | Example Value |
|
|
2437
|
+
|-------|---------------|
|
|
2438
|
+
| productId | 100777 |
|
|
2439
|
+
| data.cellphone | "3104784242" |
|
|
2440
|
+
| data.email | "fake@refacil.com" |
|
|
2441
|
+
|
|
2337
2442
|
**Parámetros:**
|
|
2338
2443
|
|
|
2339
2444
|
| Name | Type | Description |
|
|
@@ -2428,6 +2533,16 @@ Allows performing a bill payment operation on the platform. Send the request bod
|
|
|
2428
2533
|
|
|
2429
2534
|
- `message`: String representing the message (required)
|
|
2430
2535
|
|
|
2536
|
+
### Test Data
|
|
2537
|
+
|
|
2538
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
2539
|
+
|
|
2540
|
+
| Field | Example Value |
|
|
2541
|
+
|-------|---------------|
|
|
2542
|
+
| productId | 1014004 |
|
|
2543
|
+
| data.cellphone | "3104784242" |
|
|
2544
|
+
| data.email | "fake@refacil.com" |
|
|
2545
|
+
|
|
2431
2546
|
**Parámetros:**
|
|
2432
2547
|
|
|
2433
2548
|
| Name | Type | Description |
|
|
@@ -2435,7 +2550,7 @@ Allows performing a bill payment operation on the platform. Send the request bod
|
|
|
2435
2550
|
| data | object | Campo del body: data |
|
|
2436
2551
|
| productId | number | Campo del body: productId |
|
|
2437
2552
|
|
|
2438
|
-
### `
|
|
2553
|
+
### `query_24`
|
|
2439
2554
|
|
|
2440
2555
|
---
|
|
2441
2556
|
|
|
@@ -2492,6 +2607,19 @@ If the request fails with the errorCode `product.errors.disabled` or a similar c
|
|
|
2492
2607
|
|
|
2493
2608
|
**Important:** This request will be processed within a timeout of **30,000 milliseconds (30 seconds)**.
|
|
2494
2609
|
|
|
2610
|
+
### Test Data
|
|
2611
|
+
|
|
2612
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
2613
|
+
|
|
2614
|
+
| Field | Example Value |
|
|
2615
|
+
|-------|---------------|
|
|
2616
|
+
| queryType | "ConfirmData" |
|
|
2617
|
+
| productId | 231 |
|
|
2618
|
+
| data.carrierId | 231 |
|
|
2619
|
+
| data.cellphone | "3203550000" |
|
|
2620
|
+
| data.amount | 10000 |
|
|
2621
|
+
| data.reference | "1234567" |
|
|
2622
|
+
|
|
2495
2623
|
**Parámetros:**
|
|
2496
2624
|
|
|
2497
2625
|
| Name | Type | Description |
|
|
@@ -2601,6 +2729,19 @@ The timeout value specified below is directly established by the provider and mu
|
|
|
2601
2729
|
|
|
2602
2730
|
- `message`: String representing the message (required)
|
|
2603
2731
|
|
|
2732
|
+
### Test Data
|
|
2733
|
+
|
|
2734
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
2735
|
+
|
|
2736
|
+
| Field | Example Value |
|
|
2737
|
+
|-------|---------------|
|
|
2738
|
+
| productId | 231 |
|
|
2739
|
+
| amount | 10000 |
|
|
2740
|
+
| data.plan | "AP" |
|
|
2741
|
+
| data.reference | "1234567" |
|
|
2742
|
+
| data.cellphone | "3203550000" |
|
|
2743
|
+
| data.hashEchoData | "eyJub21icmVfY2xpZW50ZSI6IkVMU1kgU0VyVklDRSIsImRpcmVjY2lvbiI6IlVSQiBWSUxMQSBWSUNUT1JJQSBDQVNBIDEwMyAtIFNBTiBNQVJUSU4iLCJkbmlfY2xpZW50ZSI6IjM5MDIyMDMxIiwiY29udHJhdG8iOiIxMjM0NTY3IiwidmFsb3JfdmVudGEiOiIxMDAwMCIsInBsYW4iOiIiLCJ0eXBlIjoiIn0=" |
|
|
2744
|
+
|
|
2604
2745
|
**Parámetros:**
|
|
2605
2746
|
|
|
2606
2747
|
| Name | Type | Description |
|
|
@@ -2611,7 +2752,7 @@ The timeout value specified below is directly established by the provider and mu
|
|
|
2611
2752
|
| sellType | string | Campo del body: sellType |
|
|
2612
2753
|
| hash | string | Campo del body: hash |
|
|
2613
2754
|
|
|
2614
|
-
### `
|
|
2755
|
+
### `query_26`
|
|
2615
2756
|
|
|
2616
2757
|
---
|
|
2617
2758
|
|
|
@@ -2680,6 +2821,21 @@ If the request fails with the errorCode `product.errors.disabled` or a similar c
|
|
|
2680
2821
|
|
|
2681
2822
|
**Important:** This request will be processed within a timeout of **30,000 milliseconds (30 seconds)**.
|
|
2682
2823
|
|
|
2824
|
+
### Test Data
|
|
2825
|
+
|
|
2826
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
2827
|
+
|
|
2828
|
+
| Field | Example Value |
|
|
2829
|
+
|-------|---------------|
|
|
2830
|
+
| queryType | "ConfirmData" |
|
|
2831
|
+
| productId | 230 |
|
|
2832
|
+
| data.carrierId | 230 |
|
|
2833
|
+
| data.cellphone | "3203550000" |
|
|
2834
|
+
| data.amount | 10000 |
|
|
2835
|
+
| data.reference | "1234567" |
|
|
2836
|
+
| data.plan | "AP" |
|
|
2837
|
+
| data.type | "PT" |
|
|
2838
|
+
|
|
2683
2839
|
**Parámetros:**
|
|
2684
2840
|
|
|
2685
2841
|
| Name | Type | Description |
|
|
@@ -2689,7 +2845,7 @@ If the request fails with the errorCode `product.errors.disabled` or a similar c
|
|
|
2689
2845
|
| data | object | Campo del body: data |
|
|
2690
2846
|
| ownAgreementId | null | Campo del body: ownAgreementId |
|
|
2691
2847
|
|
|
2692
|
-
### `
|
|
2848
|
+
### `sell_27`
|
|
2693
2849
|
|
|
2694
2850
|
---
|
|
2695
2851
|
|
|
@@ -2802,6 +2958,22 @@ The timeout value specified below is directly established by the provider and mu
|
|
|
2802
2958
|
|
|
2803
2959
|
- `message`: String representing the message (required)
|
|
2804
2960
|
|
|
2961
|
+
### Test Data
|
|
2962
|
+
|
|
2963
|
+
Use the following example values to test this endpoint in the QA environment:
|
|
2964
|
+
|
|
2965
|
+
| Field | Example Value |
|
|
2966
|
+
|-------|---------------|
|
|
2967
|
+
| productId | 230 |
|
|
2968
|
+
| amount | 10000 |
|
|
2969
|
+
| data.cellphone | "3203550000" |
|
|
2970
|
+
| data.plan | "AP" |
|
|
2971
|
+
| data.reference | "1234567" |
|
|
2972
|
+
| data.type | "PT" |
|
|
2973
|
+
| data.valorAseo | 5000 |
|
|
2974
|
+
| data.valorEnergia | 5000 |
|
|
2975
|
+
| data.hashEchoData | "eyJub21icmVfY2xpZW50ZSI6IkVMU1kgU0VyVklDRSIsImRpcmVjY2lvbiI6IlVSQiBWSUxMQSBWSUNUT1JJQSBDQVNBIDEwMyAtIFNBTiBNQVJUSU4iLCJkbmlfY2xpZW50ZSI6IjM5MDIyMDMxIiwiY29udHJhdG8iOiIxMjM0NTY3IiwidmFsb3JfdmVudGEiOiIxMDAwMCIsInZhbG9yX2FzZW8iOjUwMDAsInZhbG9yX2VuZXJnaWEiOjUwMDAsImNlbHVsYXIiOiIzMjAzNTUwMDAwIiwiaWRDb25maXJtYWNpb24iOiJzZGpha3NkamRqYS1kYXMwZGRhbnNkMDItZnNhZGthc2RrNTYiLCJwbGFuIjoiQVAiLCJ0eXBlIjoiUFQifQ==" |
|
|
2976
|
+
|
|
2805
2977
|
**Parámetros:**
|
|
2806
2978
|
|
|
2807
2979
|
| Name | Type | Description |
|
|
@@ -2812,7 +2984,7 @@ The timeout value specified below is directly established by the provider and mu
|
|
|
2812
2984
|
| sellType | string | Campo del body: sellType |
|
|
2813
2985
|
| hash | string | Campo del body: hash |
|
|
2814
2986
|
|
|
2815
|
-
### `
|
|
2987
|
+
### `query_28`
|
|
2816
2988
|
|
|
2817
2989
|
Here you will find all the endpoints related to Transfiya correspondent selling.
|
|
2818
2990
|
|
|
@@ -3060,6 +3232,23 @@ curl --location --globoff 'https://acme.refacil.local/transfiYaNotifications' \
|
|
|
3060
3232
|
|
|
3061
3233
|
**Step 9: Transaction marked as failed:** If the transaction status changes to "REJECTED," the transaction is officially marked as failed within the system.
|
|
3062
3234
|
|
|
3235
|
+
---
|
|
3236
|
+
|
|
3237
|
+
## Request Schema
|
|
3238
|
+
|
|
3239
|
+
- `productId`: Number representing the product identifier (required)
|
|
3240
|
+
|
|
3241
|
+
- `amount`: Number representing the transaction amount in cents (required)
|
|
3242
|
+
|
|
3243
|
+
- `webhookUrl`: String containing the URL to receive transaction status notifications (required)
|
|
3244
|
+
|
|
3245
|
+
- `data`: Object containing additional transaction data (required)
|
|
3246
|
+
|
|
3247
|
+
- `cellphone`: String containing the customer's cellphone number (required)
|
|
3248
|
+
|
|
3249
|
+
- `bankName`: String containing the target bank name (required)
|
|
3250
|
+
|
|
3251
|
+
|
|
3063
3252
|
---
|
|
3064
3253
|
|
|
3065
3254
|
### Test Phone Numbers
|
|
@@ -3227,6 +3416,23 @@ Automatically rejected: 3002491283
|
|
|
3227
3416
|
|
|
3228
3417
|
- **No commission processing**: Since the transaction failed, no commissions are processed for this transaction.
|
|
3229
3418
|
|
|
3419
|
+
---
|
|
3420
|
+
|
|
3421
|
+
## Request Schema
|
|
3422
|
+
|
|
3423
|
+
- `productId`: Number representing the product identifier (required)
|
|
3424
|
+
|
|
3425
|
+
- `amount`: Number representing the deposit amount in cents (required)
|
|
3426
|
+
|
|
3427
|
+
- `webhookUrl`: String containing the URL to receive transaction status notifications (required)
|
|
3428
|
+
|
|
3429
|
+
- `data`: Object containing additional transaction data (required)
|
|
3430
|
+
|
|
3431
|
+
- `cellphone`: String containing the customer's cellphone number (required)
|
|
3432
|
+
|
|
3433
|
+
- `bankName`: String containing the target bank name for the deposit (required)
|
|
3434
|
+
|
|
3435
|
+
|
|
3230
3436
|
---
|
|
3231
3437
|
|
|
3232
3438
|
### Test Phone Numbers
|