Skip to content

Commit 0d0ba4f

Browse files
change version (#117)
1 parent 999db29 commit 0d0ba4f

File tree

10 files changed

+431
-14
lines changed

10 files changed

+431
-14
lines changed

Conekta.net.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Conekta.net", "src\Conekta.net\Conekta.net.csproj", "{BC7C545E-C9C4-4F7B-8BA2-1F5C0C7C8B5F}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Conekta.net", "src\Conekta.net\Conekta.net.csproj", "{603464E7-D19E-4B64-B1B1-A0185A58D4A6}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Conekta.net.Test", "src\Conekta.net.Test\Conekta.net.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{BC7C545E-C9C4-4F7B-8BA2-1F5C0C7C8B5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{BC7C545E-C9C4-4F7B-8BA2-1F5C0C7C8B5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{BC7C545E-C9C4-4F7B-8BA2-1F5C0C7C8B5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{BC7C545E-C9C4-4F7B-8BA2-1F5C0C7C8B5F}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{603464E7-D19E-4B64-B1B1-A0185A58D4A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{603464E7-D19E-4B64-B1B1-A0185A58D4A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{603464E7-D19E-4B64-B1B1-A0185A58D4A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{603464E7-D19E-4B64-B1B1-A0185A58D4A6}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.0.13
1+
6.0.14

api/openapi.yaml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5787,6 +5787,99 @@ paths:
57875787
summary: Get Payout Order
57885788
tags:
57895789
- Payout Orders
5790+
/payout_orders/{id}/cancel:
5791+
put:
5792+
description: Cancel a payout Order resource that corresponds to a payout order
5793+
ID.
5794+
operationId: cancelPayoutOrderById
5795+
parameters:
5796+
- description: Identifier of the resource
5797+
example: 6307a60c41de27127515a575
5798+
explode: false
5799+
in: path
5800+
name: id
5801+
required: true
5802+
schema:
5803+
type: string
5804+
style: simple
5805+
- description: Use for knowing which language to use
5806+
examples:
5807+
es:
5808+
summary: for spanish request/response
5809+
value: es
5810+
en:
5811+
summary: for english request/response
5812+
value: en
5813+
explode: false
5814+
in: header
5815+
name: Accept-Language
5816+
required: false
5817+
schema:
5818+
default: es
5819+
enum:
5820+
- es
5821+
- en
5822+
type: string
5823+
style: simple
5824+
responses:
5825+
"200":
5826+
content:
5827+
application/vnd.conekta-v2.1.0+json:
5828+
schema:
5829+
$ref: '#/components/schemas/payout_order_response'
5830+
description: successful operation
5831+
"401":
5832+
content:
5833+
application/vnd.conekta-v2.1.0+json:
5834+
example:
5835+
details:
5836+
- message: Please include your access key in your request.
5837+
param: null
5838+
code: conekta.errors.authentication.missing_key
5839+
log_id: 507f1f77bcf86cd799439011
5840+
object: error
5841+
type: authentication_error
5842+
schema:
5843+
$ref: '#/components/schemas/error'
5844+
description: authentication error
5845+
"404":
5846+
content:
5847+
application/vnd.conekta-v2.1.0+json:
5848+
example:
5849+
details:
5850+
- message: The resource was not found.
5851+
param: null
5852+
code: conekta.errors.resource_not_found.entity
5853+
debug_message: The object Webhook "641b1d5662d7e00001eaa46b" could
5854+
not be found.
5855+
log_id: 641b6c253cd9a50001514fae
5856+
object: error
5857+
type: resource_not_found_error
5858+
schema:
5859+
$ref: '#/components/schemas/error'
5860+
description: not found entity
5861+
"500":
5862+
content:
5863+
application/vnd.conekta-v2.1.0+json:
5864+
example:
5865+
details:
5866+
- debug_message: There was a runtime error and Conekta engineers have
5867+
been notified.
5868+
message: There was a runtime error and Conekta engineers have been
5869+
notified.
5870+
param: null
5871+
code: conekta.errors.api.system.general_failure
5872+
object: error
5873+
type: api_error
5874+
log_id: 641b6f2b3cd9a50001515098
5875+
schema:
5876+
$ref: '#/components/schemas/error'
5877+
description: internal server error
5878+
security:
5879+
- bearerAuth: []
5880+
summary: Cancel Payout Order
5881+
tags:
5882+
- Payout Orders
57905883
/checkouts:
57915884
get:
57925885
description: Returns a list of links generated by the merchant
@@ -17195,6 +17288,7 @@ components:
1719517288
failed
1719617289
example: 3
1719717290
format: int8
17291+
nullable: true
1719817292
type: integer
1719917293
metadata:
1720017294
additionalProperties: true
@@ -17914,16 +18008,19 @@ components:
1791418008
example: "12"
1791518009
maxLength: 2
1791618010
type: string
18011+
x-encripted: true
1791718012
exp_year:
1791818013
description: It is a value that allows identifying the expiration year of
1791918014
the card.
1792018015
example: "26"
1792118016
maxLength: 2
1792218017
type: string
18018+
x-encripted: true
1792318019
name:
1792418020
description: It is a value that allows identifying the name of the cardholder.
1792518021
example: Miguel
1792618022
type: string
18023+
x-encripted: true
1792718024
number:
1792818025
description: It is a value that allows identifying the number of the card.
1792918026
example: "4242424242424242"

config-netcore.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@
3333
"packageCopyright" : "Conekta",
3434
"PackageReleaseNotes" : "add support for payout orders",
3535
"releaseNote" : "update entity webhook, nuget config",
36-
"packageVersion" : "6.0.13"
36+
"packageVersion" : "6.0.14"
3737
}

docs/OrderResponseCheckout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
1414
**Id** | **string** | | [optional]
1515
**IsRedirectOnFailure** | **bool** | | [optional]
1616
**Livemode** | **bool** | | [optional]
17-
**MaxFailedRetries** | **int** | Number of retries allowed before the checkout is marked as failed | [optional]
17+
**MaxFailedRetries** | **int?** | Number of retries allowed before the checkout is marked as failed | [optional]
1818
**Metadata** | **Dictionary<string, Object>** | | [optional]
1919
**MonthlyInstallmentsEnabled** | **bool** | | [optional]
2020
**MonthlyInstallmentsOptions** | **List<int>** | | [optional]

docs/PayoutOrdersApi.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,110 @@ All URIs are relative to *https://api.conekta.io*
44

55
| Method | HTTP request | Description |
66
|--------|--------------|-------------|
7+
| [**CancelPayoutOrderById**](PayoutOrdersApi.md#cancelpayoutorderbyid) | **PUT** /payout_orders/{id}/cancel | Cancel Payout Order |
78
| [**CreatePayoutOrder**](PayoutOrdersApi.md#createpayoutorder) | **POST** /payout_orders | Create payout order |
89
| [**GetPayoutOrderById**](PayoutOrdersApi.md#getpayoutorderbyid) | **GET** /payout_orders/{id} | Get Payout Order |
910
| [**GetPayoutOrders**](PayoutOrdersApi.md#getpayoutorders) | **GET** /payout_orders | Get a list of Payout Orders |
1011

12+
<a id="cancelpayoutorderbyid"></a>
13+
# **CancelPayoutOrderById**
14+
> PayoutOrderResponse CancelPayoutOrderById (string id, string acceptLanguage = null)
15+
16+
Cancel Payout Order
17+
18+
Cancel a payout Order resource that corresponds to a payout order ID.
19+
20+
### Example
21+
```csharp
22+
using System.Collections.Generic;
23+
using System.Diagnostics;
24+
using Conekta.net.Api;
25+
using Conekta.net.Client;
26+
using Conekta.net.Model;
27+
28+
namespace Example
29+
{
30+
public class CancelPayoutOrderByIdExample
31+
{
32+
public static void Main()
33+
{
34+
Configuration config = new Configuration();
35+
config.BasePath = "https://api.conekta.io";
36+
// Configure Bearer token for authorization: bearerAuth
37+
config.AccessToken = "YOUR_BEARER_TOKEN";
38+
39+
var apiInstance = new PayoutOrdersApi(config);
40+
var id = 6307a60c41de27127515a575; // string | Identifier of the resource
41+
var acceptLanguage = es; // string | Use for knowing which language to use (optional) (default to es)
42+
43+
try
44+
{
45+
// Cancel Payout Order
46+
PayoutOrderResponse result = apiInstance.CancelPayoutOrderById(id, acceptLanguage);
47+
Debug.WriteLine(result);
48+
}
49+
catch (ApiException e)
50+
{
51+
Debug.Print("Exception when calling PayoutOrdersApi.CancelPayoutOrderById: " + e.Message);
52+
Debug.Print("Status Code: " + e.ErrorCode);
53+
Debug.Print(e.StackTrace);
54+
}
55+
}
56+
}
57+
}
58+
```
59+
60+
#### Using the CancelPayoutOrderByIdWithHttpInfo variant
61+
This returns an ApiResponse object which contains the response data, status code and headers.
62+
63+
```csharp
64+
try
65+
{
66+
// Cancel Payout Order
67+
ApiResponse<PayoutOrderResponse> response = apiInstance.CancelPayoutOrderByIdWithHttpInfo(id, acceptLanguage);
68+
Debug.Write("Status Code: " + response.StatusCode);
69+
Debug.Write("Response Headers: " + response.Headers);
70+
Debug.Write("Response Body: " + response.Data);
71+
}
72+
catch (ApiException e)
73+
{
74+
Debug.Print("Exception when calling PayoutOrdersApi.CancelPayoutOrderByIdWithHttpInfo: " + e.Message);
75+
Debug.Print("Status Code: " + e.ErrorCode);
76+
Debug.Print(e.StackTrace);
77+
}
78+
```
79+
80+
### Parameters
81+
82+
| Name | Type | Description | Notes |
83+
|------|------|-------------|-------|
84+
| **id** | **string** | Identifier of the resource | |
85+
| **acceptLanguage** | **string** | Use for knowing which language to use | [optional] [default to es] |
86+
87+
### Return type
88+
89+
[**PayoutOrderResponse**](PayoutOrderResponse.md)
90+
91+
### Authorization
92+
93+
[bearerAuth](../README.md#bearerAuth)
94+
95+
### HTTP request headers
96+
97+
- **Content-Type**: Not defined
98+
- **Accept**: application/vnd.conekta-v2.1.0+json
99+
100+
101+
### HTTP response details
102+
| Status code | Description | Response headers |
103+
|-------------|-------------|------------------|
104+
| **200** | successful operation | - |
105+
| **401** | authentication error | - |
106+
| **404** | not found entity | - |
107+
| **500** | internal server error | - |
108+
109+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
110+
11111
<a id="createpayoutorder"></a>
12112
# **CreatePayoutOrder**
13113
> PayoutOrderResponse CreatePayoutOrder (PayoutOrder payoutOrder, string acceptLanguage = null)

0 commit comments

Comments
 (0)