diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..9f348fb
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,49 @@
+---
+kind: pipeline
+type: kubernetes
+name: default
+
+trigger:
+ branch:
+ - main
+ event:
+ - pull_request
+
+
+steps:
+ - name: build_image
+ image: plugins/ecr
+ privileged: true
+ settings:
+ dockerfile: Dockerfile
+ registry: 462204803675.dkr.ecr.us-east-1.amazonaws.com
+ debug: true
+ target: builder
+ tags:
+ - "${DRONE_BUILD_NUMBER}"
+ environment:
+ AWS_ACCESS_KEY_ID:
+ from_secret: AWS_ACCESS_KEY_ID
+ AWS_SECRET_ACCESS_KEY:
+ from_secret: AWS_SECRET_ACCESS_KEY
+ PLUGIN_SSH_AGENT_KEY:
+ from_secret: SSH_KEY
+ DOCKER_BUILDKIT: 1
+ ECR_CREATE_REPOSITORY: true
+ PLUGIN_REPO: ${DRONE_REPO}
+ - name: validate
+ image: 462204803675.dkr.ecr.us-east-1.amazonaws.com/${DRONE_REPO}:${DRONE_BUILD_NUMBER}
+ depends_on:
+ - build_image
+ commands:
+ - openapi-generator-cli validate -i api.yaml
+ - name: dummy generator
+ image: 462204803675.dkr.ecr.us-east-1.amazonaws.com/${DRONE_REPO}:${DRONE_BUILD_NUMBER}
+ depends_on:
+ - build_image
+ commands:
+ - openapi-generator-cli generate -i api.yaml -g openapi-yaml
+
+image_pull_secrets:
+ - ECR_PULL_SECRET
+ - DOCKERCONFIG
\ No newline at end of file
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index b2044ca..da0c0c0 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -24,7 +24,7 @@ jobs:
with:
generator: openapi-yaml
openapi-file: api.yaml
- generator-tag: v6.6.0
+ generator-tag: v7.4.0
- name: check if api.yaml are equals
run: |
if diff -q _build/api.yaml openapi-yaml-client/openapi/openapi.yaml >/dev/null; then
diff --git a/Dockerfile b/Dockerfile
index ac344cd..1f80e9f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:14 as builder
+FROM node:16 as builder
# Install OpenJDK-11
RUN apt-get update && \
@@ -6,13 +6,12 @@ RUN apt-get update && \
apt-get clean;
RUN npm install @openapitools/openapi-generator-cli -g
-RUN openapi-generator-cli version-manager set 6.3.0
+RUN openapi-generator-cli version-manager set 7.3.0
WORKDIR /app
COPY parameters/ parameters/
COPY requestBodies requestBodies/
COPY resources resources/
COPY schemas schemas/
-COPY templates templates/
COPY Makefile Makefile
COPY api.yaml api.yaml
diff --git a/Jenkinsfile b/Jenkinsfile
deleted file mode 100644
index d6d1428..0000000
--- a/Jenkinsfile
+++ /dev/null
@@ -1,44 +0,0 @@
-@Library('ckt-libraries')
-import static git.Github.*
-import static checks.SonarQube.*
-import static docker.Docker.*
-
-node('sre-slave') {
-
- ansiColor('xterm') {
- final String REGEX_FILTER = '^((false (opened|reopened|synchronize))|(true (closed)))? (develop|master|main)?$'
- triggers.setGenericTriggerConfiguration(this, repo_name, REGEX_FILTER)
-
- final String CI_DOCKER_TARGET_STAGE = "builder"
- final String DEFAULT_DOCKERFILE = "Dockerfile"
- final List vulnerabilities_type = ["CRITICAL"]
- String target_branch = action == "closed" ? base_branch : head_branch
- currentBuild.displayName = "${BUILD_NUMBER} - ${repo_name} - ${target_branch}"
-
- try {
- notifyPRStatus(this, env.GITHUB_TOKEN_CREDENTIAL_ID, "pending", statuses_url, "${BUILD_URL}")
- stage("Checkout") {
- git(url: clone_url, branch: target_branch, credentialsId: env.GITHUB_SSH_CREDENTIAL_ID)
- }
-
- stage('Docker Build') {
- buildDockerImage(this, repo_name, env.GITHUB_SSH_CREDENTIAL_ID, DEFAULT_DOCKERFILE, CI_DOCKER_TARGET_STAGE)
- }
- stage('validate') {
- runCommand(this, repo_name, "openapi-generator-cli validate -i api.yaml")
- }
- stage('dummy generator') {
- runCommand(this, repo_name, "openapi-generator-cli generate -i api.yaml -g openapi-yaml")
- }
-
- notifyPRStatus(this, env.GITHUB_TOKEN_CREDENTIAL_ID, "success", statuses_url, "${BUILD_URL}")
- } catch (Exception e) {
- currentBuild.result = 'FAILURE'
- echo "Exception: ${e}"
- notifyPRStatus(this, env.GITHUB_TOKEN_CREDENTIAL_ID, "failure", statuses_url, "${BUILD_URL}")
- } finally {
- downDockerCompose(this, "docker-compose.ci.yml", BUILD_NUMBER)
- cleanWs()
- }
- }
-}
diff --git a/Makefile b/Makefile
index 6736d93..f53cf7b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,80 +1,11 @@
API_README_VERSION_ID = 641deb4041d58005f2c45bf3
merge:
- npx @openapitools/openapi-generator-cli generate \
+ docker run --rm \
+ -v ${PWD}:/local openapitools/openapi-generator-cli:v7.4.0 generate \
-g openapi-yaml \
- -i api.yaml \
- -p outputFile=_build/api.yaml \
+ -i /local/api.yaml \
+ -p outputFile=local/_build/api.yaml \
--skip-validate-spec
-
-python:
- npx @openapitools/openapi-generator-cli generate \
- -i api.yaml \
- -g python-nextgen \
- -o ../conekta-python \
- -c config-python.json \
- --global-property modelTests=false
-
-java:
- mkdir -p conekta-java && \
- npx @openapitools/openapi-generator-cli generate \
- -i api.yaml \
- -g java \
- -o ../ct-conekta-java \
- -c config-java.json \
- --global-property modelTests=false \
- --additional-properties=hideGenerationTimestamp=true
-
-go:
- npx @openapitools/openapi-generator-cli generate \
- -i api.yaml \
- -g go \
- -o ../conekta-go \
- -c config-go.json \
- --global-property modelTests=false \
- --additional-properties=hideGenerationTimestamp=true
-
-ruby:
- npx @openapitools/openapi-generator-cli generate \
- -i api.yaml \
- -g ruby \
- -o ../conekta-ruby \
- -c config-ruby.json \
- --global-property modelTests=false
-
-csharp:
- mkdir -p conekta-.net && \
- cp .openapi-generator-ignore conekta-.net/.openapi-generator-ignore && \
- rm -rf ../conekta-.net/docs && \
- rm -rf ../conekta-.net/src/Conekta.net/Model && \
- npx @openapitools/openapi-generator-cli generate \
- -i api.yaml \
- -g csharp-netcore \
- -o ../conekta-.net \
- -c config-netcore.json \
- --global-property modelTests=false
-
-php:
- npx @openapitools/openapi-generator-cli generate \
- -i api.yaml \
- -g php \
- -o ../conekta-php \
- -c config-php.json \
- --global-property modelTests=false
-
-node:
- rm -rf ../conekta-node/api && \
- rm -rf ../conekta-node/model && \
- npx @openapitools/openapi-generator-cli generate -i api.yaml -g typescript-axios \
- -o ../conekta-node -c config-node.json \
- --global-property apiDocs=false --global-property apiTests=true
-
-dart:
- rm -rf ../conekta-dart/lib && \
- rm -rf ../conekta-dart/doc && \
- npx @openapitools/openapi-generator-cli generate -i api.yaml -g dart-dio \
- -o ../conekta-dart \
- -c config-dart.json \
- --global-property modelTests=false
update-readme:
make merge && rdme openapi _build/api.yaml --id=$(API_README_VERSION_ID) --key=${README_API_KEY}
diff --git a/README.md b/README.md
index ec40d70..5272a9b 100644
--- a/README.md
+++ b/README.md
@@ -12,12 +12,12 @@ How to use
-java generator proyect
+go generator proyect
```
-make java
+make go
```
diff --git a/_build/api.yaml b/_build/api.yaml
index 794739c..3f8eeb9 100644
--- a/_build/api.yaml
+++ b/_build/api.yaml
@@ -1227,6 +1227,128 @@ paths:
summary: Get A List of Charges
tags:
- Charges
+ /charges/{id}:
+ put:
+ operationId: updateCharge
+ parameters:
+ - description: Identifier of the resource
+ example: 6307a60c41de27127515a575
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ - description: Use for knowing which language to use
+ examples:
+ es:
+ summary: for spanish request/response
+ value: es
+ en:
+ summary: for english request/response
+ value: en
+ in: header
+ name: Accept-Language
+ required: false
+ schema:
+ default: es
+ enum:
+ - es
+ - en
+ type: string
+ - description: "In the case of a holding company, the company id of the child\
+ \ company to which will process the request."
+ example: 6441b6376b60c3a638da80af
+ in: header
+ name: X-Child-Company-Id
+ required: false
+ schema:
+ type: string
+ requestBody:
+ $ref: '#/components/requestBodies/charge_update'
+ responses:
+ "200":
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ schema:
+ $ref: '#/components/schemas/charge_response'
+ description: successful
+ headers:
+ Date:
+ description: The date and time that the response was sent
+ schema:
+ example: "Fri, 03 Feb 2023 16:57:48 GMT"
+ type: string
+ Content-Type:
+ description: The format of the response body
+ schema:
+ example: application/json; charset=utf-8
+ type: string
+ Content-Length:
+ description: The length of the response body in bytes
+ schema:
+ example: "2737"
+ type: string
+ Connection:
+ description: The type of connection used to transfer the response
+ schema:
+ example: keep-alive
+ type: string
+ Conekta-Media-Type:
+ schema:
+ example: conekta-v2.1.0; format=application/json
+ type: string
+ "422":
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ example:
+ details:
+ - debug_message: The "custom_field" parameter is not allowed
+ message: El parametro "custom_field" no está permitido
+ code: conekta.errors.parameter_validation.whitelist
+ object: error
+ type: parameter_validation_error
+ log_id: 6462aa7c90fef20001633546
+ schema:
+ $ref: '#/components/schemas/error'
+ description: whitelist validation error
+ "404":
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ example:
+ details:
+ - message: The resource was not found.
+ param: null
+ code: conekta.errors.resource_not_found.entity
+ debug_message: The object Webhook "641b1d5662d7e00001eaa46b" could
+ not be found.
+ log_id: 641b6c253cd9a50001514fae
+ object: error
+ type: resource_not_found_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: not found entity
+ "500":
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ example:
+ details:
+ - debug_message: There was a runtime error and Conekta engineers have
+ been notified.
+ message: There was a runtime error and Conekta engineers have been
+ notified.
+ param: null
+ code: conekta.errors.api.system.general_failure
+ object: error
+ type: api_error
+ log_id: 641b6f2b3cd9a50001515098
+ schema:
+ $ref: '#/components/schemas/error'
+ description: internal server error
+ security:
+ - bearerAuth: []
+ summary: Update a charge
+ tags:
+ - Charges
/orders/{id}/charges:
post:
description: Create charge for an existing orden
@@ -3641,10 +3763,8 @@ paths:
examples:
cash:
$ref: '#/components/examples/order_cash'
- value: null
card:
$ref: '#/components/examples/order_card'
- value: null
schema:
$ref: '#/components/schemas/order_response'
description: successful operation
@@ -4755,10 +4875,10 @@ paths:
summary: Cancel Refund
tags:
- Orders
- /checkouts:
+ /payout_orders:
get:
- description: Returns a list of links generated by the merchant
- operationId: getCheckouts
+ description: Get Payout order details in the form of a list
+ operationId: getPayoutOrders
parameters:
- description: Use for knowing which language to use
examples:
@@ -4777,14 +4897,6 @@ paths:
- es
- en
type: string
- - description: "In the case of a holding company, the company id of the child\
- \ company to which will process the request."
- example: 6441b6376b60c3a638da80af
- in: header
- name: X-Child-Company-Id
- required: false
- schema:
- type: string
- description: "The numbers of items to return, the maximum value is 250"
in: query
name: limit
@@ -4816,38 +4928,13 @@ paths:
responses:
"200":
content:
- application/vnd.conekta-v2.2.0+json:
+ application/vnd.conekta-v2.1.0+json:
schema:
- $ref: '#/components/schemas/checkouts_response'
+ $ref: '#/components/schemas/payout_orders_response'
description: successful operation
- headers:
- Date:
- description: The date and time that the response was sent
- schema:
- example: "Fri, 03 Feb 2023 16:57:48 GMT"
- type: string
- Content-Type:
- description: The format of the response body
- schema:
- example: application/json; charset=utf-8
- type: string
- Content-Length:
- description: The length of the response body in bytes
- schema:
- example: "2737"
- type: string
- Connection:
- description: The type of connection used to transfer the response
- schema:
- example: keep-alive
- type: string
- Conekta-Media-Type:
- schema:
- example: conekta-v2.1.0; format=application/json
- type: string
"401":
content:
- application/vnd.conekta-v2.2.0+json:
+ application/vnd.conekta-v2.1.0+json:
example:
details:
- message: Please include your access key in your request.
@@ -4859,38 +4946,9 @@ paths:
schema:
$ref: '#/components/schemas/error'
description: authentication error
- "402":
- content:
- application/vnd.conekta-v2.2.0+json:
- example:
- details:
- - message: The card could not be processed.
- code: conekta.errors.processing.tokenization.used
- debug_message: The token has already been used.
- log_id: 641b6d073cd9a50001515007
- object: error
- type: processing_error
- schema:
- $ref: '#/components/schemas/error'
- description: payment required error
- "422":
- content:
- application/vnd.conekta-v2.2.0+json:
- example:
- details:
- - message: The token does not exist.
- param: payment_method.token_id
- code: conekta.errors.parameter_validation.payment_method.token_id.nonexistent_token
- debug_message: The token does not exist.
- log_id: 641b6d813cd9a50001515017
- object: error
- type: parameter_validation_error
- schema:
- $ref: '#/components/schemas/error'
- description: parameter validation error
"500":
content:
- application/vnd.conekta-v2.2.0+json:
+ application/vnd.conekta-v2.1.0+json:
example:
details:
- debug_message: There was a runtime error and Conekta engineers have
@@ -4907,11 +4965,12 @@ paths:
description: internal server error
security:
- bearerAuth: []
- summary: Get a list of payment links
+ summary: Get a list of Payout Orders
tags:
- - Payment Link
+ - Payout Orders
post:
- operationId: createCheckout
+ description: Create a new payout order.
+ operationId: createPayoutOrder
parameters:
- description: Use for knowing which language to use
examples:
@@ -4930,53 +4989,33 @@ paths:
- es
- en
type: string
- - description: "In the case of a holding company, the company id of the child\
- \ company to which will process the request."
- example: 6441b6376b60c3a638da80af
- in: header
- name: X-Child-Company-Id
- required: false
- schema:
- type: string
requestBody:
- $ref: '#/components/requestBodies/checkout'
+ $ref: '#/components/requestBodies/payout_order'
responses:
"200":
content:
- application/vnd.conekta-v2.2.0+json:
+ application/vnd.conekta-v2.1.0+json:
schema:
- $ref: '#/components/schemas/checkout_response'
+ $ref: '#/components/schemas/payout_order_response'
description: successful operation
- headers:
- Date:
- description: The date and time that the response was sent
- schema:
- example: "Fri, 03 Feb 2023 16:57:48 GMT"
- type: string
- Content-Type:
- description: The format of the response body
- schema:
- example: application/json; charset=utf-8
- type: string
- Content-Length:
- description: The length of the response body in bytes
- schema:
- example: "2737"
- type: string
- Connection:
- description: The type of connection used to transfer the response
- schema:
- example: keep-alive
- type: string
- Conekta-Media-Type:
- description: The version of the API used to process the request and
- the format of the response body
+ "422":
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ example:
+ details:
+ - message: The token does not exist.
+ param: payment_method.token_id
+ code: conekta.errors.parameter_validation.payment_method.token_id.nonexistent_token
+ debug_message: The token does not exist.
+ log_id: 641b6d813cd9a50001515017
+ object: error
+ type: parameter_validation_error
schema:
- example: conekta-v2.1.0; format=application/json
- type: string
+ $ref: '#/components/schemas/error'
+ description: parameter validation error
"401":
content:
- application/vnd.conekta-v2.2.0+json:
+ application/vnd.conekta-v2.1.0+json:
example:
details:
- message: Please include your access key in your request.
@@ -4990,7 +5029,7 @@ paths:
description: authentication error
"402":
content:
- application/vnd.conekta-v2.2.0+json:
+ application/vnd.conekta-v2.1.0+json:
example:
details:
- message: The card could not be processed.
@@ -5002,24 +5041,25 @@ paths:
schema:
$ref: '#/components/schemas/error'
description: payment required error
- "422":
+ "404":
content:
- application/vnd.conekta-v2.2.0+json:
+ application/vnd.conekta-v2.1.0+json:
example:
details:
- - message: The token does not exist.
- param: payment_method.token_id
- code: conekta.errors.parameter_validation.payment_method.token_id.nonexistent_token
- debug_message: The token does not exist.
- log_id: 641b6d813cd9a50001515017
+ - message: The resource was not found.
+ param: null
+ code: conekta.errors.resource_not_found.entity
+ debug_message: The object Webhook "641b1d5662d7e00001eaa46b" could
+ not be found.
+ log_id: 641b6c253cd9a50001514fae
object: error
- type: parameter_validation_error
+ type: resource_not_found_error
schema:
$ref: '#/components/schemas/error'
- description: parameter validation error
+ description: not found entity
"500":
content:
- application/vnd.conekta-v2.2.0+json:
+ application/vnd.conekta-v2.1.0+json:
example:
details:
- debug_message: There was a runtime error and Conekta engineers have
@@ -5036,12 +5076,102 @@ paths:
description: internal server error
security:
- bearerAuth: []
- summary: Create Unique Payment Link
+ summary: Create payout order
tags:
- - Payment Link
- /checkouts/{id}:
+ - Payout Orders
+ /payout_orders/{id}:
get:
- operationId: getCheckout
+ description: Gets a payout Order resource that corresponds to a payout order
+ ID.
+ operationId: getPayoutOrderById
+ parameters:
+ - description: Identifier of the resource
+ example: 6307a60c41de27127515a575
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ - description: Use for knowing which language to use
+ examples:
+ es:
+ summary: for spanish request/response
+ value: es
+ en:
+ summary: for english request/response
+ value: en
+ in: header
+ name: Accept-Language
+ required: false
+ schema:
+ default: es
+ enum:
+ - es
+ - en
+ type: string
+ responses:
+ "200":
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ schema:
+ $ref: '#/components/schemas/payout_order_response'
+ description: successful operation
+ "401":
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ example:
+ details:
+ - message: Please include your access key in your request.
+ param: null
+ code: conekta.errors.authentication.missing_key
+ log_id: 507f1f77bcf86cd799439011
+ object: error
+ type: authentication_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: authentication error
+ "404":
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ example:
+ details:
+ - message: The resource was not found.
+ param: null
+ code: conekta.errors.resource_not_found.entity
+ debug_message: The object Webhook "641b1d5662d7e00001eaa46b" could
+ not be found.
+ log_id: 641b6c253cd9a50001514fae
+ object: error
+ type: resource_not_found_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: not found entity
+ "500":
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ example:
+ details:
+ - debug_message: There was a runtime error and Conekta engineers have
+ been notified.
+ message: There was a runtime error and Conekta engineers have been
+ notified.
+ param: null
+ code: conekta.errors.api.system.general_failure
+ object: error
+ type: api_error
+ log_id: 641b6f2b3cd9a50001515098
+ schema:
+ $ref: '#/components/schemas/error'
+ description: internal server error
+ security:
+ - bearerAuth: []
+ summary: Get Payout Order
+ tags:
+ - Payout Orders
+ /checkouts:
+ get:
+ description: Returns a list of links generated by the merchant
+ operationId: getCheckouts
parameters:
- description: Use for knowing which language to use
examples:
@@ -5068,11 +5198,32 @@ paths:
required: false
schema:
type: string
- - description: Identifier of the resource
- example: 6307a60c41de27127515a575
- in: path
- name: id
- required: true
+ - description: "The numbers of items to return, the maximum value is 250"
+ in: query
+ name: limit
+ required: false
+ schema:
+ default: 20
+ format: int32
+ maximum: 250
+ minimum: 1
+ type: integer
+ - description: "General order search, e.g. by mail, reference etc."
+ in: query
+ name: search
+ required: false
+ schema:
+ type: string
+ - description: next page
+ in: query
+ name: next
+ required: false
+ schema:
+ type: string
+ - description: previous page
+ in: query
+ name: previous
+ required: false
schema:
type: string
responses:
@@ -5080,7 +5231,7 @@ paths:
content:
application/vnd.conekta-v2.2.0+json:
schema:
- $ref: '#/components/schemas/checkout_response'
+ $ref: '#/components/schemas/checkouts_response'
description: successful operation
headers:
Date:
@@ -5135,22 +5286,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
description: payment required error
- "404":
- content:
- application/vnd.conekta-v2.2.0+json:
- example:
- details:
- - message: The resource was not found.
- param: null
- code: conekta.errors.resource_not_found.entity
- debug_message: The object Webhook "641b1d5662d7e00001eaa46b" could
- not be found.
- log_id: 641b6c253cd9a50001514fae
- object: error
- type: resource_not_found_error
- schema:
- $ref: '#/components/schemas/error'
- description: not found entity
"422":
content:
application/vnd.conekta-v2.2.0+json:
@@ -5185,12 +5320,11 @@ paths:
description: internal server error
security:
- bearerAuth: []
- summary: Get a payment link by ID
+ summary: Get a list of payment links
tags:
- Payment Link
- /checkouts/{id}/cancel:
- put:
- operationId: cancelCheckout
+ post:
+ operationId: createCheckout
parameters:
- description: Use for knowing which language to use
examples:
@@ -5217,13 +5351,8 @@ paths:
required: false
schema:
type: string
- - description: Identifier of the resource
- example: 6307a60c41de27127515a575
- in: path
- name: id
- required: true
- schema:
- type: string
+ requestBody:
+ $ref: '#/components/requestBodies/checkout'
responses:
"200":
content:
@@ -5253,6 +5382,8 @@ paths:
example: keep-alive
type: string
Conekta-Media-Type:
+ description: The version of the API used to process the request and
+ the format of the response body
schema:
example: conekta-v2.1.0; format=application/json
type: string
@@ -5284,22 +5415,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
description: payment required error
- "404":
- content:
- application/vnd.conekta-v2.2.0+json:
- example:
- details:
- - message: The resource was not found.
- param: null
- code: conekta.errors.resource_not_found.entity
- debug_message: The object Webhook "641b1d5662d7e00001eaa46b" could
- not be found.
- log_id: 641b6c253cd9a50001514fae
- object: error
- type: resource_not_found_error
- schema:
- $ref: '#/components/schemas/error'
- description: not found entity
"422":
content:
application/vnd.conekta-v2.2.0+json:
@@ -5334,12 +5449,12 @@ paths:
description: internal server error
security:
- bearerAuth: []
- summary: Cancel Payment Link
+ summary: Create Unique Payment Link
tags:
- Payment Link
- /checkouts/{id}/email:
- post:
- operationId: emailCheckout
+ /checkouts/{id}:
+ get:
+ operationId: getCheckout
parameters:
- description: Use for knowing which language to use
examples:
@@ -5373,8 +5488,6 @@ paths:
required: true
schema:
type: string
- requestBody:
- $ref: '#/components/requestBodies/checkout_email'
responses:
"200":
content:
@@ -5485,12 +5598,12 @@ paths:
description: internal server error
security:
- bearerAuth: []
- summary: Send an email
+ summary: Get a payment link by ID
tags:
- Payment Link
- /checkouts/{id}/sms:
- post:
- operationId: smsCheckout
+ /checkouts/{id}/cancel:
+ put:
+ operationId: cancelCheckout
parameters:
- description: Use for knowing which language to use
examples:
@@ -5524,8 +5637,6 @@ paths:
required: true
schema:
type: string
- requestBody:
- $ref: '#/components/requestBodies/checkout_sms'
responses:
"200":
content:
@@ -5636,21 +5747,13 @@ paths:
description: internal server error
security:
- bearerAuth: []
- summary: Send an sms
+ summary: Cancel Payment Link
tags:
- Payment Link
- /customers/{id}/payment_sources:
- get:
- description: Get a list of Payment Methods
- operationId: GetCustomerPaymentMethods
+ /checkouts/{id}/email:
+ post:
+ operationId: emailCheckout
parameters:
- - description: Identifier of the resource
- example: 6307a60c41de27127515a575
- in: path
- name: id
- required: true
- schema:
- type: string
- description: Use for knowing which language to use
examples:
es:
@@ -5676,40 +5779,350 @@ paths:
required: false
schema:
type: string
- - description: "The numbers of items to return, the maximum value is 250"
- in: query
- name: limit
- required: false
- schema:
- default: 20
- format: int32
- maximum: 250
- minimum: 1
- type: integer
- - description: next page
- in: query
- name: next
- required: false
- schema:
- type: string
- - description: previous page
- in: query
- name: previous
- required: false
- schema:
- type: string
- - description: "General order search, e.g. by mail, reference etc."
- in: query
- name: search
- required: false
+ - description: Identifier of the resource
+ example: 6307a60c41de27127515a575
+ in: path
+ name: id
+ required: true
schema:
type: string
+ requestBody:
+ $ref: '#/components/requestBodies/checkout_email'
responses:
"200":
content:
application/vnd.conekta-v2.2.0+json:
- examples:
- card:
+ schema:
+ $ref: '#/components/schemas/checkout_response'
+ description: successful operation
+ headers:
+ Date:
+ description: The date and time that the response was sent
+ schema:
+ example: "Fri, 03 Feb 2023 16:57:48 GMT"
+ type: string
+ Content-Type:
+ description: The format of the response body
+ schema:
+ example: application/json; charset=utf-8
+ type: string
+ Content-Length:
+ description: The length of the response body in bytes
+ schema:
+ example: "2737"
+ type: string
+ Connection:
+ description: The type of connection used to transfer the response
+ schema:
+ example: keep-alive
+ type: string
+ Conekta-Media-Type:
+ schema:
+ example: conekta-v2.1.0; format=application/json
+ type: string
+ "401":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ example:
+ details:
+ - message: Please include your access key in your request.
+ param: null
+ code: conekta.errors.authentication.missing_key
+ log_id: 507f1f77bcf86cd799439011
+ object: error
+ type: authentication_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: authentication error
+ "402":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ example:
+ details:
+ - message: The card could not be processed.
+ code: conekta.errors.processing.tokenization.used
+ debug_message: The token has already been used.
+ log_id: 641b6d073cd9a50001515007
+ object: error
+ type: processing_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: payment required error
+ "404":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ example:
+ details:
+ - message: The resource was not found.
+ param: null
+ code: conekta.errors.resource_not_found.entity
+ debug_message: The object Webhook "641b1d5662d7e00001eaa46b" could
+ not be found.
+ log_id: 641b6c253cd9a50001514fae
+ object: error
+ type: resource_not_found_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: not found entity
+ "422":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ example:
+ details:
+ - message: The token does not exist.
+ param: payment_method.token_id
+ code: conekta.errors.parameter_validation.payment_method.token_id.nonexistent_token
+ debug_message: The token does not exist.
+ log_id: 641b6d813cd9a50001515017
+ object: error
+ type: parameter_validation_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: parameter validation error
+ "500":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ example:
+ details:
+ - debug_message: There was a runtime error and Conekta engineers have
+ been notified.
+ message: There was a runtime error and Conekta engineers have been
+ notified.
+ param: null
+ code: conekta.errors.api.system.general_failure
+ object: error
+ type: api_error
+ log_id: 641b6f2b3cd9a50001515098
+ schema:
+ $ref: '#/components/schemas/error'
+ description: internal server error
+ security:
+ - bearerAuth: []
+ summary: Send an email
+ tags:
+ - Payment Link
+ /checkouts/{id}/sms:
+ post:
+ operationId: smsCheckout
+ parameters:
+ - description: Use for knowing which language to use
+ examples:
+ es:
+ summary: for spanish request/response
+ value: es
+ en:
+ summary: for english request/response
+ value: en
+ in: header
+ name: Accept-Language
+ required: false
+ schema:
+ default: es
+ enum:
+ - es
+ - en
+ type: string
+ - description: "In the case of a holding company, the company id of the child\
+ \ company to which will process the request."
+ example: 6441b6376b60c3a638da80af
+ in: header
+ name: X-Child-Company-Id
+ required: false
+ schema:
+ type: string
+ - description: Identifier of the resource
+ example: 6307a60c41de27127515a575
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ requestBody:
+ $ref: '#/components/requestBodies/checkout_sms'
+ responses:
+ "200":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ schema:
+ $ref: '#/components/schemas/checkout_response'
+ description: successful operation
+ headers:
+ Date:
+ description: The date and time that the response was sent
+ schema:
+ example: "Fri, 03 Feb 2023 16:57:48 GMT"
+ type: string
+ Content-Type:
+ description: The format of the response body
+ schema:
+ example: application/json; charset=utf-8
+ type: string
+ Content-Length:
+ description: The length of the response body in bytes
+ schema:
+ example: "2737"
+ type: string
+ Connection:
+ description: The type of connection used to transfer the response
+ schema:
+ example: keep-alive
+ type: string
+ Conekta-Media-Type:
+ schema:
+ example: conekta-v2.1.0; format=application/json
+ type: string
+ "401":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ example:
+ details:
+ - message: Please include your access key in your request.
+ param: null
+ code: conekta.errors.authentication.missing_key
+ log_id: 507f1f77bcf86cd799439011
+ object: error
+ type: authentication_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: authentication error
+ "402":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ example:
+ details:
+ - message: The card could not be processed.
+ code: conekta.errors.processing.tokenization.used
+ debug_message: The token has already been used.
+ log_id: 641b6d073cd9a50001515007
+ object: error
+ type: processing_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: payment required error
+ "404":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ example:
+ details:
+ - message: The resource was not found.
+ param: null
+ code: conekta.errors.resource_not_found.entity
+ debug_message: The object Webhook "641b1d5662d7e00001eaa46b" could
+ not be found.
+ log_id: 641b6c253cd9a50001514fae
+ object: error
+ type: resource_not_found_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: not found entity
+ "422":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ example:
+ details:
+ - message: The token does not exist.
+ param: payment_method.token_id
+ code: conekta.errors.parameter_validation.payment_method.token_id.nonexistent_token
+ debug_message: The token does not exist.
+ log_id: 641b6d813cd9a50001515017
+ object: error
+ type: parameter_validation_error
+ schema:
+ $ref: '#/components/schemas/error'
+ description: parameter validation error
+ "500":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ example:
+ details:
+ - debug_message: There was a runtime error and Conekta engineers have
+ been notified.
+ message: There was a runtime error and Conekta engineers have been
+ notified.
+ param: null
+ code: conekta.errors.api.system.general_failure
+ object: error
+ type: api_error
+ log_id: 641b6f2b3cd9a50001515098
+ schema:
+ $ref: '#/components/schemas/error'
+ description: internal server error
+ security:
+ - bearerAuth: []
+ summary: Send an sms
+ tags:
+ - Payment Link
+ /customers/{id}/payment_sources:
+ get:
+ description: Get a list of Payment Methods
+ operationId: GetCustomerPaymentMethods
+ parameters:
+ - description: Identifier of the resource
+ example: 6307a60c41de27127515a575
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ - description: Use for knowing which language to use
+ examples:
+ es:
+ summary: for spanish request/response
+ value: es
+ en:
+ summary: for english request/response
+ value: en
+ in: header
+ name: Accept-Language
+ required: false
+ schema:
+ default: es
+ enum:
+ - es
+ - en
+ type: string
+ - description: "In the case of a holding company, the company id of the child\
+ \ company to which will process the request."
+ example: 6441b6376b60c3a638da80af
+ in: header
+ name: X-Child-Company-Id
+ required: false
+ schema:
+ type: string
+ - description: "The numbers of items to return, the maximum value is 250"
+ in: query
+ name: limit
+ required: false
+ schema:
+ default: 20
+ format: int32
+ maximum: 250
+ minimum: 1
+ type: integer
+ - description: next page
+ in: query
+ name: next
+ required: false
+ schema:
+ type: string
+ - description: previous page
+ in: query
+ name: previous
+ required: false
+ schema:
+ type: string
+ - description: "General order search, e.g. by mail, reference etc."
+ in: query
+ name: search
+ required: false
+ schema:
+ type: string
+ responses:
+ "200":
+ content:
+ application/vnd.conekta-v2.2.0+json:
+ examples:
+ card:
summary: Card
value:
next_page_url: null
@@ -6833,7 +7246,6 @@ paths:
examples:
sucessfull:
$ref: '#/components/examples/shipping'
- value: null
schema:
$ref: '#/components/schemas/shipping_order_response'
description: successful
@@ -8924,12 +9336,6 @@ paths:
maximum: 250
minimum: 1
type: integer
- - description: "General order search, e.g. by mail, reference etc."
- in: query
- name: search
- required: false
- schema:
- type: string
- description: next page
in: query
name: next
@@ -8942,6 +9348,34 @@ paths:
required: false
schema:
type: string
+ - description: id of the object to be retrieved
+ in: query
+ name: id
+ required: false
+ schema:
+ example: 65412a893cd69a0001c25892
+ type: string
+ - description: id of the charge used for filtering
+ in: query
+ name: charge_id
+ required: false
+ schema:
+ example: 65412a893cd69a0001c25892
+ type: string
+ - description: type of the object to be retrieved
+ in: query
+ name: type
+ required: false
+ schema:
+ example: capture
+ type: string
+ - description: currency of the object to be retrieved
+ in: query
+ name: currency
+ required: false
+ schema:
+ example: MXN
+ type: string
responses:
"200":
content:
@@ -9939,6 +10373,12 @@ paths:
required: false
schema:
type: string
+ - description: url for webhook filter
+ in: query
+ name: url
+ required: false
+ schema:
+ type: string
- description: next page
in: query
name: next
@@ -10591,6 +11031,22 @@ components:
phone: "5522997233"
corporate: false
object: customer_info
+ fiscal_entity:
+ tax_id: "1234567890"
+ name: Conekta Inc
+ email: test@gmail.com
+ phone: "525511223344"
+ metadata:
+ test: true
+ company_id: "123"
+ address:
+ street1: Nuevo Leon 254
+ street2: Departamento 404
+ postal_code: "06100"
+ city: Ciudad de Mexico
+ state: Ciudad de Mexico
+ country: MX
+ external_number: "123"
discount_lines:
- amount: 500
code: "123"
@@ -10613,17 +11069,19 @@ components:
additionalProp2: string
additionalProp3: string
metadata:
- additionalProp1: string
- additionalProp2: string
- additionalProp3: string
+ test: true
+ company_id: "123"
pre_authorize: false
shipping_contact:
phone: "525511223344"
receiver: Marvin Fuller
between_streets: Ackerman Crescent
+ metadata:
+ test: true
+ company_id: "123"
address:
- street1: avenida siempre viva
- street2: fake street
+ street1: Nuevo Leon 254
+ street2: Departamento 404
postal_code: "06100"
city: Ciudad de Mexico
state: Ciudad de Mexico
@@ -10699,8 +11157,8 @@ components:
receiver: Marvin Fuller
between_streets: Ackerman Crescent
address:
- street1: avenida siempre viva
- street2: fake street
+ street1: Nuevo Leon 254
+ street2: Departamento 404
postal_code: "06100"
city: Ciudad de Mexico
state: Ciudad de Mexico
@@ -10948,6 +11406,45 @@ components:
required: true
schema:
type: string
+ id_query:
+ description: id of the object to be retrieved
+ in: query
+ name: id
+ required: false
+ schema:
+ example: 65412a893cd69a0001c25892
+ type: string
+ charge_id:
+ description: id of the charge used for filtering
+ in: query
+ name: charge_id
+ required: false
+ schema:
+ example: 65412a893cd69a0001c25892
+ type: string
+ type:
+ description: type of the object to be retrieved
+ in: query
+ name: type
+ required: false
+ schema:
+ example: capture
+ type: string
+ currency:
+ description: currency of the object to be retrieved
+ in: query
+ name: currency
+ required: false
+ schema:
+ example: MXN
+ type: string
+ url:
+ description: url for webhook filter
+ in: query
+ name: url
+ required: false
+ schema:
+ type: string
requestBodies:
api_keys_create:
content:
@@ -10956,6 +11453,13 @@ components:
$ref: '#/components/schemas/api_key_request'
description: requested field for a api keys
required: true
+ charge_update:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/charge_update_request'
+ description: requested field for update a charge
+ required: true
charge_create:
content:
application/json:
@@ -11011,19 +11515,14 @@ components:
examples:
order_with_charges:
$ref: '#/components/examples/order_with_charges'
- value: null
order_with_checkout:
$ref: '#/components/examples/order_with_checkout'
- value: null
split_payment_with_2_card_charges:
$ref: '#/components/examples/split_payment_with_2_cards'
- value: null
split_payment_with_3_cash_charges:
$ref: '#/components/examples/split_payment_with_cash'
- value: null
split_payment_with_cash_card_charges:
$ref: '#/components/examples/split_payment_with_cash_card'
- value: null
schema:
$ref: '#/components/schemas/order_request'
description: requested field for order
@@ -11056,6 +11555,13 @@ components:
$ref: '#/components/schemas/orderRefund_request'
description: requested field for a refund
required: true
+ payout_order:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/payout_order'
+ description: requested field for payout order
+ required: true
checkout:
content:
application/json:
@@ -11307,15 +11813,44 @@ components:
$ref: '#/components/schemas/error'
description: payment required error
schemas:
+ event_types:
+ description: "It is a parameter that allows to identify in the response, the\
+ \ type of event that is being generated."
+ enum:
+ - webhook_ping
+ - order.paid
+ - order.expired
+ - order.canceled
+ - order.pending_payment
+ title: event_types
+ type: string
risk_rules_list:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/risk_rules'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/risk_rules_data'
+ type: array
+ title: risk_rules
+ type: object
error:
allOf:
- $ref: '#/components/schemas/details'
- - $ref: '#/components/schemas/error_allOf'
+ - properties:
+ log_id:
+ description: log id
+ example: 507f1f77bcf86cd799439011
+ nullable: true
+ type: string
+ type:
+ example: authentication_error
+ type: string
+ object:
+ example: error
+ type: string
+ type: object
description: err model
title: error
create_risk_rules_data:
@@ -11549,9 +12084,6 @@ components:
example: Este cargo ha sido declinado porque el comportamiento del comprador
es sospechoso.
type: string
- fee:
- example: 1160
- type: integer
id:
example: 63efa757cf65380001aec040
type: string
@@ -11610,9 +12142,6 @@ components:
example: Este cargo ha sido declinado porque el comportamiento del comprador
es sospechoso.
type: string
- fee:
- example: 1160
- type: integer
id:
example: 63efa757cf65380001aec040
type: string
@@ -11689,12 +12218,16 @@ components:
antifraud_info:
$ref: '#/components/schemas/customer_antifraud_info_response'
corporate:
+ description: true if the customer is a company
type: boolean
created_at:
+ description: Creation date of the object
example: 1485151007
format: int64
type: integer
custom_reference:
+ description: Custom reference
+ example: custom_reference
type: string
default_fiscal_entity_id:
example: fis_ent_2tKqqAfqPi21oCmEJ
@@ -11714,21 +12247,30 @@ components:
fiscal_entities:
$ref: '#/components/schemas/customer_fiscal_entities_response'
id:
+ description: Customer's ID
example: cus_2tHJfJ79KyUwpxTik
type: string
livemode:
+ description: true if the object exists in live mode or the value false if
+ the object exists in test mode
example: true
type: boolean
name:
+ description: Customer's name
example: Felipe
type: string
+ metadata:
+ additionalProperties: true
+ maxProperties: 100
+ type: object
object:
example: customer
type: string
payment_sources:
$ref: '#/components/schemas/customer_payment_methods_response'
phone:
- example: +5215555555555
+ description: Customer's phone number
+ example: "+5215555555555"
type: string
shipping_contacts:
$ref: '#/components/schemas/customer_response_shipping_contacts'
@@ -11738,13 +12280,15 @@ components:
- created_at
- id
- livemode
+ - name
- object
title: customer response
type: object
customer_fiscal_entities_request:
properties:
address:
- $ref: '#/components/schemas/customer_fiscal_entities_request_address'
+ allOf:
+ - $ref: '#/components/schemas/customer_address'
tax_id:
type: string
email:
@@ -11765,7 +12309,24 @@ components:
discount_lines_response:
allOf:
- $ref: '#/components/schemas/order_discount_lines_request'
- - $ref: '#/components/schemas/discount_lines_response_allOf'
+ - properties:
+ id:
+ description: The discount line id
+ example: dis_lin_2tQQ58HPgPw7StE8z
+ type: string
+ object:
+ description: The object name
+ example: discount_line
+ type: string
+ parent_id:
+ description: The order id
+ example: ord_2tPAmKCEJqh8RE6nY
+ type: string
+ required:
+ - id
+ - object
+ - parent_id
+ type: object
title: discount_lines_order_response
event_response:
description: event model
@@ -12038,7 +12599,7 @@ components:
discount_lines:
$ref: '#/components/schemas/order_response_discount_lines'
fiscal_entity:
- $ref: '#/components/schemas/order_response_fiscal_entity'
+ $ref: '#/components/schemas/order_fiscal_entity_response'
id:
example: ord_2tMtQQpDvfnNjiuFG
type: string
@@ -12058,6 +12619,8 @@ components:
structured format.
maxProperties: 100
type: object
+ next_action:
+ $ref: '#/components/schemas/order_next_action_response'
object:
description: String representing the object’s type. Objects of the same
type share the same value.
@@ -12085,8 +12648,99 @@ components:
product_order_response:
allOf:
- $ref: '#/components/schemas/product'
- - $ref: '#/components/schemas/product_order_response_allOf'
+ - properties:
+ id:
+ type: string
+ object:
+ type: string
+ parent_id:
+ type: string
+ type: object
title: product order response
+ payout_order_response:
+ description: payout order model response
+ properties:
+ allowed_payout_methods:
+ description: The payout methods that are allowed for the payout order.
+ example:
+ - cashout
+ items:
+ type: string
+ minItems: 1
+ type: array
+ amount:
+ description: The amount of the payout order.
+ example: 100
+ type: integer
+ created_at:
+ description: The creation date of the payout order.
+ example: 1677626837
+ format: int64
+ type: integer
+ currency:
+ default: MXN
+ description: The currency in which the payout order is made.
+ example: MXN
+ type: string
+ customer_info:
+ $ref: '#/components/schemas/payout_order_response_customer_info'
+ expires_at:
+ description: The expiration date of the payout order.
+ example: 1677626837
+ format: int64
+ type: integer
+ id:
+ description: The id of the payout order.
+ example: f2654d66-d740-457a-9a8c-f96b5196f44e
+ type: string
+ livemode:
+ description: The live mode of the payout order.
+ example: true
+ type: boolean
+ object:
+ description: The object of the payout order.
+ example: payout_order
+ type: string
+ metadata:
+ additionalProperties: true
+ description: The metadata of the payout order.
+ example:
+ custom_client_id: "12345"
+ maxProperties: 100
+ type: object
+ payouts:
+ description: The payout information of the payout order.
+ items:
+ $ref: '#/components/schemas/payout_order_payouts_item'
+ title: payout_order_payouts
+ type: array
+ reason:
+ description: The reason for the payout order.
+ example: Payout order for the customer
+ type: string
+ status:
+ description: The status of the payout order.
+ example: open
+ type: string
+ updated_at:
+ description: The update date of the payout order.
+ example: 1677626837
+ format: int64
+ type: integer
+ required:
+ - allowed_payout_methods
+ - amount
+ - created_at
+ - currency
+ - customer_info
+ - id
+ - livemode
+ - object
+ - payouts
+ - reason
+ - updated_at
+ title: payout_order_response
+ type: object
checkout_response:
description: checkout response
properties:
@@ -12194,15 +12848,71 @@ components:
payment_method_cash_response:
allOf:
- $ref: '#/components/schemas/payment_method_response'
- - $ref: '#/components/schemas/payment_method_cash_response_allOf'
+ - description: use for cash responses
+ properties:
+ reference:
+ example: "93000262276908"
+ type: string
+ barcode:
+ example: "93000262276908"
+ type: string
+ barcode_url:
+ example: https://pt-common-s3-stg.s3.amazonaws.com/644ebf80f2243197aad6cd8810375b905b613dbe.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MP4SLLCWV%2F20230203%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230203T215750Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEH4aCXVzLWVhc3QtMSJGMEQCICd79cu7DYu%2F4%2B3HnVVswydgU9yHcE9kmQIIk2TLoZJrAiBVZ0HxVSeboK5lhdQSqADjwQF62XX35jhC%2F2riB0M8uCqQBAj2%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAIaDDc5OTgwMTA4MTY4OCIMXWZds9ZI5hzUdbeGKuQDFreMyeWnWWPqDuGZ2%2BHk6usCr%2Fl096%2FNJh9xtf8htLu56K%2FhWUTx%2BjiqFWM2O%2FF5zTS%2BIV6TqkLDZ%2BQ5Jo1miQrRmR57YDz6uP2Yd1mNZ1ouq5ipnNjUuu5UWCCBAmqyZQsrVmeMQpSV2IB%2BTERCCcW2SukFEYU%2F20%2Fzy5orsoZ8DxOW460IymR3cWBk5u3Xh2cV6Y1RdPEwDEThhqYEF5w%2ByKbLENloMsI%2FUm6sG5PPrO3yQOAP9aK2muLJs9lXQRU%2FL%2FSsmS4FKSUFOqlN6YU%2Bi2Y%2FyGIKAJT2VDkngvz5Sl%2Fadj0j%2BPKftVRV5FcEhySB6Rl%2BSkPN7kVQMJp6pS8hMJ6JCyEA%2BA3eWYdIfKgQhWVXAR4oCBfJ62DH8FU3a7WfSjjpTwfVkiReWen3GGCYfUWETTVKp46MKnJ9PG0CD3KzxKV8VfmEGc5krK%2FI%2F%2BDV2wtSa%2F9qf1%2BK1YYJIK9qZGb25ljUiGhTB4T%2BMUOSQFjetiWUoOJc5Q3Jz%2FXJbiTAMTST39MhdbCgiMgfrc8OGKN5DOVbex33Z7dn0xf%2FOCkSqurhLaG08efKQBdhLNS0RlE9hbg9yZ2ywwtQIF39fI6A7eeH0T11a5HMlvm51u4rAffPHRuEJfwJoIuj%2F2s3QzDg7%2FWeBjqmAbnPOlGfysjrDdvHyG7HVnaX02kdG%2BI3Q4PFOO4Mjaa3ocpjcfPT70%2BZ5a%2FSv5vP0jDLGrLToeM9%2BAUlNepptICRu23a1tLGW4ri0twPA%2FZ4JDTtUUUgdblyG8bKpcUTNp4oOsdmLLBz3FVyr4c2xQbDZSu2zYOtoOxB18W0AC6kIbsMWVU55Bf0mBhPeBWxGrtM4Kw1SgHHlt%2F8vetQi2OwtUcg08c%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=d06dfa41550003359f2aabc8006063a80dfd806a13a54d244024946a76aa9abc
+ type: string
+ expires_at:
+ example: 0
+ format: int64
+ type: integer
+ provider:
+ example: Oxxo
+ type: string
+ type: object
payment_method_card_response:
allOf:
- $ref: '#/components/schemas/payment_method_response'
- - $ref: '#/components/schemas/payment_method_card_response_allOf'
+ - description: use for card responses
+ properties:
+ last4:
+ example: "6410"
+ type: string
+ bin:
+ example: "40276657"
+ type: string
+ card_type:
+ example: debit
+ type: string
+ exp_month:
+ example: "10"
+ type: string
+ exp_year:
+ example: "25"
+ type: string
+ brand:
+ example: visa
+ type: string
+ name:
+ example: Fulano Perez"
+ type: string
+ default:
+ type: boolean
+ visible_on_checkout:
+ type: boolean
+ payment_source_status:
+ example: active
+ type: string
+ type: object
payment_method_spei_recurrent:
allOf:
- $ref: '#/components/schemas/payment_method_response'
- - $ref: '#/components/schemas/payment_method_spei_recurrent_allOf'
+ - description: use for spei responses
+ properties:
+ reference:
+ example: "93000262276908"
+ type: string
+ expires_at:
+ example: none
+ type: string
+ type: object
plan_response:
description: plans model
properties:
@@ -12248,14 +12958,21 @@ components:
shipping_order_response:
allOf:
- $ref: '#/components/schemas/shipping_request'
- - $ref: '#/components/schemas/product_order_response_allOf'
+ - properties:
+ id:
+ type: string
+ object:
+ type: string
+ parent_id:
+ type: string
+ type: object
title: shipping_order_response
customer_shipping_contacts_response:
description: Contains the detail of the shipping addresses that the client has
active or has used in Conekta
properties:
phone:
- example: +525511223344
+ example: "+525511223344"
type: string
receiver:
example: Marvin Fuller
@@ -12278,6 +12995,11 @@ components:
example: 1675715413
format: int64
type: integer
+ metadata:
+ additionalProperties: true
+ description: Metadata associated with the shipping contact
+ maxProperties: 100
+ type: object
object:
example: shipping_contact
type: string
@@ -12358,7 +13080,17 @@ components:
update_order_tax_response:
allOf:
- $ref: '#/components/schemas/order_tax_request'
- - $ref: '#/components/schemas/update_order_tax_response_allOf'
+ - properties:
+ id:
+ example: tax_lin_2tQ8dC5mg1UADmVPo
+ type: string
+ object:
+ example: tax_line
+ type: string
+ parent_id:
+ example: ord_2tPAmKCEJqh8RE6nY
+ type: string
+ type: object
description: create new taxes for an existing order response
required:
- id
@@ -12725,17 +13457,21 @@ components:
- role
title: api_keys_request
type: object
+ charge_update_request:
+ description: requested field for update a charge
+ properties:
+ reference_id:
+ description: custom reference id
+ example: "278482642"
+ type: string
+ title: charge_update_request
+ type: object
charge_request:
description: The charges to be made
properties:
amount:
example: 40000
type: integer
- monthly_installments:
- description: "How many months without interest to apply, it can be 3, 6,\
- \ 9, 12 or 18"
- format: int8
- type: integer
payment_method:
$ref: '#/components/schemas/charge_request_payment_method'
reference_id:
@@ -12796,7 +13532,7 @@ components:
type: array
phone:
description: Is the customer's phone number
- example: +5215555555555
+ example: "+5215555555555"
type: string
plan_id:
description: "Contains the ID of a plan, which could together with name,\
@@ -12839,7 +13575,7 @@ components:
type: string
phone:
description: Is the customer's phone number
- example: +5215555555555
+ example: "+5215555555555"
type: string
plan_id:
description: "Contains the ID of a plan, which could together with name,\
@@ -12887,7 +13623,8 @@ components:
customer_update_fiscal_entities_request:
properties:
address:
- $ref: '#/components/schemas/customer_fiscal_entities_request_address'
+ allOf:
+ - $ref: '#/components/schemas/customer_address'
tax_id:
type: string
email:
@@ -12969,6 +13706,8 @@ components:
items:
$ref: '#/components/schemas/order_discount_lines_request'
type: array
+ fiscal_entity:
+ $ref: '#/components/schemas/order_fiscal_entity_request'
line_items:
description: "List of [products](https://developers.conekta.com/v2.1.0/reference/orderscreateproduct)\
\ that are sold in the order. You must have at least one product."
@@ -12993,6 +13732,12 @@ components:
\ recurrent or validation."
example: ecommerce
type: string
+ return_url:
+ description: Indicates the redirection callback upon completion of the 3DS2
+ flow.
+ example: https://my-website.com
+ format: uri
+ type: string
shipping_contact:
$ref: '#/components/schemas/customer_shipping_contacts'
shipping_lines:
@@ -13007,6 +13752,9 @@ components:
items:
$ref: '#/components/schemas/order_tax_request'
type: array
+ three_ds_mode:
+ description: "Indicates the 3DS2 mode for the order, either smart or strict."
+ type: string
required:
- currency
- customer_info
@@ -13036,6 +13784,8 @@ components:
items:
$ref: '#/components/schemas/order_discount_lines_request'
type: array
+ fiscal_entity:
+ $ref: '#/components/schemas/order_update_fiscal_entity_request'
line_items:
description: "List of [products](https://developers.conekta.com/v2.1.0/reference/orderscreateproduct)\
\ that are sold in the order. You must have at least one product."
@@ -13161,6 +13911,49 @@ components:
type: object
title: update_product
type: object
+ payout_order:
+ description: a payout order
+ properties:
+ allowed_payout_methods:
+ description: The payout methods that are allowed for the payout order.
+ example:
+ - cashout
+ items:
+ type: string
+ type: array
+ amount:
+ description: The amount of the payout order.
+ example: 100
+ type: integer
+ currency:
+ default: MXN
+ description: The currency in which the payout order is made.
+ example: MXN
+ type: string
+ customer_info:
+ $ref: '#/components/schemas/customer_info_just_customer_id'
+ metadata:
+ additionalProperties: true
+ description: The metadata of the payout order.
+ example:
+ custom_client_id: "12345"
+ maxProperties: 100
+ type: object
+ payout:
+ $ref: '#/components/schemas/payout'
+ reason:
+ description: The reason for the payout order.
+ example: Payout order for the customer
+ type: string
+ required:
+ - allowed_payout_methods
+ - amount
+ - currency
+ - customer_info
+ - payout
+ - reason
+ title: payout order request
+ type: object
checkout:
description: It is a sub-resource of the Order model that can be stipulated
in order to configure its corresponding checkout
@@ -13240,19 +14033,36 @@ components:
payment_method_card_request:
allOf:
- $ref: '#/components/schemas/customer_payment_method_request'
- - $ref: '#/components/schemas/payment_method_card_request_allOf'
- required:
- - token_id
+ - properties:
+ token_id:
+ description: "Token id that will be used to create a \"card\" type payment\
+ \ method. See the (subscriptions)[https://developers.conekta.com/v2.1.0/reference/createsubscription]\
+ \ tutorial for more information on how to tokenize cards."
+ example: tok_32hj4g234as
+ type: string
+ required:
+ - token_id
+ type: object
title: payment_method_card_request
payment_method_cash_request:
allOf:
- $ref: '#/components/schemas/customer_payment_method_request'
- - $ref: '#/components/schemas/payment_method_cash_request_allOf'
+ - properties:
+ expires_at:
+ example: 1553273553
+ format: int64
+ type: integer
+ type: object
title: payment_method_cash_request
payment_method_spei_request:
allOf:
- $ref: '#/components/schemas/customer_payment_method_request'
- - $ref: '#/components/schemas/payment_method_cash_request_allOf'
+ - properties:
+ expires_at:
+ example: 1553273553
+ format: int64
+ type: integer
+ type: object
title: payment_method_spei_request
update_payment_methods:
properties:
@@ -13378,7 +14188,7 @@ components:
properties:
phone:
description: Phone contact
- example: +525511223344
+ example: "+525511223344"
type: string
receiver:
description: Name of the person who will receive the order
@@ -13398,6 +14208,11 @@ components:
deleted:
nullable: true
type: boolean
+ metadata:
+ additionalProperties: true
+ description: Metadata associated with the shipping contact
+ maxProperties: 100
+ type: object
required:
- address
title: customer_shipping_contacts_request
@@ -13409,7 +14224,7 @@ components:
properties:
phone:
description: Phone contact
- example: +525511223344
+ example: "+525511223344"
type: string
receiver:
description: Name of the person who will receive the order
@@ -13584,15 +14399,135 @@ components:
payment_method_cash:
allOf:
- $ref: '#/components/schemas/payment_method'
- - $ref: '#/components/schemas/charge_data_payment_method_cash_response'
+ - description: use for cash responses
+ properties:
+ auth_code:
+ example: 542563
+ nullable: true
+ type: integer
+ cashier_id:
+ example: OINM01010
+ nullable: true
+ type: string
+ reference:
+ example: "93000262276908"
+ type: string
+ barcode_url:
+ example: https://pt-common-s3-stg.s3.amazonaws.com/644ebf80f2243197aad6cd8810375b905b613dbe.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MP4SLLCWV%2F20230203%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230203T215750Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEH4aCXVzLWVhc3QtMSJGMEQCICd79cu7DYu%2F4%2B3HnVVswydgU9yHcE9kmQIIk2TLoZJrAiBVZ0HxVSeboK5lhdQSqADjwQF62XX35jhC%2F2riB0M8uCqQBAj2%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAIaDDc5OTgwMTA4MTY4OCIMXWZds9ZI5hzUdbeGKuQDFreMyeWnWWPqDuGZ2%2BHk6usCr%2Fl096%2FNJh9xtf8htLu56K%2FhWUTx%2BjiqFWM2O%2FF5zTS%2BIV6TqkLDZ%2BQ5Jo1miQrRmR57YDz6uP2Yd1mNZ1ouq5ipnNjUuu5UWCCBAmqyZQsrVmeMQpSV2IB%2BTERCCcW2SukFEYU%2F20%2Fzy5orsoZ8DxOW460IymR3cWBk5u3Xh2cV6Y1RdPEwDEThhqYEF5w%2ByKbLENloMsI%2FUm6sG5PPrO3yQOAP9aK2muLJs9lXQRU%2FL%2FSsmS4FKSUFOqlN6YU%2Bi2Y%2FyGIKAJT2VDkngvz5Sl%2Fadj0j%2BPKftVRV5FcEhySB6Rl%2BSkPN7kVQMJp6pS8hMJ6JCyEA%2BA3eWYdIfKgQhWVXAR4oCBfJ62DH8FU3a7WfSjjpTwfVkiReWen3GGCYfUWETTVKp46MKnJ9PG0CD3KzxKV8VfmEGc5krK%2FI%2F%2BDV2wtSa%2F9qf1%2BK1YYJIK9qZGb25ljUiGhTB4T%2BMUOSQFjetiWUoOJc5Q3Jz%2FXJbiTAMTST39MhdbCgiMgfrc8OGKN5DOVbex33Z7dn0xf%2FOCkSqurhLaG08efKQBdhLNS0RlE9hbg9yZ2ywwtQIF39fI6A7eeH0T11a5HMlvm51u4rAffPHRuEJfwJoIuj%2F2s3QzDg7%2FWeBjqmAbnPOlGfysjrDdvHyG7HVnaX02kdG%2BI3Q4PFOO4Mjaa3ocpjcfPT70%2BZ5a%2FSv5vP0jDLGrLToeM9%2BAUlNepptICRu23a1tLGW4ri0twPA%2FZ4JDTtUUUgdblyG8bKpcUTNp4oOsdmLLBz3FVyr4c2xQbDZSu2zYOtoOxB18W0AC6kIbsMWVU55Bf0mBhPeBWxGrtM4Kw1SgHHlt%2F8vetQi2OwtUcg08c%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=d06dfa41550003359f2aabc8006063a80dfd806a13a54d244024946a76aa9abc
+ type: string
+ expires_at:
+ example: 0
+ format: int64
+ type: integer
+ service_name:
+ example: OxxoPay
+ type: string
+ store:
+ example: 10MON50EDI
+ nullable: true
+ type: string
+ store_name:
+ example: OXXO
+ type: string
+ title: charge_data_payment_method_cash_response
+ type: object
payment_method_card:
allOf:
- $ref: '#/components/schemas/payment_method'
- - $ref: '#/components/schemas/charge_data_payment_method_card_response'
+ - description: use for card responses
+ properties:
+ account_type:
+ example: Credit
+ type: string
+ auth_code:
+ example: "867372"
+ type: string
+ brand:
+ example: visa
+ type: string
+ contract_id:
+ description: Id sent for recurrent charges.
+ example: S781317595
+ type: string
+ country:
+ example: MX
+ type: string
+ exp_month:
+ example: "02"
+ type: string
+ exp_year:
+ example: "30"
+ type: string
+ fraud_indicators:
+ items: {}
+ type: array
+ issuer:
+ example: BANAMEX
+ type: string
+ last4:
+ example: "4242"
+ type: string
+ name:
+ example: Fulanito Perez
+ type: string
+ title: charge_data_payment_method_card_response
+ type: object
payment_method_bank_transfer:
allOf:
- $ref: '#/components/schemas/payment_method'
- - $ref: '#/components/schemas/charge_data_payment_method_bank_transfer_response'
+ - description: use for bank transfer responses
+ properties:
+ bank:
+ example: STP
+ type: string
+ clabe:
+ example: "646180111805034237"
+ type: string
+ description:
+ nullable: true
+ type: string
+ executed_at:
+ nullable: true
+ type: integer
+ expires_at:
+ example: 1683053729
+ format: int64
+ type: integer
+ issuing_account_bank:
+ nullable: true
+ type: string
+ issuing_account_number:
+ nullable: true
+ type: string
+ issuing_account_holder_name:
+ nullable: true
+ type: string
+ issuing_account_tax_id:
+ nullable: true
+ type: string
+ payment_attempts:
+ items: {}
+ type: array
+ receiving_account_holder_name:
+ nullable: true
+ type: string
+ receiving_account_number:
+ example: "646180111805034237"
+ type: string
+ receiving_account_bank:
+ example: STP
+ type: string
+ receiving_account_tax_id:
+ nullable: true
+ type: string
+ reference_number:
+ nullable: true
+ type: string
+ tracking_code:
+ nullable: true
+ type: string
+ title: charge_data_payment_method_bank_transfer_response
+ type: object
company_payout_destination_response:
description: Company payout destination model
properties:
@@ -13658,10 +14593,10 @@ components:
customer_address:
properties:
street1:
- example: avenida siempre viva
+ example: Nuevo Leon 254
type: string
street2:
- example: fake street
+ example: Departamento 404
type: string
postal_code:
example: "06100"
@@ -13677,6 +14612,7 @@ components:
example: MX
type: string
residential:
+ default: false
example: true
type: boolean
external_number:
@@ -13686,8 +14622,13 @@ components:
- postal_code
- street1
type: object
- customer_info_response:
+ order_customer_info_response:
properties:
+ customer_custom_reference:
+ description: Custom reference
+ example: custom_reference
+ nullable: true
+ type: string
name:
example: DevTest
type: string
@@ -13704,7 +14645,7 @@ components:
object:
example: customer_info
type: string
- title: customer_info
+ title: order_customer_info_response
type: object
customer_info_just_customer_id_response:
properties:
@@ -13713,6 +14654,46 @@ components:
type: string
title: customer_info_response
type: object
+ fiscal_entity_address:
+ description: Address of the fiscal entity
+ properties:
+ street1:
+ description: Street name and number
+ example: Nuevo Leon 254
+ type: string
+ street2:
+ description: Street name and number
+ example: Departamento 404
+ nullable: true
+ type: string
+ postal_code:
+ description: Postal code
+ example: "06100"
+ type: string
+ city:
+ description: City
+ example: Ciudad de Mexico
+ type: string
+ state:
+ description: State
+ example: Ciudad de Mexico
+ type: string
+ country:
+ description: "this field follows the [ISO 3166-1 alpha-2 standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)"
+ example: MX
+ type: string
+ external_number:
+ description: External number
+ example: "123"
+ type: string
+ required:
+ - city
+ - country
+ - external_number
+ - postal_code
+ - street1
+ title: order_fiscal_entity_address_request
+ type: object
payment_method_response:
properties:
type:
@@ -13775,6 +14756,11 @@ components:
on_demand_enabled:
example: true
type: boolean
+ redirection_time:
+ description: number of seconds to wait before redirecting to the success_url
+ example: 10
+ format: int8
+ type: integer
success_url:
description: "Redirection url back to the site in case of successful payment,\
\ applies only to HostedPayment"
@@ -13963,31 +14949,27 @@ components:
type: string
title: deleted_blacklist_rule_response
type: object
- get_api_keys_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/api_key_response'
- type: array
- type: object
get_api_keys_response:
allOf:
- $ref: '#/components/schemas/page'
- $ref: '#/components/schemas/pagination'
- - $ref: '#/components/schemas/get_api_keys_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/api_key_response'
+ type: array
+ type: object
title: get_api_keys_response
- api_key_create_response_allOf:
- properties:
- authentication_token:
- description: "It is occupied as a user when authenticated with basic authentication,\
- \ with a blank password. This value will only appear once, in the request\
- \ to create a new key. Copy and save it in a safe place."
- example: key_rpHzxufNgjFCdprEEFZRTKi
- type: string
- type: object
api_key_create_response:
allOf:
- - $ref: '#/components/schemas/api_key_create_response_allOf'
+ - properties:
+ authentication_token:
+ description: "It is occupied as a user when authenticated with basic authentication,\
+ \ with a blank password. This value will only appear once, in the request\
+ \ to create a new key. Copy and save it in a safe place."
+ example: key_rpHzxufNgjFCdprEEFZRTKi
+ type: string
+ type: object
- $ref: '#/components/schemas/api_key_response'
title: api_key_create_response
api_key_update_request:
@@ -14002,136 +14984,120 @@ components:
type: string
title: api_key_update_request
type: object
- delete_api_keys_response_allOf:
- properties:
- deleted:
- example: true
- type: boolean
- type: object
delete_api_keys_response:
allOf:
- $ref: '#/components/schemas/api_key_response_on_delete'
- - $ref: '#/components/schemas/delete_api_keys_response_allOf'
+ - properties:
+ deleted:
+ example: true
+ type: boolean
+ type: object
title: delete_api_keys_response
- get_charges_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/charge_response'
- type: array
- type: object
get_charges_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_charges_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/charge_response'
+ type: array
+ type: object
title: get_charges_response
- get_companies_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/company_response'
- type: array
- type: object
get_companies_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_companies_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/company_response'
+ type: array
+ type: object
title: get_companies_response
- customers_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/customer_response'
- title: customers_data_response
- type: array
- type: object
customers_response:
allOf:
- - $ref: '#/components/schemas/customers_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/customer_response'
+ title: customers_data_response
+ type: array
+ type: object
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
title: customers_response
- create_customer_fiscal_entities_response_allOf:
- properties:
- id:
- example: ship_cont_2tKZsTYcsryyu7Ah8
- type: string
- object:
- example: shipping_contact
- type: string
- created_at:
- example: 1675715413
- format: int64
- type: integer
- parent_id:
- example: cus_2tKcHxhTz7xU5SymF
- type: string
- default:
- type: boolean
- required:
- - created_at
- - id
- - object
- type: object
create_customer_fiscal_entities_response:
allOf:
- $ref: '#/components/schemas/customer_fiscal_entities_request'
- - $ref: '#/components/schemas/create_customer_fiscal_entities_response_allOf'
+ - properties:
+ id:
+ example: ship_cont_2tKZsTYcsryyu7Ah8
+ type: string
+ object:
+ example: shipping_contact
+ type: string
+ created_at:
+ example: 1675715413
+ format: int64
+ type: integer
+ parent_id:
+ example: cus_2tKcHxhTz7xU5SymF
+ type: string
+ default:
+ type: boolean
+ required:
+ - created_at
+ - id
+ - object
+ type: object
title: create_customer_fiscal_entities_response
- update_customer_fiscal_entities_response_allOf:
- properties:
- id:
- example: fis_ent_2tKZsTYcsryyu7Ah8
- type: string
- object:
- example: fiscal_entities
- type: string
- created_at:
- example: 1675715413
- format: int64
- type: integer
- parent_id:
- example: cus_2tKcHxhTz7xU5SymF
- type: string
- default:
- type: boolean
- required:
- - created_at
- - id
- - object
- type: object
update_customer_fiscal_entities_response:
allOf:
- $ref: '#/components/schemas/customer_fiscal_entities_request'
- - $ref: '#/components/schemas/update_customer_fiscal_entities_response_allOf'
+ - properties:
+ id:
+ example: fis_ent_2tKZsTYcsryyu7Ah8
+ type: string
+ object:
+ example: fiscal_entities
+ type: string
+ created_at:
+ example: 1675715413
+ format: int64
+ type: integer
+ parent_id:
+ example: cus_2tKcHxhTz7xU5SymF
+ type: string
+ default:
+ type: boolean
+ required:
+ - created_at
+ - id
+ - object
+ type: object
title: update_customer_fiscal_entities_response
- get_order_discount_lines_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/discount_lines_response'
- type: array
- type: object
get_order_discount_lines_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_order_discount_lines_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/discount_lines_response'
+ type: array
+ type: object
title: get_order_discount_lines_response
- get_events_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/event_response'
- type: array
- type: object
get_events_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_events_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/event_response'
+ type: array
+ type: object
title: get_events_response
get_orders_response:
allOf:
@@ -14169,18 +15135,28 @@ components:
- amount
- reason
type: object
- checkouts_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/checkout_response'
- type: array
- type: object
+ payout_orders_response:
+ allOf:
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/payout_order_response'
+ title: payout_orders_data_response
+ type: array
+ type: object
+ - $ref: '#/components/schemas/pagination'
+ - $ref: '#/components/schemas/page'
+ title: payout_orders_response
checkouts_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/checkouts_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/checkout_response'
+ type: array
+ type: object
title: checkouts_response
emailCheckout_request:
properties:
@@ -14212,18 +15188,16 @@ components:
- $ref: '#/components/schemas/payment_method_card_response'
- $ref: '#/components/schemas/payment_method_spei_recurrent'
title: get_customer_payment_method_data_response
- get_payment_method_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/get_customer_payment_method_data_response'
- type: array
- type: object
get_payment_method_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_payment_method_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/get_customer_payment_method_data_response'
+ type: array
+ type: object
title: get_payment_method_response
CreateCustomerPaymentMethods_request:
description: Contains details of the payment methods that the customer has active
@@ -14258,65 +15232,62 @@ components:
- $ref: '#/components/schemas/payment_method_card_response'
- $ref: '#/components/schemas/payment_method_spei_recurrent'
title: update_customer_payment_methods_response
- get_plans_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/plan_response'
- type: array
- type: object
get_plans_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_plans_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/plan_response'
+ type: array
+ type: object
title: get_plans_response
subscription_events_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_events_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/event_response'
+ type: array
+ type: object
title: subscription_events_response
- get_transactions_response_allOf:
- properties:
- data:
- description: Transactions
- items:
- $ref: '#/components/schemas/transaction_response'
- type: array
- type: object
get_transactions_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_transactions_response_allOf'
+ - properties:
+ data:
+ description: Transactions
+ items:
+ $ref: '#/components/schemas/transaction_response'
+ type: array
+ type: object
title: get_transactions_response
- get_transfers_response_allOf:
- properties:
- data:
- description: Transfers
- items:
- $ref: '#/components/schemas/transfers_response'
- type: array
- type: object
get_transfers_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_transfers_response_allOf'
+ - properties:
+ data:
+ description: Transfers
+ items:
+ $ref: '#/components/schemas/transfers_response'
+ type: array
+ type: object
title: get_transfers_response
- get_webhook_keys_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/webhook-key_response'
- type: array
- type: object
get_webhook_keys_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_webhook_keys_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/webhook-key_response'
+ type: array
+ type: object
title: get_webhook_keys_response
webhook_key_request:
properties:
@@ -14336,18 +15307,16 @@ components:
type: boolean
title: webhook_key_update_request
type: object
- get_webhooks_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/webhook_response'
- type: array
- type: object
get_webhooks_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/get_webhooks_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/webhook_response'
+ type: array
+ type: object
title: get_webhooks_response
risk_rules_data:
properties:
@@ -14380,31 +15349,6 @@ components:
example: secure customer example@example.com
type: string
type: object
- example: null
- risk_rules:
- properties:
- data:
- items:
- $ref: '#/components/schemas/risk_rules_data'
- type: array
- title: risk_rules
- type: object
- example: null
- error_allOf:
- properties:
- log_id:
- description: log id
- example: 507f1f77bcf86cd799439011
- nullable: true
- type: string
- type:
- example: authentication_error
- type: string
- object:
- example: error
- type: string
- type: object
- example: null
charge_response_channel:
properties:
segment:
@@ -14467,19 +15411,17 @@ components:
- object
title: charge_response_refunds_data
type: object
- charge_response_refunds_allOf:
- properties:
- data:
- description: refunds
- items:
- $ref: '#/components/schemas/charge_response_refunds_data'
- type: array
- type: object
charge_response_refunds:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/charge_response_refunds_allOf'
+ - properties:
+ data:
+ description: refunds
+ items:
+ $ref: '#/components/schemas/charge_response_refunds_data'
+ type: array
+ type: object
nullable: true
title: charge_response_refunds
type: object
@@ -14510,19 +15452,37 @@ components:
customer_fiscal_entities_data_response:
allOf:
- $ref: '#/components/schemas/customer_fiscal_entities_request'
- - $ref: '#/components/schemas/create_customer_fiscal_entities_response_allOf'
+ - properties:
+ id:
+ example: ship_cont_2tKZsTYcsryyu7Ah8
+ type: string
+ object:
+ example: shipping_contact
+ type: string
+ created_at:
+ example: 1675715413
+ format: int64
+ type: integer
+ parent_id:
+ example: cus_2tKcHxhTz7xU5SymF
+ type: string
+ default:
+ type: boolean
+ required:
+ - created_at
+ - id
+ - object
+ type: object
title: customer_fiscal_entities_data_response
- customer_fiscal_entities_response_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/customer_fiscal_entities_data_response'
- type: array
- type: object
customer_fiscal_entities_response:
allOf:
- $ref: '#/components/schemas/pagination'
- - $ref: '#/components/schemas/customer_fiscal_entities_response_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/customer_fiscal_entities_data_response'
+ type: array
+ type: object
title: customer_fiscal_entities_response
customer_payment_methods_data:
discriminator:
@@ -14537,77 +15497,48 @@ components:
- $ref: '#/components/schemas/payment_method_card_response'
- $ref: '#/components/schemas/payment_method_spei_recurrent'
title: customer_payment_methods_data
- customerPaymentMethods:
- properties:
- data:
- items:
- $ref: '#/components/schemas/customer_payment_methods_data'
- title: customer_payment_methods_data
- type: array
- title: customerPaymentMethods
- type: object
customer_payment_methods_response:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/customerPaymentMethods'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/customer_payment_methods_data'
+ title: customer_payment_methods_data
+ type: array
+ title: customerPaymentMethods
+ type: object
title: customer_payment_methods_response
- customer_shipping_contacts_data_response_allOf:
- properties:
- id:
- example: ship_cont_2tKZsTYcsryyu7Ah8
- type: string
- object:
- example: shipping_contact
- type: string
- created_at:
- example: 1675715413
- format: int64
- type: integer
- required:
- - created_at
- - id
- - object
- type: object
customer_shipping_contacts_data_response:
allOf:
- $ref: '#/components/schemas/customer_shipping_contacts'
- - $ref: '#/components/schemas/customer_shipping_contacts_data_response_allOf'
+ - properties:
+ id:
+ example: ship_cont_2tKZsTYcsryyu7Ah8
+ type: string
+ object:
+ example: shipping_contact
+ type: string
+ created_at:
+ example: 1675715413
+ format: int64
+ type: integer
+ required:
+ - created_at
+ - id
+ - object
+ type: object
title: customer_shipping_contacts_data_response
- customer_response_shipping_contacts_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/customer_shipping_contacts_data_response'
- type: array
- type: object
customer_response_shipping_contacts:
allOf:
- $ref: '#/components/schemas/pagination'
- - $ref: '#/components/schemas/customer_response_shipping_contacts_allOf'
- customer_fiscal_entities_request_address:
- allOf:
- - $ref: '#/components/schemas/customer_address'
- discount_lines_response_allOf:
- properties:
- id:
- description: The discount line id
- example: dis_lin_2tQQ58HPgPw7StE8z
- type: string
- object:
- description: The object name
- example: discount_line
- type: string
- parent_id:
- description: The order id
- example: ord_2tPAmKCEJqh8RE6nY
- type: string
- required:
- - id
- - object
- - parent_id
- type: object
- example: null
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/customer_shipping_contacts_data_response'
+ type: array
+ type: object
WebhookLog:
properties:
failed_attempts:
@@ -14760,21 +15691,17 @@ components:
type: string
title: logs_response_data
type: object
- charges_data_response:
- allOf:
- - $ref: '#/components/schemas/charge_response'
- title: charges_data_response
- order_response_charges_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/charges_data_response'
- type: array
- type: object
order_response_charges:
allOf:
- $ref: '#/components/schemas/pagination'
- - $ref: '#/components/schemas/order_response_charges_allOf'
+ - properties:
+ data:
+ items:
+ allOf:
+ - $ref: '#/components/schemas/charge_response'
+ title: charges_data_response
+ type: array
+ type: object
description: The charges associated with the order
order_response_checkout:
properties:
@@ -14842,6 +15769,12 @@ components:
recurrent:
example: false
type: boolean
+ redirection_time:
+ description: number of seconds to wait before redirecting to the success_url
+ example: 2
+ format: int8
+ nullable: true
+ type: integer
slug:
example: 6fca054a85194c43971ecea35cc519bb
type: string
@@ -14861,185 +15794,220 @@ components:
example: HostedPayment
type: string
url:
- example: https://pay.stg.conekta.io/checkout/6fca054a85194c43971ecea35cc519bb
- type: string
- type: object
- order_response_customer_info_allOf:
- properties:
- object:
- example: customer_info
- type: string
- type: object
- order_response_customer_info:
- allOf:
- - $ref: '#/components/schemas/order_response_customer_info_allOf'
- - $ref: '#/components/schemas/customer_info_response'
- - $ref: '#/components/schemas/customer_info_just_customer_id_response'
- discount_lines_data_response:
- allOf:
- - $ref: '#/components/schemas/discount_lines_response'
- title: discount_lines_data_response
- order_response_discount_lines_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/discount_lines_data_response'
- type: array
+ example: https://pay.stg.conekta.io/checkout/6fca054a85194c43971ecea35cc519bb
+ type: string
type: object
+ order_response_customer_info:
+ allOf:
+ - properties:
+ object:
+ example: customer_info
+ type: string
+ type: object
+ - $ref: '#/components/schemas/order_customer_info_response'
+ - $ref: '#/components/schemas/customer_info_just_customer_id_response'
order_response_discount_lines:
allOf:
- $ref: '#/components/schemas/pagination'
- - $ref: '#/components/schemas/order_response_discount_lines_allOf'
- order_response_fiscal_entity_address_allOf:
- properties:
- object:
- example: fiscal_entity_address
- type: string
- type: object
- order_response_fiscal_entity_address:
+ - properties:
+ data:
+ items:
+ allOf:
+ - $ref: '#/components/schemas/discount_lines_response'
+ title: discount_lines_data_response
+ type: array
+ type: object
+ order_fiscal_entity_address_response:
allOf:
- - $ref: '#/components/schemas/customer_address'
- - $ref: '#/components/schemas/order_response_fiscal_entity_address_allOf'
- order_response_fiscal_entity:
+ - $ref: '#/components/schemas/fiscal_entity_address'
+ - properties:
+ object:
+ example: fiscal_entity_address
+ type: string
+ type: object
+ description: Address of the fiscal entity
+ title: order_fiscal_entity_address_response
+ order_fiscal_entity_response:
+ description: "Fiscal entity of the order, Currently it is a purely informative\
+ \ field"
+ nullable: true
properties:
address:
- $ref: '#/components/schemas/order_response_fiscal_entity_address'
+ $ref: '#/components/schemas/order_fiscal_entity_address_response'
+ email:
+ description: Email of the fiscal entity
+ example: test@gmail.com
+ nullable: true
+ type: string
+ metadata:
+ additionalProperties: true
+ description: Metadata associated with the fiscal entity
+ maxProperties: 100
+ type: object
+ name:
+ description: Name of the fiscal entity
+ example: Conekta Inc
+ nullable: true
+ type: string
tax_id:
+ description: Tax ID of the fiscal entity
example: "324234234"
+ nullable: true
type: string
id:
+ description: ID of the fiscal entity
example: fis_ent_2tN85VYaSMyDvjB3M
type: string
+ created_at:
+ description: The time at which the object was created in seconds since the
+ Unix epoch
+ example: 1676328434
+ format: int64
+ type: integer
object:
example: fiscal_entity
type: string
- type: object
- product_data_response_allOf:
- properties:
- id:
- type: string
- object:
- type: string
- parent_id:
+ phone:
+ description: Phone of the fiscal entity
+ example: "+525511223344"
+ nullable: true
type: string
+ required:
+ - address
+ - created_at
+ - id
+ - object
+ title: order_fiscal_entity_response
type: object
product_data_response:
allOf:
- $ref: '#/components/schemas/product'
- - $ref: '#/components/schemas/product_data_response_allOf'
+ - properties:
+ id:
+ type: string
+ object:
+ type: string
+ parent_id:
+ type: string
+ type: object
title: product_data_response
- order_response_products_allOf:
- properties:
- data:
- items:
- $ref: '#/components/schemas/product_data_response'
- type: array
- type: object
order_response_products:
allOf:
- $ref: '#/components/schemas/pagination'
- $ref: '#/components/schemas/page'
- - $ref: '#/components/schemas/order_response_products_allOf'
+ - properties:
+ data:
+ items:
+ $ref: '#/components/schemas/product_data_response'
+ type: array
+ type: object
title: order_response_products
- order_response_shipping_contact_allOf:
+ order_next_action_response_redirect_to_url:
+ description: contains the following attributes that will guide to continue the
+ flow
properties:
- created_at:
- format: int64
- type: integer
- id:
+ url:
+ description: "pay.conekta.com/{id} Indicates the url of the Conekta component\
+ \ to authenticate the flow through 3DS2."
+ example: https://pay.conekta.com/6fca054a85194c43971ecea35cc519bb
+ format: uri
type: string
- object:
+ return_url:
+ description: "Indicates the url to which the 3DS2 flow returns at the end,\
+ \ when the integration is redirected."
+ example: https://my-website.com"
+ format: uri
type: string
type: object
- order_response_shipping_contact:
- allOf:
- - $ref: '#/components/schemas/order_response_shipping_contact_allOf'
- - $ref: '#/components/schemas/customer_shipping_contacts_response'
- product_order_response_allOf:
+ order_next_action_response:
+ description: contains the following attributes that will guide to continue the
+ flow
properties:
- id:
- type: string
- object:
- type: string
- parent_id:
+ redirect_to_url:
+ $ref: '#/components/schemas/order_next_action_response_redirect_to_url'
+ type:
+ description: Indicates the type of action to be taken
+ example: redirect_to_url
type: string
+ title: order_next_action_response
type: object
- example: null
- payment_method_cash_response_allOf:
- description: use for cash responses
+ order_response_shipping_contact:
+ allOf:
+ - properties:
+ created_at:
+ format: int64
+ type: integer
+ id:
+ type: string
+ object:
+ type: string
+ type: object
+ - $ref: '#/components/schemas/customer_shipping_contacts_response'
+ payout_order_response_customer_info:
+ allOf:
+ - properties:
+ id:
+ description: The id of the customer.
+ example: cus_23874283647
+ type: string
+ required:
+ - id
+ type: object
+ - $ref: '#/components/schemas/order_customer_info_response'
+ description: The customer information of the payout order.
+ payout_order_payouts_item:
properties:
- reference:
- example: "93000262276908"
- type: string
- barcode:
- example: "93000262276908"
- type: string
- barcode_url:
- example: https://pt-common-s3-stg.s3.amazonaws.com/644ebf80f2243197aad6cd8810375b905b613dbe.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MP4SLLCWV%2F20230203%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230203T215750Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEH4aCXVzLWVhc3QtMSJGMEQCICd79cu7DYu%2F4%2B3HnVVswydgU9yHcE9kmQIIk2TLoZJrAiBVZ0HxVSeboK5lhdQSqADjwQF62XX35jhC%2F2riB0M8uCqQBAj2%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAIaDDc5OTgwMTA4MTY4OCIMXWZds9ZI5hzUdbeGKuQDFreMyeWnWWPqDuGZ2%2BHk6usCr%2Fl096%2FNJh9xtf8htLu56K%2FhWUTx%2BjiqFWM2O%2FF5zTS%2BIV6TqkLDZ%2BQ5Jo1miQrRmR57YDz6uP2Yd1mNZ1ouq5ipnNjUuu5UWCCBAmqyZQsrVmeMQpSV2IB%2BTERCCcW2SukFEYU%2F20%2Fzy5orsoZ8DxOW460IymR3cWBk5u3Xh2cV6Y1RdPEwDEThhqYEF5w%2ByKbLENloMsI%2FUm6sG5PPrO3yQOAP9aK2muLJs9lXQRU%2FL%2FSsmS4FKSUFOqlN6YU%2Bi2Y%2FyGIKAJT2VDkngvz5Sl%2Fadj0j%2BPKftVRV5FcEhySB6Rl%2BSkPN7kVQMJp6pS8hMJ6JCyEA%2BA3eWYdIfKgQhWVXAR4oCBfJ62DH8FU3a7WfSjjpTwfVkiReWen3GGCYfUWETTVKp46MKnJ9PG0CD3KzxKV8VfmEGc5krK%2FI%2F%2BDV2wtSa%2F9qf1%2BK1YYJIK9qZGb25ljUiGhTB4T%2BMUOSQFjetiWUoOJc5Q3Jz%2FXJbiTAMTST39MhdbCgiMgfrc8OGKN5DOVbex33Z7dn0xf%2FOCkSqurhLaG08efKQBdhLNS0RlE9hbg9yZ2ywwtQIF39fI6A7eeH0T11a5HMlvm51u4rAffPHRuEJfwJoIuj%2F2s3QzDg7%2FWeBjqmAbnPOlGfysjrDdvHyG7HVnaX02kdG%2BI3Q4PFOO4Mjaa3ocpjcfPT70%2BZ5a%2FSv5vP0jDLGrLToeM9%2BAUlNepptICRu23a1tLGW4ri0twPA%2FZ4JDTtUUUgdblyG8bKpcUTNp4oOsdmLLBz3FVyr4c2xQbDZSu2zYOtoOxB18W0AC6kIbsMWVU55Bf0mBhPeBWxGrtM4Kw1SgHHlt%2F8vetQi2OwtUcg08c%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=d06dfa41550003359f2aabc8006063a80dfd806a13a54d244024946a76aa9abc
+ amount:
+ description: The amount of the payout.
+ example: 3000
+ type: integer
+ currency:
+ description: The currency in which the payout is made.
+ example: MXN
type: string
expires_at:
- example: 0
+ description: The expiration date of the payout.
+ example: 1677626837
format: int64
type: integer
- provider:
- example: Oxxo
- type: string
- type: object
- example: null
- payment_method_card_response_allOf:
- description: use for card responses
- properties:
- last4:
- example: "6410"
- type: string
- bin:
- example: "40276657"
- type: string
- card_type:
- example: debit
- type: string
- exp_month:
- example: "10"
- type: string
- exp_year:
- example: "25"
- type: string
- brand:
- example: visa
- type: string
- name:
- example: Fulano Perez"
+ id:
+ description: The id of the payout.
+ example: payout_2vZwsRAhhGp2dFDJx
type: string
- default:
- type: boolean
- visible_on_checkout:
+ livemode:
+ description: The live mode of the payout.
+ example: true
type: boolean
- payment_source_status:
- example: active
+ object:
+ description: The object of the payout.
+ example: payout
type: string
- type: object
- example: null
- payment_method_spei_recurrent_allOf:
- description: use for spei responses
- properties:
- reference:
- example: "93000262276908"
+ payout_order_id:
+ description: The id of the payout order.
+ example: f2654d66-d740-457a-9a8c-f96b5196f44e
type: string
- expires_at:
- example: none
+ status:
+ description: The status of the payout.
+ example: open
type: string
+ required:
+ - amount
+ - currency
+ - id
+ - livemode
+ - object
+ title: payout_order_payouts_item
type: object
- example: null
customer_shipping_contacts_response_address:
properties:
object:
example: shipping_address
type: string
street1:
- example: avenida siempre viva
+ example: Nuevo Leon 254
type: string
street2:
- example: fake street
+ example: Departamento 404
type: string
postal_code:
example: "06100"
@@ -15055,21 +16023,9 @@ components:
type: string
residential:
example: true
+ nullable: true
type: boolean
type: object
- update_order_tax_response_allOf:
- properties:
- id:
- example: tax_lin_2tQ8dC5mg1UADmVPo
- type: string
- object:
- example: tax_line
- type: string
- parent_id:
- example: ord_2tPAmKCEJqh8RE6nY
- type: string
- type: object
- example: null
token_response_checkout:
deprecated: true
nullable: true
@@ -15254,6 +16210,11 @@ components:
example: 1677196303
format: int64
type: integer
+ monthly_installments:
+ description: "How many months without interest to apply, it can be 3, 6,\
+ \ 9, 12 or 18"
+ format: int8
+ type: integer
type:
example: card
type: string
@@ -15267,8 +16228,6 @@ components:
description: Optional id sent to indicate the bank contract for recurrent
card charges.
example: S781317595
- maxLength: 10
- minLength: 10
type: string
required:
- type
@@ -15307,10 +16266,96 @@ components:
oneOf:
- $ref: '#/components/schemas/customer_info'
- $ref: '#/components/schemas/customer_info_just_customer_id'
+ order_fiscal_entity_request:
+ description: "Fiscal entity of the order, Currently it is a purely informative\
+ \ field"
+ properties:
+ address:
+ $ref: '#/components/schemas/fiscal_entity_address'
+ email:
+ description: Email of the fiscal entity
+ example: test@gmail.com
+ type: string
+ metadata:
+ additionalProperties: true
+ description: Metadata associated with the fiscal entity
+ maxProperties: 100
+ type: object
+ name:
+ description: Name of the fiscal entity
+ example: Conekta Inc
+ nullable: true
+ type: string
+ phone:
+ description: Phone of the fiscal entity
+ example: "+525511223344"
+ type: string
+ tax_id:
+ description: Tax ID of the fiscal entity
+ example: AAA010101AAA
+ nullable: true
+ type: string
+ required:
+ - address
+ title: order_fiscal_entity_request
+ type: object
order_update_request_customer_info:
oneOf:
- $ref: '#/components/schemas/customer_info'
- $ref: '#/components/schemas/customer_info_just_customer_id'
+ order_update_fiscal_entity_request:
+ description: "Fiscal entity of the order, Currently it is a purely informative\
+ \ field"
+ properties:
+ address:
+ $ref: '#/components/schemas/fiscal_entity_address'
+ email:
+ description: Email of the fiscal entity
+ example: test@gmail.com
+ type: string
+ name:
+ description: Name of the fiscal entity
+ example: Conekta Inc
+ nullable: true
+ type: string
+ metadata:
+ additionalProperties: true
+ description: Metadata associated with the fiscal entity
+ maxProperties: 100
+ type: object
+ phone:
+ description: Phone of the fiscal entity
+ example: "+525511223344"
+ type: string
+ tax_id:
+ description: Tax ID of the fiscal entity
+ example: AAA010101AAA
+ nullable: true
+ type: string
+ required:
+ - address
+ title: order_update_fiscal_entity_request
+ type: object
+ payout_method:
+ description: The payout method of the payout order.
+ properties:
+ type:
+ description: The type of the payout method.
+ example: cashout
+ type: string
+ required:
+ - type
+ title: payout_method
+ type: object
+ payout:
+ description: The payout information of the payout order.
+ properties:
+ payout_method:
+ $ref: '#/components/schemas/payout_method'
+ required:
+ - payout_method
+ title: payout
+ type: object
checkout_order_template_customer_info:
description: It is the information of the customer who will be created when
receiving a new payment.
@@ -15349,32 +16394,14 @@ components:
- currency
- line_items
type: object
- payment_method_card_request_allOf:
- properties:
- token_id:
- description: "Token id that will be used to create a \"card\" type payment\
- \ method. See the (subscriptions)[https://developers.conekta.com/v2.1.0/reference/createsubscription]\
- \ tutorial for more information on how to tokenize cards."
- example: tok_32hj4g234as
- type: string
- type: object
- example: null
- payment_method_cash_request_allOf:
- properties:
- expires_at:
- example: 1553273553
- format: int64
- type: integer
- type: object
- example: null
customer_shipping_contacts_address:
description: Address of the person who will receive the order
properties:
street1:
- example: avenida siempre viva
+ example: Nuevo Leon 254
type: string
street2:
- example: fake street
+ example: Departamento 404
type: string
postal_code:
example: "06100"
@@ -15459,137 +16486,6 @@ components:
type: string
title: details_error
type: object
- charge_data_payment_method_cash_response:
- description: use for cash responses
- properties:
- auth_code:
- example: 542563
- nullable: true
- type: integer
- cashier_id:
- example: OINM01010
- nullable: true
- type: string
- reference:
- example: "93000262276908"
- type: string
- barcode_url:
- example: https://pt-common-s3-stg.s3.amazonaws.com/644ebf80f2243197aad6cd8810375b905b613dbe.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MP4SLLCWV%2F20230203%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230203T215750Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEH4aCXVzLWVhc3QtMSJGMEQCICd79cu7DYu%2F4%2B3HnVVswydgU9yHcE9kmQIIk2TLoZJrAiBVZ0HxVSeboK5lhdQSqADjwQF62XX35jhC%2F2riB0M8uCqQBAj2%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAIaDDc5OTgwMTA4MTY4OCIMXWZds9ZI5hzUdbeGKuQDFreMyeWnWWPqDuGZ2%2BHk6usCr%2Fl096%2FNJh9xtf8htLu56K%2FhWUTx%2BjiqFWM2O%2FF5zTS%2BIV6TqkLDZ%2BQ5Jo1miQrRmR57YDz6uP2Yd1mNZ1ouq5ipnNjUuu5UWCCBAmqyZQsrVmeMQpSV2IB%2BTERCCcW2SukFEYU%2F20%2Fzy5orsoZ8DxOW460IymR3cWBk5u3Xh2cV6Y1RdPEwDEThhqYEF5w%2ByKbLENloMsI%2FUm6sG5PPrO3yQOAP9aK2muLJs9lXQRU%2FL%2FSsmS4FKSUFOqlN6YU%2Bi2Y%2FyGIKAJT2VDkngvz5Sl%2Fadj0j%2BPKftVRV5FcEhySB6Rl%2BSkPN7kVQMJp6pS8hMJ6JCyEA%2BA3eWYdIfKgQhWVXAR4oCBfJ62DH8FU3a7WfSjjpTwfVkiReWen3GGCYfUWETTVKp46MKnJ9PG0CD3KzxKV8VfmEGc5krK%2FI%2F%2BDV2wtSa%2F9qf1%2BK1YYJIK9qZGb25ljUiGhTB4T%2BMUOSQFjetiWUoOJc5Q3Jz%2FXJbiTAMTST39MhdbCgiMgfrc8OGKN5DOVbex33Z7dn0xf%2FOCkSqurhLaG08efKQBdhLNS0RlE9hbg9yZ2ywwtQIF39fI6A7eeH0T11a5HMlvm51u4rAffPHRuEJfwJoIuj%2F2s3QzDg7%2FWeBjqmAbnPOlGfysjrDdvHyG7HVnaX02kdG%2BI3Q4PFOO4Mjaa3ocpjcfPT70%2BZ5a%2FSv5vP0jDLGrLToeM9%2BAUlNepptICRu23a1tLGW4ri0twPA%2FZ4JDTtUUUgdblyG8bKpcUTNp4oOsdmLLBz3FVyr4c2xQbDZSu2zYOtoOxB18W0AC6kIbsMWVU55Bf0mBhPeBWxGrtM4Kw1SgHHlt%2F8vetQi2OwtUcg08c%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=d06dfa41550003359f2aabc8006063a80dfd806a13a54d244024946a76aa9abc
- type: string
- expires_at:
- example: 0
- format: int64
- type: integer
- service_name:
- example: OxxoPay
- type: string
- store:
- example: 10MON50EDI
- nullable: true
- type: string
- store_name:
- example: OXXO
- type: string
- title: charge_data_payment_method_cash_response
- type: object
- example: null
- charge_data_payment_method_card_response:
- description: use for card responses
- properties:
- account_type:
- example: Credit
- type: string
- auth_code:
- example: "867372"
- type: string
- brand:
- example: visa
- type: string
- contract_id:
- description: Id sent for recurrent charges.
- example: S781317595
- maxLength: 10
- minLength: 10
- type: string
- country:
- example: MX
- type: string
- exp_month:
- example: "02"
- type: string
- exp_year:
- example: "30"
- type: string
- fraud_indicators:
- items: {}
- type: array
- issuer:
- example: BANAMEX
- type: string
- last4:
- example: "4242"
- type: string
- name:
- example: Fulanito Perez
- type: string
- title: charge_data_payment_method_card_response
- type: object
- example: null
- charge_data_payment_method_bank_transfer_response:
- description: use for bank transfer responses
- properties:
- bank:
- example: STP
- type: string
- clabe:
- example: "646180111805034237"
- type: string
- description:
- nullable: true
- type: string
- executed_at:
- nullable: true
- type: integer
- expires_at:
- example: 1683053729
- format: int64
- type: integer
- issuing_account_bank:
- nullable: true
- type: string
- issuing_account_number:
- nullable: true
- type: string
- issuing_account_holder_name:
- nullable: true
- type: string
- issuing_account_tax_id:
- nullable: true
- type: string
- payment_attempts:
- items: {}
- type: array
- receiving_account_holder_name:
- nullable: true
- type: string
- receiving_account_number:
- example: "646180111805034237"
- type: string
- receiving_account_bank:
- example: STP
- type: string
- receiving_account_tax_id:
- nullable: true
- type: string
- reference_number:
- nullable: true
- type: string
- tracking_code:
- nullable: true
- type: string
- title: charge_data_payment_method_bank_transfer_response
- type: object
- example: null
securitySchemes:
bearerAuth:
scheme: bearer
diff --git a/api.yaml b/api.yaml
index 7fbefa1..bdb2345 100644
--- a/api.yaml
+++ b/api.yaml
@@ -30,6 +30,8 @@ paths:
$ref: "./resources/balances/balances.yml"
/charges:
$ref: "./resources/charges/charges.yml"
+ /charges/{id}:
+ $ref: "./resources/charges/update_charge.yml"
/orders/{id}/charges:
$ref: "./resources/orders/order_charge_param.yml"
/companies:
@@ -74,6 +76,10 @@ paths:
$ref: "./resources/orders/order_refunds_param.yml"
/orders/{id}/refunds/{refund_id}:
$ref: "./resources/orders/order_cancel_refunds_param.yml"
+ /payout_orders:
+ $ref: "./resources/payout_orders/payout_orders.yml"
+ /payout_orders/{id}:
+ $ref: "./resources/payout_orders/get_payout_order.yml"
/checkouts:
$ref: "./resources/checkouts/checkouts.yml"
/checkouts/{id}:
@@ -137,6 +143,9 @@ paths:
security:
- bearerAuth: []
components:
+ schemas:
+ event_types:
+ $ref: "./schemas/event_types/event_types.yml"
securitySchemes:
bearerAuth:
type: http
diff --git a/config-dart.json b/config-dart.json
deleted file mode 100644
index 7f8e7b3..0000000
--- a/config-dart.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "useEnumExtension": true,
- "pubAuthor": "conekta",
- "pubLibrary": "conekta",
- "pubVersion": "6.0.0-beta.2",
- "pubName": "conekta",
- "pubRepository": "https://www.github.com/conekta/conekta-dart",
- "pubHomepage" : "https://www.github.com/conekta/conekta-dart",
- "pubAuthorEmail": "engineering@conekta.com",
- "pubDescription": "Conekta dart Library",
- "serializationLibrary" : "built_value",
- "templateDir": "templates/dart",
- "files" : {
- "CODE_OF_CONDUCT.md" : {},
- "AUTHORS.md" : {},
- "LICENSE" : {},
- "conekta.png" : {},
- "CONTRIBUTING.md" : {},
- "utils.mustache" : {
- "templateType": "SupportingFiles",
- "destinationFilename": "utils.dart",
- "folder": "lib/src/utils"
- },
- "VERSION.mustache" : {
- "templateType": "SupportingFiles",
- "destinationFilename": "VERSION"
- }
- },
- "httpUserAgent": "Conekta/v2 DartBindings",
- "gitUserId": "conekta",
- "gitRepoId": "conekta-dart"
-}
\ No newline at end of file
diff --git a/config-go.json b/config-go.json
deleted file mode 100644
index 7adcdc5..0000000
--- a/config-go.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "packageVersion": "6.0.2",
- "packageName": "conekta",
- "hideGenerationTimestamp": false,
- "generateInterfaces": true,
- "disallowAdditionalPropertiesIfNotPresent": true,
- "gitUserId": "conekta",
- "gitRepoId": "conekta-go",
- "httpUserAgent": "Conekta/v2 GoBindings/6.0.2",
- "files": {
- "CODE_OF_CONDUCT.md" : {},
- "AUTHORS.md": {},
- "LICENSE": {},
- "conekta.png" : {}
- },
- "templateDir": "templates/go",
- "useOneOfDiscriminatorLookup": true
-}
\ No newline at end of file
diff --git a/config-java.json b/config-java.json
deleted file mode 100644
index 43b4cce..0000000
--- a/config-java.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "snapshotVersion": false,
- "useRuntimeException": true,
- "developerEmail": "core@conekta.com",
- "developerName": "Conekta API Core Team",
- "developerOrganization": "Conekta, Inc.",
- "developerOrganizationUrl": "https://www.conekta.io",
- "artifactUrl": "https://developers.conekta.com/",
- "artifactVersion": "6.0.0",
- "modelPackage": "com.conekta.model",
- "licenseName": "MIT License",
- "invokerPackage": "com.conekta",
- "licenseUrl": "https://www.opensource.org/licenses/mit-license.php",
- "apiPackage": "com.conekta",
- "artifactDescription": "This is a java library that allows interaction with https://api.conekta.io API.",
- "artifactId": "ct-conekta-java",
- "groupId": "io.conekta",
- "scmConnection": "scm:git:git@github.com:conekta/ct-conekta-java.git",
- "scmDeveloperConnection": "scm:git:git@github.com:conekta/ct-conekta-java.git",
- "scmUrl": "https://github.com/conekta/ct-conekta-java/tree/main",
- "library": "jersey3",
- "files": {
- "AUTHORS.md": {},
- "CODE_OF_CONDUCT.md": {},
- "LICENSE": {}
- },
- "javaMinVersion": 11,
- "swagger1AnnotationLibrary": false,
- "javaxPackage": "javax",
- "templateDir": "templates/java/jersey3",
- "disallowAdditionalPropertiesIfNotPresent": true,
- "useOneOfDiscriminatorLookup": true,
- "serializationLibrary": "jackson",
- "httpUserAgent": "Conekta/v2 JavaBindings/",
- "openApiNullable" : false
-}
\ No newline at end of file
diff --git a/config-netcore.json b/config-netcore.json
deleted file mode 100644
index b2c1c99..0000000
--- a/config-netcore.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "targetFramework" : "netstandard2.0;net6.0",
- "testTargetFramework" : "net6.0",
- "files": {
- "CODE_OF_CONDUCT.md" : {},
- "AUTHORS.md" : {},
- "LICENSE" : {},
- "conekta.png" : {},
- "CONTRIBUTING.md" : {},
- "RuntimeInformation.mustache" : {
- "templateType": "SupportingFiles",
- "destinationFilename": "RuntimeInformation.cs",
- "folder": "src/Conekta.net/Utils"
- },
- "VERSION.mustache" : {
- "templateType": "SupportingFiles",
- "destinationFilename": "VERSION"
- }
- },
- "apiName" : "conekta",
- "packageName" : "Conekta.net",
- "netCoreProjectFile" : true,
- "packageDescription" : "This is a .net library that allows interaction with https://api.conekta.io API.",
- "packageTitle" : "Conekta Library",
- "gitUserId": "conekta",
- "gitRepoId": "conekta-.net",
- "httpUserAgent": "Conekta/v2 .NetBindings",
- "packageAuthors" : "engineering@conekta.com",
- "packageCompany" : "Conekta",
- "useGenericHost" : false,
- "templateDir": "templates/netcore",
- "useOneOfDiscriminatorLookup" : true,
- "packageCopyright" : "Conekta",
- "PackageReleaseNotes" : "",
- "releaseNote" : "support for resend event, api keys and webhook keys",
- "packageVersion" : "6.0.4"
-}
diff --git a/config-node.json b/config-node.json
deleted file mode 100644
index 4596f57..0000000
--- a/config-node.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "npmName": "conekta",
- "generateSourceCodeOnly": "false",
- "npmVersion": "6.0.0",
- "packageUrl": "https://developers.conekta.com/",
- "projectName": "conekta-node",
- "appDescription": "Conekta Node Library",
- "useOneOfDiscriminatorLookup": true,
- "nonCompliantUseDiscriminatorIfCompositionFails": false,
- "httpUserAgent": "Conekta/v2 NodeBindings",
- "files": {
- "CODE_OF_CONDUCT.md": {},
- "AUTHORS.md": {},
- "LICENSE": {},
- "conekta.png": {},
- "CONTRIBUTING.md" : {},
- "VERSION.mustache" : {
- "templateType": "SupportingFiles",
- "destinationFilename": "VERSION"
- }
- },
- "gitUserId": "conekta",
- "gitRepoId": "conekta-node",
- "modern": true,
- "disallowAdditionalPropertiesIfNotPresent": true,
- "invokerPackage": "Conekta",
- "useObjectParameters": true,
- "npmRepository": "https://www.npmjs.com/package/conekta",
- "supportsES6": true,
- "legacyDiscriminatorBehavior": true,
- "modelPackage" : "model",
- "apiPackage" : "api",
- "withSeparateModelsAndApi": true,
- "withInterfaces" :true,
- "templateDir": "templates/node",
- "enumPropertyNaming" : "camelCase",
- "paramNaming" : "camelCase",
- "apiVersion" :"application/vnd.conekta-v2.1.0+json"
-}
\ No newline at end of file
diff --git a/config-php.json b/config-php.json
deleted file mode 100644
index dfc5407..0000000
--- a/config-php.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "packageName": "conekta",
- "generateSourceCodeOnly": "false",
- "artifactVersion": "6.0.1",
- "packageUrl": "https://developers.conekta.com/",
- "projectName": "conekta-php",
- "appDescriptionV2" : "Conekta PHP Library",
- "useOneOfDiscriminatorLookup" : true,
- "nonCompliantUseDiscriminatorIfCompositionFails" : false,
- "httpUserAgent": "Conekta/v2 PhpBindings/6.0.1",
- "packageAuthors" : "engineering@conekta.com",
- "files": {
- "CODE_OF_CONDUCT.md" : {},
- "AUTHORS.md" : {},
- "CONTRIBUTING.md" : {},
- "LICENSE" : {},
- "conekta.png" : {},
- "VERSION.mustache" : {
- "templateType": "SupportingFiles",
- "destinationFilename": "VERSION"
- },
- "ssl_data/ca_bundle.crt": {
- "destinationFilename": "lib/ssl_data/ca_bundle.crt"
- }
- },
- "gitUserId": "conekta",
- "gitRepoId": "conekta-php",
- "modern" : true,
- "disallowAdditionalPropertiesIfNotPresent" : true,
- "invokerPackage" : "Conekta",
- "templateDir": "templates/php",
- "legacyDiscriminatorBehavior" : false
-}
diff --git a/config-python.json b/config-python.json
deleted file mode 100644
index 2781649..0000000
--- a/config-python.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "packageName": "conekta",
- "developerEmail": "core@conekta.com",
- "developerName": "Conekta API Core Team",
- "developerOrganization": "Grupo Conektame, S.A. de C.V",
- "developerOrganizationUrl": "https://www.conekta.com",
- "licenseName": "MIT License",
- "licenseUrl": "https://www.opensource.org/licenses/mit-license.php",
- "generateSourceCodeOnly": "false",
- "packageVersion": "6.0.1",
- "packageUrl": "https://github.com/conekta/conekta-python",
- "projectName": "conekta",
- "templateDir": "templates/python",
- "hasBearerMethods" : true,
- "useOneOfDiscriminatorLookup" : true,
- "nonCompliantUseDiscriminatorIfCompositionFails" : false,
- "httpUserAgent": "Conekta/v2 PythonBindings/6.0.1",
- "files": {
- "AUTHORS.md" : {},
- "CODE_OF_CONDUCT.md": {},
- "LICENSE" : {},
- "VERSION.mustache" : {
- "templateType": "SupportingFiles",
- "destinationFilename": "VERSION"
- }
- },
- "gitUserId": "conekta",
- "gitRepoId": "conekta-python"
-}
diff --git a/config-ruby.json b/config-ruby.json
deleted file mode 100644
index 3cc4d21..0000000
--- a/config-ruby.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "gemAuthorEmail" : "core@conekta.com",
- "gemAuthor": "Conekta",
- "gemName" : "conekta",
- "gemLicense": "MIT",
- "gemVersion": "6.0.0",
- "hideGenerationTimestamp": false,
- "moduleName": "Conekta",
- "gemSummary" : "This library provides https://api.conekta.io operations",
- "gemHomepage" : "https://www.conekta.com",
- "gemDescription" : "Ruby library for https://api.conekta.io",
- "library": "faraday",
- "httpUserAgent": "Conekta/v2 RubyBindings/#{Conekta::VERSION}",
- "gemRequiredRubyVersion" : ">= 2.6",
- "templateDir": "templates/ruby",
- "gitUserId" : "conekta",
- "gitRepoId" : "conekta-ruby",
- "files": {
- "CODE_OF_CONDUCT.md" : {},
- "AUTHORS.md" : {},
- "CONTRIBUTING.md" : {},
- "LICENSE" : {},
- "conekta.png" : {},
- "ssl_data/ca_bundle.crt": {
- "destinationFilename": "lib/ssl_data/ca_bundle.crt"
- },
- "CUSTOM_VERSION.mustache" : {
- "templateType": "SupportingFiles",
- "destinationFilename": "VERSION"
- }
- }
-}
diff --git a/mocks/conekta_api.json b/mocks/conekta_api.json
index 3a3384d..14ab72d 100644
--- a/mocks/conekta_api.json
+++ b/mocks/conekta_api.json
@@ -4568,7 +4568,7 @@
"responses": [
{
"uuid": "90ab7bed-8239-4abb-aa49-36a4b2d5fbe8",
- "body": "{\n \"next_page_url\": \"https://api-core.stg.conekta.io/orders?next=ord_2tNDyQbJacvUZiyfp\",\n \"has_more\": true,\n \"total\": 448,\n \"object\": \"list\",\n \"data\": [\n {\n \"livemode\": true,\n \"amount\": 10000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Miles_Price@gmail.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKZmA749BLsMRgBY\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUigJs3CPGFSNbZi\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUigJ8DgBhbp6w5D\",\n \"metadata\": {},\n \"is_refundable\": true,\n \"created_at\": 1678134109,\n \"updated_at\": 1678134110,\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"64064b5ddb5c8a0001cde484\",\n \"livemode\": true,\n \"created_at\": 1678134109,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"QFdozPB7caeKikDCXQebz2j1uyYKUf2s\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKZmA749BLsMRgBY\",\n \"order_id\": \"ord_2tUigJ8DgBhbp6w5D\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUhuyzqLi6UJE9Cy\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"8bf936e6-3b5c-4095-a9f3-69aca5ad7863\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUhuyzqLi6UJE9D2\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUhuyzqLi6UJE9Cz\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"8bf936e6-3b5c-4095-a9f3-69aca5ad7863\",\n \"name\": \"ord-2tUhuyzqLi6UJE9D1\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": true\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUhuyzqLi6UJE9D1\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678130628,\n \"updated_at\": 1678130628,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUhuyzqLi6UJE9Cw\",\n \"parent_id\": \"ord_2tUhuyzqLi6UJE9D1\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUhcjeepaMTxHwQ7\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"ed002df7-6b53-483f-8ac3-bc35fbbfbc10\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUhcjeepaMTxHwQA\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUhcjeepaMTxHwQ8\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"ed002df7-6b53-483f-8ac3-bc35fbbfbc10\",\n \"name\": \"ord-2tUhcjeepaMTxHwQ9\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [\n 3,\n 6,\n 12\n ],\n \"monthly_installments_enabled\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUhcjeepaMTxHwQ9\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678129273,\n \"updated_at\": 1678129273,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUhcjeepaMTxHwQ5\",\n \"parent_id\": \"ord_2tUhcjeepaMTxHwQ9\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUhcPiXmC9x512Am\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"dc45f292-4890-468b-a117-8d8e1ea5371a\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUhcPiXmC9x512Ap\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUhcPiXmC9x512An\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"dc45f292-4890-468b-a117-8d8e1ea5371a\",\n \"name\": \"ord-2tUhcPiXmC9x512Ao\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUhcPiXmC9x512Ao\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678129246,\n \"updated_at\": 1678129246,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUhcPiXmC9x512Aj\",\n \"parent_id\": \"ord_2tUhcPiXmC9x512Ao\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgccjdQJ7SdBrXZ\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"8c4e58f7-828e-48cb-960d-c12242ffa319\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgccjdQJ7SdBrXc\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgccjdQJ7SdBrXa\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"8c4e58f7-828e-48cb-960d-c12242ffa319\",\n \"name\": \"ord-2tUgccjdQJ7SdBrXb\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [\n 3,\n 6,\n 12\n ],\n \"monthly_installments_enabled\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUgccjdQJ7SdBrXb\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678124707,\n \"updated_at\": 1678124707,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgccjdQJ7SdBrXX\",\n \"parent_id\": \"ord_2tUgccjdQJ7SdBrXb\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgQLJywuuSAaTmy\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"bc2a3674-660b-4118-b209-10fd0c7b2539\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgQM3oU7U5nr8GS\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgQLJywuuSAaTmz\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"bc2a3674-660b-4118-b209-10fd0c7b2539\",\n \"name\": \"ord-2tUgQLJywuuSAaTn1\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUgQLJywuuSAaTn1\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678123743,\n \"updated_at\": 1678123743,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgQLJywuuSAaTmw\",\n \"parent_id\": \"ord_2tUgQLJywuuSAaTn1\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgAg9rFzuNAoQ7o\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"96a87c6e-e848-4f3d-bf06-c66b1c03e5c7\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgAg9rFzuNAoQ7r\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgAg9rFzuNAoQ7p\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"96a87c6e-e848-4f3d-bf06-c66b1c03e5c7\",\n \"name\": \"ord-2tUgAg9rFzuNAoQ7q\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUgAg9rFzuNAoQ7q\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1678122669,\n \"updated_at\": 1678122669,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgAg9rFzuNAoQ7m\",\n \"parent_id\": \"ord_2tUgAg9rFzuNAoQ7q\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUg8uXxtHfCFGA21\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"e085df36-bb2d-4e8e-825e-31d713ba15a7\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUg8vGnQVDqsXpWU\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUg8uXxtHfCFGA22\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"e085df36-bb2d-4e8e-825e-31d713ba15a7\",\n \"name\": \"ord-2tUg8uXxtHfCFGA23\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678341599,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUg8uXxtHfCFGA23\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1678122531,\n \"updated_at\": 1678122531,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUg8uXxtHfCFGA1y\",\n \"parent_id\": \"ord_2tUg8uXxtHfCFGA23\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUg82bRxXpS6dNDH\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"eeb3a7d9-ceec-4bdf-8aae-2b70f5c81bb7\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUg82bRxXpS6dNDL\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUg82bRxXpS6dNDJ\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"eeb3a7d9-ceec-4bdf-8aae-2b70f5c81bb7\",\n \"name\": \"ord-2tUg82bRxXpS6dNDK\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678341599,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUg82bRxXpS6dNDK\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1678122461,\n \"updated_at\": 1678122461,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUg82bRxXpS6dNDF\",\n \"parent_id\": \"ord_2tUg82bRxXpS6dNDK\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tTirxDJEFDe8NUAL\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tTirxDJEFDe8NUAM\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tTirxDJEFDe8NUAN\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1677870662,\n \"updated_at\": 1677870662,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tTirxDJEFDe8NUAJ\",\n \"parent_id\": \"ord_2tTirxDJEFDe8NUAN\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"6402464645f9e8000165c2ca\",\n \"livemode\": true,\n \"created_at\": 1677870662,\n \"currency\": \"MXN\",\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/94e526bbd9f77af1a95130691088021ff869fbda.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MLPWLPAKO%2F20230303%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230303T191102Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBwaCXVzLWVhc3QtMSJIMEYCIQCJcvbKD7bOSESXyn8oo%2FzfAPwgWO4m3NCWDb2gumoMZAIhAIam91DYG1qorOEkgdzBoLNsGcQEMW%2BoxcWGT0Y0IqIXKpAECMT%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQAhoMNzk5ODAxMDgxNjg4IgwOC3W4Y8gV514Fx7cq5APKrTe4Zq7AkcKI9H4NfaNt1MA7YwPFUl0JCC0jkCW1KRpmzXir9Gl8%2F6YslsKNsWhyPU7ZJH8rynf%2BENPwAf0doyCP0mT5mA7I1HaCNXW4AioVMgP2uPAVEimK16%2Br2MQ9LGNbUywuMErd8rDtpzSQ0tXyB0E9piLTh3ejASBzSsSF79KCD2eVEg24wdyUQyw1ftuwsDk24j9QpCFUyPeihzOVf3RDXtTYSWyQt4%2B1cYVodnBXErRVpO%2FPVA%2FpKe20WxZbLyBkMKU4Sb34YpFOhqVIeWr8SWB%2BueUkRuXj8jxhaMve9lNaCdRIzSZxSbhIcslWupXp6J6hPXgOSv%2BVBDxtl4geZLNACIXcTgVzLaLOUt8w2ItPULFzdtgOYaHvsQzZUlDcJFUrl1ytBOdrIvBX7qwuHOxJBQ2yQKMbH7gKFdd%2B5PGNDj5cWe%2B1plr%2FUileuMpdXLfXmQ2%2FNTgo6knbmXbaji6O%2BdS3ox3czOobhNOoqvCGdpPzyHyACYmzRP9VLnJluXZIHn3T6lEqNcGO1b%2FGdP1yeAG%2Bw%2BSWS6nspG9y33z8fdjqBFqmD%2F0Qp4fzPqrbI4G0Yc8us8xzJKw8t32Eq%2FTOvxxhOxqZTPi%2B5LiDADW8qvIO1v1SpmqKUnVVMJ2KiaAGOqQBKKpjIc7bpa6UwW1yHiHZNf7wCDnSr0bucJHkDvFTGc6wcCNzQgzCaRxp5%2FlLY68NFiqTLrjswEesap%2FQINS9y68Wz%2BvmZYEQrjSLXdDuXvckYrPzYsInCb%2BKvqS1p%2FXAhrk6c9eHYErOLJC4gTowtTWM6VH68%2B74ZSu4J1C2nxL252u5uCb2yODA5WfQ79cxPCeMmB9D0b9cJnDPqa6vf1tHHoc%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=0af1ed056b660f18c69f4ab039e46891dee21fd4a045a9201181a825f1766c05\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1680480000,\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262280678\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 2000,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tTirxDJEFDe8NUAN\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 10000,\n \"currency\": \"MXN\",\n \"payment_status\": \"declined\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tSoWNL3A41LDVatS\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tSoWNL3A41LDVatQ\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tSoWNL3A41LDVatK\",\n \"metadata\": {},\n \"is_refundable\": true,\n \"created_at\": 1677627543,\n \"updated_at\": 1677717913,\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 5,\n \"data\": [\n {\n \"id\": \"640570cc4f47a400014847ed\",\n \"livemode\": true,\n \"created_at\": 1678078156,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"PeLn2HZJKwT9PmEuVCcPLPYN7WeYmZMf\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoWNL3A41LDVatK\"\n },\n {\n \"id\": \"6402b1a64f47a40001483299\",\n \"livemode\": true,\n \"created_at\": 1677898150,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"Q8PhhabwTyjeKo9d1DwujHZWDkvX9y8v\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoWNL3A41LDVatK\"\n },\n {\n \"id\": \"63fff28386af700001fff912\",\n \"livemode\": true,\n \"created_at\": 1677718147,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"ST6wUrE6WFfVg2uTHJ5AtCp4ZEGNiTLp\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoWNL3A41LDVatK\"\n },\n {\n \"id\": \"63fff19986af700001fff900\",\n \"livemode\": true,\n \"created_at\": 1677717913,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"JMvw8DEXV5dnc7GWNru4f98VPHkM5txc\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoWNL3A41LDVatK\"\n },\n {\n \"id\": \"63fe90977ec07c00013c91c4\",\n \"livemode\": true,\n \"created_at\": 1677627543,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"aaKEctPdNiPbk1PovzsMarfVEbQ32ExX\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoWNL3A41LDVatK\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 10000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tSoMP7bZJbLiq4zF\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tSoMP7bZJbLiq4zD\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tSoMP7bZJbLiq4z8\",\n \"metadata\": {},\n \"is_refundable\": true,\n \"created_at\": 1677626837,\n \"updated_at\": 1677626837,\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"63fe8dd57ec07c00013c914d\",\n \"livemode\": true,\n \"created_at\": 1677626837,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"ZXetAuLpsAMgEMKEJRcmbmqfJt1afCTC\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoMP7bZJbLiq4z8\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 20000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"leandro.orban@conekta.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Leandro Orban\",\n \"corporate\": false,\n \"customer_id\": \"cus_2ss5YAeTKuEr5M4fD\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Mario perez\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Campeche y Morelos\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"78215\"\n },\n \"id\": \"ship_cont_2tSiWW7njfEgy4Ms5\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"a767fcb1-0b75-41c7-96ca-1083d948ce31\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tSiWZ54pTVHU91pm\"\n },\n \"checkout\": {\n \"id\": \"a767fcb1-0b75-41c7-96ca-1083d948ce31\",\n \"name\": \"Arte en Sublimación\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"https://aortegag0501.wixsite.com/artesublimacion/success\",\n \"failure_url\": \"https://aortegag0501.wixsite.com/artesublimacion/failure\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"HostedPayment\",\n \"recurrent\": false,\n \"starts_at\": 1677564000,\n \"expires_at\": 1677823199,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [\n 3,\n 6,\n 9,\n 12\n ],\n \"monthly_installments_enabled\": true,\n \"is_redirect_on_failure\": true,\n \"redirection_time\": 10,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"slug\": \"a767fcb10b7541c796ca1083d948ce31\",\n \"url\": \"https://pay.stg.conekta.io/checkout/a767fcb10b7541c796ca1083d948ce31\"\n },\n \"object\": \"order\",\n \"id\": \"ord_2tSiWW7njfEgy4Ms6\",\n \"metadata\": {},\n \"is_refundable\": true,\n \"created_at\": 1677604774,\n \"updated_at\": 1677604774,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Vasija de Cerámica\",\n \"description\": \"Description\",\n \"unit_price\": 20000,\n \"quantity\": 1,\n \"sku\": \"SKU\",\n \"tags\": [\n \"tag1\",\n \"tag2\"\n ],\n \"brand\": \"Brand\",\n \"object\": \"line_item\",\n \"id\": \"line_item_2tSiWW7njfEgy4Ms2\",\n \"parent_id\": \"ord_2tSiWW7njfEgy4Ms6\",\n \"metadata\": {\n \"Valor3\": \"South#23\"\n },\n \"antifraud_info\": {}\n }\n ]\n },\n \"shipping_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"amount\": 0,\n \"carrier\": \"Fedex\",\n \"method\": \"Airplane\",\n \"tracking_number\": \"TRACK000000000123\",\n \"object\": \"shipping_line\",\n \"id\": \"ship_lin_2tSiWW7njfEgy4Ms3\",\n \"parent_id\": \"ord_2tSiWW7njfEgy4Ms6\"\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 3,\n \"data\": [\n {\n \"id\": \"63fe39067033d8000169dd7a\",\n \"livemode\": true,\n \"created_at\": 1677605126,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"FIBd3eKUhff43QLEp6xZ\",\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"a767fcb1-0b75-41c7-96ca-1083d948ce31\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tSib2crxT9HiVyas\"\n },\n \"payment_method\": {\n \"name\": \"Alexis Gatto\",\n \"exp_month\": \"01\",\n \"exp_year\": \"25\",\n \"object\": \"card_payment\",\n \"type\": \"debit\",\n \"last4\": \"5454\",\n \"brand\": \"mastercard\",\n \"issuer\": \"\",\n \"account_type\": \"\",\n \"country\": \"US\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"declined\",\n \"amount\": 20000,\n \"fee\": 1044,\n \"customer_id\": \"cus_2ss5YAeTKuEr5M4fD\",\n \"order_id\": \"ord_2tSiWW7njfEgy4Ms6\"\n },\n {\n \"id\": \"63fe38f97033d8000169dd6f\",\n \"livemode\": true,\n \"created_at\": 1677605113,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"FIBd3eKUhff43QLEp6xZ\",\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"a767fcb1-0b75-41c7-96ca-1083d948ce31\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tSias2DBrprazMDJ\"\n },\n \"payment_method\": {\n \"name\": \"ale test\",\n \"exp_month\": \"12\",\n \"exp_year\": \"25\",\n \"object\": \"card_payment\",\n \"type\": \"debit\",\n \"last4\": \"5454\",\n \"brand\": \"mastercard\",\n \"issuer\": \"\",\n \"account_type\": \"\",\n \"country\": \"US\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"declined\",\n \"amount\": 20000,\n \"fee\": 1044,\n \"customer_id\": \"cus_2ss5YAeTKuEr5M4fD\",\n \"order_id\": \"ord_2tSiWW7njfEgy4Ms6\"\n },\n {\n \"id\": \"63fe38ef7033d8000169dd64\",\n \"livemode\": true,\n \"created_at\": 1677605103,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"FIBd3eKUhff43QLEp6xZ\",\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"a767fcb1-0b75-41c7-96ca-1083d948ce31\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tSiakNqW4m1xZNoP\"\n },\n \"payment_method\": {\n \"name\": \"Alexis TestVisa\",\n \"exp_month\": \"01\",\n \"exp_year\": \"25\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4242\",\n \"brand\": \"visa\",\n \"issuer\": \"BANAMEX\",\n \"account_type\": \"Credit\",\n \"country\": \"MX\",\n \"fraud_indicators\": [\n {\n \"description\": \"El usuario está utilizando una tarjeta de crédito o débito de prueba en modo producción.\",\n \"weight\": null,\n \"value\": null\n }\n ]\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"declined\",\n \"amount\": 20000,\n \"fee\": 116,\n \"customer_id\": \"cus_2ss5YAeTKuEr5M4fD\",\n \"order_id\": \"ord_2tSiWW7njfEgy4Ms6\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 4300,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tPAmKCEJqh8RE6nW\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tPAmKCEJqh8RE6nX\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tPAmKCEJqh8RE6nY\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676667267,\n \"updated_at\": 1676996351,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 3,\n \"data\": [\n {\n \"name\": \"test csharp\",\n \"description\": \"test modified\",\n \"unit_price\": 500,\n \"quantity\": 2,\n \"tags\": [\n \"Pago 2\",\n \"Pago mensualidad 2\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tQ8HkkfbauaKP9Ho\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\",\n \"metadata\": {\n \"key\": \"value\"\n },\n \"antifraud_info\": {\n \"key\": \"value2\"\n }\n },\n {\n \"name\": \"test csharp\",\n \"description\": \"test csharp\",\n \"unit_price\": 500,\n \"quantity\": 2,\n \"object\": \"line_item\",\n \"id\": \"line_item_2tPAokCikvD2rorMf\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\",\n \"metadata\": {\n \"key\": \"value\"\n },\n \"antifraud_info\": {\n \"key\": \"value\"\n }\n },\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tPAmKCEJqh8RE6nU\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"shipping_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"amount\": 100,\n \"carrier\": \"FEDEX\",\n \"method\": \"bus\",\n \"tracking_number\": \"track123\",\n \"object\": \"shipping_line\",\n \"id\": \"ship_lin_2tQPU5qoFZFCsQHGs\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\",\n \"metadata\": {\n \"key2\": \"value2\"\n }\n }\n ]\n },\n \"tax_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 4,\n \"data\": [\n {\n \"description\": \"test csharp2222\",\n \"amount\": 100,\n \"object\": \"tax_line\",\n \"id\": \"tax_lin_2tQ974hSHcsdeSZHG\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\"\n },\n {\n \"description\": \"test csharp\",\n \"amount\": 100,\n \"object\": \"tax_line\",\n \"id\": \"tax_lin_2tQ95yCyWUTqsDV9b\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\"\n },\n {\n \"description\": \"test csharp\",\n \"amount\": 100,\n \"object\": \"tax_line\",\n \"id\": \"tax_lin_2tQ94zMtR87tiRPRf\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\"\n },\n {\n \"description\": \"test postman\",\n \"amount\": 100,\n \"object\": \"tax_line\",\n \"id\": \"tax_lin_2tQ8dC5mg1UADmVPo\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\"\n }\n ]\n },\n \"discount_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"code\": \"1234\",\n \"amount\": 200,\n \"type\": \"loyalty\",\n \"object\": \"discount_line\",\n \"id\": \"dis_lin_2tQQ58HPgPw7StE8z\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tPAkpQH14jq2hDgA\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tPAkpQH14jq2hDgB\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tPAkpQH14jq2hDgC\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676667228,\n \"updated_at\": 1676667245,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 2,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad test\",\n \"description\": \"Mes de marz.\",\n \"unit_price\": 1000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago 2\",\n \"Pago mensualidad 2\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tPAm2xCrTJrfHW1K\",\n \"parent_id\": \"ord_2tPAkpQH14jq2hDgC\",\n \"metadata\": {},\n \"antifraud_info\": {}\n },\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tPAkpQH14jq2hDg8\",\n \"parent_id\": \"ord_2tPAkpQH14jq2hDgC\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tP72uE7jK7iHdFVd\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tP72uE7jK7iHdFVe\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tP72uE7jK7iHdFVf\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676650265,\n \"updated_at\": 1676650327,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tP72uE7jK7iHdFVb\",\n \"parent_id\": \"ord_2tP72uE7jK7iHdFVf\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"63efa757cf65380001aec040\",\n \"livemode\": true,\n \"created_at\": 1676650327,\n \"currency\": \"MXN\",\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/9e9f39dd48fe91bef5424e64e3a3bfedc919b120.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MFEACMARD%2F20230217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230217T161207Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIGWtRkzuSh3mieAG8Qtont4%2Bmuqe%2B%2BvKmNJdbLv5Z3xDAiBjUMuXrcmJDneKaUAbwfKKNi%2FCxs7kgSZXIeviKdPKIyqHBAhgEAIaDDc5OTgwMTA4MTY4OCIMLJnfLVnI3fBUtD0EKuQDtNV5vIciROZNyt5VAPR2WpkDLPFU%2BfpQGyWom0W6Axhi1b8ACxSsCYGFzmnR1IrUiJ8wsaJN3Z758MqA88y6c2tHjOABgiqGGyO4njO64LCzuTYnyz2Hs3LnTG9uayqxf8lQYWoL4%2FdyXi3%2BCVXTbWvhcmQPB1o03AWLGr1hjzHuAKQPhz2HTnM85f3H5EVU5PvLY6WFVzjV5E0QWXta%2B4K%2FiSzOqWk%2BS%2FtT0KYhQ2s9RRVE3TWf4OtD8PpPKKGAicCnrqTWiXDLmbx1ZnyBtC5Qewhadi4%2BMEf9a7aLNsgYjAu197%2Fcz%2FPIYxEw2Mu%2BFBjfEmx%2FZ2qa%2BV6HUOUMylhLgfFXlbmQv049qXjkhXpNKPFigv0zl7Mk%2FhASn5gnf7Lgqpcpx6V%2Bg9kCwZ74ix%2FrdxYeilFVV%2FeYyutRnc6yEtAOTPxX03Zgrs8gO5knIhMDBymtc2wDtlYWBEDpsrxflVAxXf8gyNa3Sl9afRHjq04kehAt8TdTLBOUHJHLDHkk0ZtGS8tCO50KCYjMpqwGbibqv%2BwoiaNd3J%2Ft%2F71jlZXVyYdcXI1Z0psC1aY5vpR7%2BOCEWS7K7terNfPBdHlfqTispgCQHqMEB3nay0Sms0KAB9H5k56gswIBUlwNL2z28DCBrr6fBjqmAZrx0soBstN9%2BXgZT2S0JmuyhGzc2XKpaIDkctpITE12Ym25YDWwQYmHuYpECdjKBQ%2BzSb1RbEqlz37iyF6XGTMmh4WNNhENZ7Ie8lNQNLz8zCneeMFM%2FAaEHwbsgvEhTKykoESBX5TGyo%2Fi1YrbZvbQJ2WSFS6gVFHwoBq86Ooa3AyINUZB4boqhO0BJ1ffvtz%2BwBJSvmyMKoXv7OaED43nxW%2BvJTk%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=db0689f105fdba31a4a3ba62b2cdb8f80bbe570a737c1b8cedb65e45cbb45b91\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1679011200,\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262277930\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 14,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tP72uE7jK7iHdFVf\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tNYbzzbb1zcB4gBp\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tNYbzzbb1zcB4gBq\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tNYbzzbb1zcB4gBr\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676502497,\n \"updated_at\": 1676502498,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tNYbzzbb1zcB4gBn\",\n \"parent_id\": \"ord_2tNYbzzbb1zcB4gBr\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"63ed65e14044ea0001b3cf30\",\n \"livemode\": true,\n \"created_at\": 1676502497,\n \"currency\": \"MXN\",\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/5aebfcdecfc60bf3128e3d6d52d698e75c61b8fe.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MO4IXAVWV%2F20230215%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230215T230817Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEJ%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIGlYRndD5T2JnPk%2BWWOoI3h9nXW4F%2FQiREVp60I9GS2eAiEAkwgQwACxy%2BWsNEga5Enr4KRQLSpHXxxlhuxp3vDOE%2FsqhwQIOBACGgw3OTk4MDEwODE2ODgiDA7qNmZeph78KJO1NyrkA%2FiUSVNu7PO1rGUYmhuC18uvQv57lkPPPtQV%2B9IOA5W0RrKcxBQZRzBQwYtOZUJcv4wNrHgHv6nxj%2BaRAo3qaLv9ow29n2L7KvZeZsPMhoBd1yGyYirbY7x5Acj54dSQqiV6oBwaJLIdyFeGTMRHBYCuLC9LQv4Hs4zU%2FRSx4%2Bzp4PKDJZKMW8JS0bFO6dj1ecCATik4n3%2BOW%2BDj6T735ESVQLDETVj1XS%2BYyK1DLWsMabn0PgS%2FhIGQk%2B7vLUT2dCS0L4B6rLRYIIYkywVeoMPjSl7aVFlxBhxFRm7a2YVYPktlfNjmp6Kzg9G75LRQQyDdCD32Xs3HYOArWonEO1hFl8EhaTWyKhxOQHHq0TUo4tkAx0Kmy0ar0JLbRfIyrXdpZgjbNyGfGGW2%2BnSeONYJpj1WHBwQkDtg3oO5mrch9S83sYrz7c%2BXifku2HSdr4kucNgXqCG5Fbp%2F3qqCr4m2%2BImzbclxL1gS5rpl45OYA0AlMfIGNrET%2BlombMH3mXaoPtbsbYAXkX7xk6HqXZRJmdphVgOTWWhnt8j3M4VFwPd9rj6QrSaKZFIIpgluKVqePuLFjRgfToQ%2FBXNOVHJT8cRbSC%2BDz3Y7y%2BPsPCjEOOvQEbzT%2BhuZNMMllaAgnz%2FCGIUwwcm1nwY6pQGKbewlnXqfAU%2B5yDwJDFsgj5mtPXhh7ED9NefljsJzUH31l0kbFLkIgWPxynNLxMnZlTrecwBjTJLQEnx7Utpm51mA%2FrolACdwLpEoL6XH63RBvFs%2F%2Bc0lfc6mcP8zu4qoBA0A11aAh1uqDpQDhMGfOzQWga9EEs39kx85UlMCPxQRrh1bmsaolFKxNmUCZv5a%2BwoPtjIj3M0tiZjcJDLQ%2FQYYD78%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=7ef873dcb182b87061704afdba056da24d6707a08a1a0659d4a32aec1c06ce23\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1678838400,\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262277815\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 2000,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tNYbzzbb1zcB4gBr\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tNYRWFQHBtbsCSi2\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tNYRWFQHBtbsCSi3\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tNYRWFQHBtbsCSi4\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676501672,\n \"updated_at\": 1676501673,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tNYRWFQHBtbsCShz\",\n \"parent_id\": \"ord_2tNYRWFQHBtbsCSi4\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"63ed62a8b057b50001186bb0\",\n \"livemode\": true,\n \"created_at\": 1676501672,\n \"currency\": \"MXN\",\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/dbe611be7832d4b1803f6a8c0178a8eb1235fb5d.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MF5UC2Y2T%2F20230215%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230215T225433Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEJ%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIBOfT4UaZyh9mY3GyrKZ8cx8C9Fzc0CXCZpKWxgnWCjuAiEA5F8Hx7cpw8UasEOl3kHcojqawwjc9MANBHS9B8g01JcqhwQIOBACGgw3OTk4MDEwODE2ODgiDAt%2BQN4aqP8pxbGWjCrkA9DXhVV%2BP0p%2FRLBXYzX9AvMgZdRIZW9bU5m8S0c2WfM26AUqVEYd4SPk3ZGbrsUEQ9Ooh5xCSFf1kH%2BYa7kRm0fOIAWoGdHc3CD6RKDNBB7TIOUxG1L25oG6ebZzZcbU0hTFuqgdbsjAjwTK1zjlSKg%2FYINtiD1uRXkemWVy71VIXx%2FCfuxn4iEGtljZBsSKnUZ14PxnSZ1lXo9IOC0HzSbHGNXwIeO5ppj2QdexIfEP%2BiKELU96nWEbIEaMYdkA%2Bz1RKYBWYU%2FxHX6Wz%2BOnsr0feqw7an8IGzMoAtKO0p8VAxTfOo4Jt222E45j8vvwASVD9rMf2r8sdqLbpQHSIOX0j1FzLQfLcKHvJCOdPhSYImr2V9vJss82onqeCfG%2FnvYKyZCUs%2BEoIw91A39sHw5oAzN1TlAcxGlHyXzAL180koX8QOCObOtPm89NVmAYvsZLahVEAP6%2BHqrnmUGWAtOC1Y3H%2FyUIB9vUnTyDhPMbx18vUdaOF2zkYwFDP7up6R%2BIzABzmYxRtokq0aFYKdOJMb0%2FK6F0rTYChcmIkowjFK%2FtXDZ84c2rtMsAEnivxyc3h59Sdd9hukxwhw3mIsIOT6UGsgraBSX9CcPZS1pEJIt6fTu2a5qA2g%2B1y6WR%2BcARkGIwmb21nwY6pQHhY2fqu3M%2Fp%2FJWgVLrZuev7%2FW1SAVYSLuh4kS79glqUItsUILIh4tladBKFksyaX0ytRmzOZ%2BdFW4nsDlbZ4eqXZP1QL0RWjVX5Jw3kc%2Bg5zTFeDTHUVUhevS9RG7xQBfO4CarswXZ5RTG2ozc213YuWTgumElbp6wcUACeIOa6IkxOHhqmuTBSJfBv48ycSNljAxSZqkxHPENX87HK5vBCUeWPOg%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=8cc6e4f8b822db762ecc409798a40024bcd61b321b0bb3e64d0bf26919378d54\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1678838400,\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262277807\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 2000,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tNYRWFQHBtbsCSi4\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 460,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tNDzhA4Akmzj11AQ\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"6fca054a-8519-4c43-971e-cea35cc519bb\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tNDzhA4Akmzj11AU\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tNDzhA4Akmzj11AR\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"6fca054a-8519-4c43-971e-cea35cc519bb\",\n \"name\": \"ord-2tNDzhA4Akmzj11AS\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"http://187.216.228.66:2222/SysVentasPagos/Acceso.aspx\",\n \"failure_url\": \"http://187.216.228.66:2222/SysVentasPagos/Acceso.aspx\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"HostedPayment\",\n \"recurrent\": false,\n \"starts_at\": 1676354400,\n \"expires_at\": 1676613599,\n \"allowed_payment_methods\": [\n \"card\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"is_redirect_on_failure\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"slug\": \"6fca054a85194c43971ecea35cc519bb\",\n \"url\": \"https://pay.stg.conekta.io/checkout/6fca054a85194c43971ecea35cc519bb\"\n },\n \"object\": \"order\",\n \"id\": \"ord_2tNDzhA4Akmzj11AS\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676417703,\n \"updated_at\": 1676663383,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 460,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tNDzhA4Akmzj11AN\",\n \"parent_id\": \"ord_2tNDzhA4Akmzj11AS\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"63efda57cf65380001aec1a9\",\n \"livemode\": true,\n \"created_at\": 1676663383,\n \"currency\": \"MXN\",\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"6fca054a-8519-4c43-971e-cea35cc519bb\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tP9usmyzXMXaJc2F\"\n },\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/0f0f98272185c8060bb812ad1c790f4247360512.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MOQYX2SEM%2F20230217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230217T194943Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMr%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIQDzzIB7Wi7vELmx9iGedGGem1vsg%2FYnCWsECQ%2Fx%2BdQ%2FqgIgVqINLKl2CQF2OgpWBZw7bnEl5Pp6KY49%2FOQ56LM5ylYqhwQIYxACGgw3OTk4MDEwODE2ODgiDB4G%2F22RR5G7uGaExyrkA0IuptcoulAGRSziLp59vcR1%2BbSL8pY64k84b%2B%2FIgGnf1XSJek2wOALC3WbJ%2Fs1zrT6iRoJHAmQ%2B%2BtjVJgF1XxujQZiGiQVHThsePVtFVEGSZfjNWzldUaFKQLhn%2BZfls9JTb3pddbIHA%2BRQwjOJ1K8NKf7EQGn5gMMZQKaC%2FAWTlXwWnZfM2u03JVvJaioRZm3S7lnM89ICjHTxOxTk0m51Vm9ZVVARhb38w%2FPw%2F194Ah4JU7NrYai5rdkALbVP%2FAE0QYP0micI9Whj8OQDlptB53rsDzlZatcSjYK%2Frod9bzMJXv5b6dWezTCwO4ryGV24N0Q3Pmdg9U9cUOPvHVsjiq4HKx6l8Gc70WI61F77HNq0MnYXMR1ozJSHtPLTbFXZcyFGnPXbEy7t78gCnpjAPQCaMCnrWBur43mcNRG80sYPo%2FJLDD2jZ9glhzlSzSHik%2FI6ozQC13kBHL8PHVAw6OAwaSXbU%2BPI5nMtEUOOiPwQpsqcFErN8YVvHH1JqWdjNiiPTMqNNMxPRdAOcrLmGHwWDswOwhg0HMW0bKY3JjClAhSb1JxD5wNIvcZiMLxva6pMwJiQlv%2FFbLvQcN%2BMDEz3Ophf1u%2BWA8IPg08%2B29rk78AIFMotIFB7QVQ8kqacbVcw4IC%2FnwY6pQH8BNCZY%2Bp0ngsfYTZ%2BuNMr0%2B50E3HhXzQIRXajTNtNg4pAxoSHccoeEQGBGy6TTeblpCT%2Bet8unkDeOyHrqJwQLFOwj0wXdSnLEkE6iNdHBhUgSWtD5RwRcquS3VPH7v5S3zY2k2GecLxjWuhDA1Wrammgjgk4cz7XsjBBrk1e7Rte2W4gNKq1oYX4SaZBSfAV7QkFb6SYxEKgv4C5VfBmXRGAOJc%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=4a0673cb5d996dc426a9e749a2c00894ee1c58b68f29a9fd12a311974d178fed\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1679011200,\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262277955\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 460,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tNDzhA4Akmzj11AS\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 460,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tNDyQbJacvUZiyfn\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"fc9fd60a-39ad-4f00-b938-8aa484d9c62f\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tNDyQbJacvUZiyfq\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tNDyQbJacvUZiyfo\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"fc9fd60a-39ad-4f00-b938-8aa484d9c62f\",\n \"name\": \"ord-2tNDyQbJacvUZiyfp\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"http://187.216.228.66:2222/SysVentasPagos/Acceso.aspx\",\n \"failure_url\": \"http://187.216.228.66:2222/SysVentasPagos/Acceso.aspx\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"HostedPayment\",\n \"recurrent\": false,\n \"starts_at\": 1676354400,\n \"expires_at\": 1676613599,\n \"allowed_payment_methods\": [\n \"card\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"is_redirect_on_failure\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"slug\": \"fc9fd60a39ad4f00b9388aa484d9c62f\",\n \"url\": \"https://pay.stg.conekta.io/checkout/fc9fd60a39ad4f00b9388aa484d9c62f\"\n },\n \"object\": \"order\",\n \"id\": \"ord_2tNDyQbJacvUZiyfp\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676417602,\n \"updated_at\": 1676417602,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Box of Cohiba S1s\",\n \"unit_price\": 460,\n \"quantity\": 1,\n \"object\": \"line_item\",\n \"id\": \"line_item_2tNDyQbJacvUZiyfk\",\n \"parent_id\": \"ord_2tNDyQbJacvUZiyfp\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n }\n ]\n}",
+ "body": "{\n \"next_page_url\": \"https://api-core.stg.conekta.io/orders?next=ord_2tNDyQbJacvUZiyfp\",\n \"has_more\": true,\n \"total\": 448,\n \"object\": \"list\",\n \"data\": [\n {\n \"livemode\": true,\n \"amount\": 10000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Miles_Price@gmail.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKZmA749BLsMRgBY\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUigJs3CPGFSNbZi\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUigJ8DgBhbp6w5D\",\n \"metadata\": {},\n \"is_refundable\": true,\n \"created_at\": 1678134109,\n \"updated_at\": 1678134110,\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"64064b5ddb5c8a0001cde484\",\n \"livemode\": true,\n \"created_at\": 1678134109,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"QFdozPB7caeKikDCXQebz2j1uyYKUf2s\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKZmA749BLsMRgBY\",\n \"order_id\": \"ord_2tUigJ8DgBhbp6w5D\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUhuyzqLi6UJE9Cy\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"8bf936e6-3b5c-4095-a9f3-69aca5ad7863\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUhuyzqLi6UJE9D2\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUhuyzqLi6UJE9Cz\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"8bf936e6-3b5c-4095-a9f3-69aca5ad7863\",\n \"name\": \"ord-2tUhuyzqLi6UJE9D1\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": true\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUhuyzqLi6UJE9D1\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678130628,\n \"updated_at\": 1678130628,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUhuyzqLi6UJE9Cw\",\n \"parent_id\": \"ord_2tUhuyzqLi6UJE9D1\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUhcjeepaMTxHwQ7\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"ed002df7-6b53-483f-8ac3-bc35fbbfbc10\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUhcjeepaMTxHwQA\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUhcjeepaMTxHwQ8\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"ed002df7-6b53-483f-8ac3-bc35fbbfbc10\",\n \"name\": \"ord-2tUhcjeepaMTxHwQ9\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [\n 3,\n 6,\n 12\n ],\n \"monthly_installments_enabled\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUhcjeepaMTxHwQ9\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678129273,\n \"updated_at\": 1678129273,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUhcjeepaMTxHwQ5\",\n \"parent_id\": \"ord_2tUhcjeepaMTxHwQ9\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUhcPiXmC9x512Am\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"dc45f292-4890-468b-a117-8d8e1ea5371a\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUhcPiXmC9x512Ap\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUhcPiXmC9x512An\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"dc45f292-4890-468b-a117-8d8e1ea5371a\",\n \"name\": \"ord-2tUhcPiXmC9x512Ao\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUhcPiXmC9x512Ao\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678129246,\n \"updated_at\": 1678129246,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUhcPiXmC9x512Aj\",\n \"parent_id\": \"ord_2tUhcPiXmC9x512Ao\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgccjdQJ7SdBrXZ\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"8c4e58f7-828e-48cb-960d-c12242ffa319\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgccjdQJ7SdBrXc\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgccjdQJ7SdBrXa\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"8c4e58f7-828e-48cb-960d-c12242ffa319\",\n \"name\": \"ord-2tUgccjdQJ7SdBrXb\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [\n 3,\n 6,\n 12\n ],\n \"monthly_installments_enabled\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUgccjdQJ7SdBrXb\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678124707,\n \"updated_at\": 1678124707,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgccjdQJ7SdBrXX\",\n \"parent_id\": \"ord_2tUgccjdQJ7SdBrXb\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgQLJywuuSAaTmy\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"bc2a3674-660b-4118-b209-10fd0c7b2539\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgQM3oU7U5nr8GS\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgQLJywuuSAaTmz\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"bc2a3674-660b-4118-b209-10fd0c7b2539\",\n \"name\": \"ord-2tUgQLJywuuSAaTn1\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUgQLJywuuSAaTn1\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678123743,\n \"updated_at\": 1678123743,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgQLJywuuSAaTmw\",\n \"parent_id\": \"ord_2tUgQLJywuuSAaTn1\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgAg9rFzuNAoQ7o\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"96a87c6e-e848-4f3d-bf06-c66b1c03e5c7\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgAg9rFzuNAoQ7r\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgAg9rFzuNAoQ7p\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"96a87c6e-e848-4f3d-bf06-c66b1c03e5c7\",\n \"name\": \"ord-2tUgAg9rFzuNAoQ7q\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUgAg9rFzuNAoQ7q\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1678122669,\n \"updated_at\": 1678122669,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgAg9rFzuNAoQ7m\",\n \"parent_id\": \"ord_2tUgAg9rFzuNAoQ7q\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUg8uXxtHfCFGA21\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"e085df36-bb2d-4e8e-825e-31d713ba15a7\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUg8vGnQVDqsXpWU\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUg8uXxtHfCFGA22\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"e085df36-bb2d-4e8e-825e-31d713ba15a7\",\n \"name\": \"ord-2tUg8uXxtHfCFGA23\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678341599,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUg8uXxtHfCFGA23\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1678122531,\n \"updated_at\": 1678122531,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUg8uXxtHfCFGA1y\",\n \"parent_id\": \"ord_2tUg8uXxtHfCFGA23\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUg82bRxXpS6dNDH\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"eeb3a7d9-ceec-4bdf-8aae-2b70f5c81bb7\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUg82bRxXpS6dNDL\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUg82bRxXpS6dNDJ\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"eeb3a7d9-ceec-4bdf-8aae-2b70f5c81bb7\",\n \"name\": \"ord-2tUg82bRxXpS6dNDK\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678341599,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUg82bRxXpS6dNDK\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1678122461,\n \"updated_at\": 1678122461,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUg82bRxXpS6dNDF\",\n \"parent_id\": \"ord_2tUg82bRxXpS6dNDK\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tTirxDJEFDe8NUAL\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tTirxDJEFDe8NUAM\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tTirxDJEFDe8NUAN\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1677870662,\n \"updated_at\": 1677870662,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tTirxDJEFDe8NUAJ\",\n \"parent_id\": \"ord_2tTirxDJEFDe8NUAN\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"6402464645f9e8000165c2ca\",\n \"livemode\": true,\n \"created_at\": 1677870662,\n \"currency\": \"MXN\",\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/94e526bbd9f77af1a95130691088021ff869fbda.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MLPWLPAKO%2F20230303%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230303T191102Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBwaCXVzLWVhc3QtMSJIMEYCIQCJcvbKD7bOSESXyn8oo%2FzfAPwgWO4m3NCWDb2gumoMZAIhAIam91DYG1qorOEkgdzBoLNsGcQEMW%2BoxcWGT0Y0IqIXKpAECMT%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQAhoMNzk5ODAxMDgxNjg4IgwOC3W4Y8gV514Fx7cq5APKrTe4Zq7AkcKI9H4NfaNt1MA7YwPFUl0JCC0jkCW1KRpmzXir9Gl8%2F6YslsKNsWhyPU7ZJH8rynf%2BENPwAf0doyCP0mT5mA7I1HaCNXW4AioVMgP2uPAVEimK16%2Br2MQ9LGNbUywuMErd8rDtpzSQ0tXyB0E9piLTh3ejASBzSsSF79KCD2eVEg24wdyUQyw1ftuwsDk24j9QpCFUyPeihzOVf3RDXtTYSWyQt4%2B1cYVodnBXErRVpO%2FPVA%2FpKe20WxZbLyBkMKU4Sb34YpFOhqVIeWr8SWB%2BueUkRuXj8jxhaMve9lNaCdRIzSZxSbhIcslWupXp6J6hPXgOSv%2BVBDxtl4geZLNACIXcTgVzLaLOUt8w2ItPULFzdtgOYaHvsQzZUlDcJFUrl1ytBOdrIvBX7qwuHOxJBQ2yQKMbH7gKFdd%2B5PGNDj5cWe%2B1plr%2FUileuMpdXLfXmQ2%2FNTgo6knbmXbaji6O%2BdS3ox3czOobhNOoqvCGdpPzyHyACYmzRP9VLnJluXZIHn3T6lEqNcGO1b%2FGdP1yeAG%2Bw%2BSWS6nspG9y33z8fdjqBFqmD%2F0Qp4fzPqrbI4G0Yc8us8xzJKw8t32Eq%2FTOvxxhOxqZTPi%2B5LiDADW8qvIO1v1SpmqKUnVVMJ2KiaAGOqQBKKpjIc7bpa6UwW1yHiHZNf7wCDnSr0bucJHkDvFTGc6wcCNzQgzCaRxp5%2FlLY68NFiqTLrjswEesap%2FQINS9y68Wz%2BvmZYEQrjSLXdDuXvckYrPzYsInCb%2BKvqS1p%2FXAhrk6c9eHYErOLJC4gTowtTWM6VH68%2B74ZSu4J1C2nxL252u5uCb2yODA5WfQ79cxPCeMmB9D0b9cJnDPqa6vf1tHHoc%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=0af1ed056b660f18c69f4ab039e46891dee21fd4a045a9201181a825f1766c05\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1680480000,\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262280678\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 2000,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tTirxDJEFDe8NUAN\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 10000,\n \"currency\": \"MXN\",\n \"payment_status\": \"declined\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tSoWNL3A41LDVatS\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tSoWNL3A41LDVatQ\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tSoWNL3A41LDVatK\",\n \"metadata\": {},\n \"is_refundable\": true,\n \"created_at\": 1677627543,\n \"updated_at\": 1677717913,\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 5,\n \"data\": [\n {\n \"id\": \"640570cc4f47a400014847ed\",\n \"livemode\": true,\n \"created_at\": 1678078156,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"PeLn2HZJKwT9PmEuVCcPLPYN7WeYmZMf\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoWNL3A41LDVatK\"\n },\n {\n \"id\": \"6402b1a64f47a40001483299\",\n \"livemode\": true,\n \"created_at\": 1677898150,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"Q8PhhabwTyjeKo9d1DwujHZWDkvX9y8v\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoWNL3A41LDVatK\"\n },\n {\n \"id\": \"63fff28386af700001fff912\",\n \"livemode\": true,\n \"created_at\": 1677718147,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"ST6wUrE6WFfVg2uTHJ5AtCp4ZEGNiTLp\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoWNL3A41LDVatK\"\n },\n {\n \"id\": \"63fff19986af700001fff900\",\n \"livemode\": true,\n \"created_at\": 1677717913,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"JMvw8DEXV5dnc7GWNru4f98VPHkM5txc\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoWNL3A41LDVatK\"\n },\n {\n \"id\": \"63fe90977ec07c00013c91c4\",\n \"livemode\": true,\n \"created_at\": 1677627543,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"aaKEctPdNiPbk1PovzsMarfVEbQ32ExX\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoWNL3A41LDVatK\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 10000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tSoMP7bZJbLiq4zF\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tSoMP7bZJbLiq4zD\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tSoMP7bZJbLiq4z8\",\n \"metadata\": {},\n \"is_refundable\": true,\n \"created_at\": 1677626837,\n \"updated_at\": 1677626837,\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"63fe8dd57ec07c00013c914d\",\n \"livemode\": true,\n \"created_at\": 1677626837,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"ZXetAuLpsAMgEMKEJRcmbmqfJt1afCTC\",\n \"payment_method\": {\n \"name\": \"erererere ererere \",\n \"exp_month\": \"06\",\n \"exp_year\": \"24\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4607\",\n \"brand\": \"mastercard\",\n \"issuer\": \"JOINT STOCK SAVINGS BANK BELARUSBANK\",\n \"account_type\": \"BUSINESS\",\n \"country\": \"BY\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"status\": \"declined\",\n \"amount\": 10000,\n \"fee\": 580,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"order_id\": \"ord_2tSoMP7bZJbLiq4z8\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 20000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"leandro.orban@conekta.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Leandro Orban\",\n \"corporate\": false,\n \"customer_id\": \"cus_2ss5YAeTKuEr5M4fD\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Mario perez\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Campeche y Morelos\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"78215\"\n },\n \"id\": \"ship_cont_2tSiWW7njfEgy4Ms5\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"a767fcb1-0b75-41c7-96ca-1083d948ce31\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tSiWZ54pTVHU91pm\"\n },\n \"checkout\": {\n \"id\": \"a767fcb1-0b75-41c7-96ca-1083d948ce31\",\n \"name\": \"Arte en Sublimación\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"https://aortegag0501.wixsite.com/artesublimacion/success\",\n \"failure_url\": \"https://aortegag0501.wixsite.com/artesublimacion/failure\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"HostedPayment\",\n \"recurrent\": false,\n \"starts_at\": 1677564000,\n \"expires_at\": 1677823199,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [\n 3,\n 6,\n 9,\n 12\n ],\n \"monthly_installments_enabled\": true,\n \"is_redirect_on_failure\": true,\n \"redirection_time\": 10,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"slug\": \"a767fcb10b7541c796ca1083d948ce31\",\n \"url\": \"https://pay.stg.conekta.io/checkout/a767fcb10b7541c796ca1083d948ce31\"\n },\n \"object\": \"order\",\n \"id\": \"ord_2tSiWW7njfEgy4Ms6\",\n \"metadata\": {},\n \"is_refundable\": true,\n \"created_at\": 1677604774,\n \"updated_at\": 1677604774,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Vasija de Cerámica\",\n \"description\": \"Description\",\n \"unit_price\": 20000,\n \"quantity\": 1,\n \"sku\": \"SKU\",\n \"tags\": [\n \"tag1\",\n \"tag2\"\n ],\n \"brand\": \"Brand\",\n \"object\": \"line_item\",\n \"id\": \"line_item_2tSiWW7njfEgy4Ms2\",\n \"parent_id\": \"ord_2tSiWW7njfEgy4Ms6\",\n \"metadata\": {\n \"Valor3\": \"South#23\"\n },\n \"antifraud_info\": {}\n }\n ]\n },\n \"shipping_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"amount\": 0,\n \"carrier\": \"Fedex\",\n \"method\": \"Airplane\",\n \"tracking_number\": \"TRACK000000000123\",\n \"object\": \"shipping_line\",\n \"id\": \"ship_lin_2tSiWW7njfEgy4Ms3\",\n \"parent_id\": \"ord_2tSiWW7njfEgy4Ms6\"\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 3,\n \"data\": [\n {\n \"id\": \"63fe39067033d8000169dd7a\",\n \"livemode\": true,\n \"created_at\": 1677605126,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"FIBd3eKUhff43QLEp6xZ\",\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"a767fcb1-0b75-41c7-96ca-1083d948ce31\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tSib2crxT9HiVyas\"\n },\n \"payment_method\": {\n \"name\": \"Alexis Gatto\",\n \"exp_month\": \"01\",\n \"exp_year\": \"25\",\n \"object\": \"card_payment\",\n \"type\": \"debit\",\n \"last4\": \"5454\",\n \"brand\": \"mastercard\",\n \"issuer\": \"\",\n \"account_type\": \"\",\n \"country\": \"US\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"declined\",\n \"amount\": 20000,\n \"fee\": 1044,\n \"customer_id\": \"cus_2ss5YAeTKuEr5M4fD\",\n \"order_id\": \"ord_2tSiWW7njfEgy4Ms6\"\n },\n {\n \"id\": \"63fe38f97033d8000169dd6f\",\n \"livemode\": true,\n \"created_at\": 1677605113,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"FIBd3eKUhff43QLEp6xZ\",\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"a767fcb1-0b75-41c7-96ca-1083d948ce31\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tSias2DBrprazMDJ\"\n },\n \"payment_method\": {\n \"name\": \"ale test\",\n \"exp_month\": \"12\",\n \"exp_year\": \"25\",\n \"object\": \"card_payment\",\n \"type\": \"debit\",\n \"last4\": \"5454\",\n \"brand\": \"mastercard\",\n \"issuer\": \"\",\n \"account_type\": \"\",\n \"country\": \"US\",\n \"fraud_indicators\": []\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"declined\",\n \"amount\": 20000,\n \"fee\": 1044,\n \"customer_id\": \"cus_2ss5YAeTKuEr5M4fD\",\n \"order_id\": \"ord_2tSiWW7njfEgy4Ms6\"\n },\n {\n \"id\": \"63fe38ef7033d8000169dd64\",\n \"livemode\": true,\n \"created_at\": 1677605103,\n \"currency\": \"MXN\",\n \"failure_code\": \"suspected_fraud\",\n \"failure_message\": \"Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.\",\n \"device_fingerprint\": \"FIBd3eKUhff43QLEp6xZ\",\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"a767fcb1-0b75-41c7-96ca-1083d948ce31\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tSiakNqW4m1xZNoP\"\n },\n \"payment_method\": {\n \"name\": \"Alexis TestVisa\",\n \"exp_month\": \"01\",\n \"exp_year\": \"25\",\n \"object\": \"card_payment\",\n \"type\": \"credit\",\n \"last4\": \"4242\",\n \"brand\": \"visa\",\n \"issuer\": \"BANAMEX\",\n \"account_type\": \"Credit\",\n \"country\": \"MX\",\n \"fraud_indicators\": [\n {\n \"description\": \"El usuario está utilizando una tarjeta de crédito o débito de prueba en modo producción.\",\n \"weight\": null,\n \"value\": null\n }\n ]\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"declined\",\n \"amount\": 20000,\n \"fee\": 116,\n \"customer_id\": \"cus_2ss5YAeTKuEr5M4fD\",\n \"order_id\": \"ord_2tSiWW7njfEgy4Ms6\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 4300,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tPAmKCEJqh8RE6nW\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tPAmKCEJqh8RE6nX\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tPAmKCEJqh8RE6nY\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676667267,\n \"updated_at\": 1676996351,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 3,\n \"data\": [\n {\n \"name\": \"test csharp\",\n \"description\": \"test modified\",\n \"unit_price\": 500,\n \"quantity\": 2,\n \"tags\": [\n \"Pago 2\",\n \"Pago mensualidad 2\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tQ8HkkfbauaKP9Ho\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\",\n \"metadata\": {\n \"key\": \"value\"\n },\n \"antifraud_info\": {\n \"key\": \"value2\"\n }\n },\n {\n \"name\": \"test csharp\",\n \"description\": \"test csharp\",\n \"unit_price\": 500,\n \"quantity\": 2,\n \"object\": \"line_item\",\n \"id\": \"line_item_2tPAokCikvD2rorMf\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\",\n \"metadata\": {\n \"key\": \"value\"\n },\n \"antifraud_info\": {\n \"key\": \"value\"\n }\n },\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tPAmKCEJqh8RE6nU\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"shipping_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"amount\": 100,\n \"carrier\": \"FEDEX\",\n \"method\": \"bus\",\n \"tracking_number\": \"track123\",\n \"object\": \"shipping_line\",\n \"id\": \"ship_lin_2tQPU5qoFZFCsQHGs\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\",\n \"metadata\": {\n \"key2\": \"value2\"\n }\n }\n ]\n },\n \"tax_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 4,\n \"data\": [\n {\n \"description\": \"test csharp2222\",\n \"amount\": 100,\n \"object\": \"tax_line\",\n \"id\": \"tax_lin_2tQ974hSHcsdeSZHG\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\"\n },\n {\n \"description\": \"test csharp\",\n \"amount\": 100,\n \"object\": \"tax_line\",\n \"id\": \"tax_lin_2tQ95yCyWUTqsDV9b\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\"\n },\n {\n \"description\": \"test csharp\",\n \"amount\": 100,\n \"object\": \"tax_line\",\n \"id\": \"tax_lin_2tQ94zMtR87tiRPRf\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\"\n },\n {\n \"description\": \"test postman\",\n \"amount\": 100,\n \"object\": \"tax_line\",\n \"id\": \"tax_lin_2tQ8dC5mg1UADmVPo\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\"\n }\n ]\n },\n \"discount_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"code\": \"1234\",\n \"amount\": 200,\n \"type\": \"loyalty\",\n \"object\": \"discount_line\",\n \"id\": \"dis_lin_2tQQ58HPgPw7StE8z\",\n \"parent_id\": \"ord_2tPAmKCEJqh8RE6nY\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tPAkpQH14jq2hDgA\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tPAkpQH14jq2hDgB\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tPAkpQH14jq2hDgC\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676667228,\n \"updated_at\": 1676667245,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 2,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad test\",\n \"description\": \"Mes de marz.\",\n \"unit_price\": 1000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago 2\",\n \"Pago mensualidad 2\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tPAm2xCrTJrfHW1K\",\n \"parent_id\": \"ord_2tPAkpQH14jq2hDgC\",\n \"metadata\": {},\n \"antifraud_info\": {}\n },\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tPAkpQH14jq2hDg8\",\n \"parent_id\": \"ord_2tPAkpQH14jq2hDgC\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tP72uE7jK7iHdFVd\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tP72uE7jK7iHdFVe\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tP72uE7jK7iHdFVf\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676650265,\n \"updated_at\": 1676650327,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tP72uE7jK7iHdFVb\",\n \"parent_id\": \"ord_2tP72uE7jK7iHdFVf\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"63efa757cf65380001aec040\",\n \"livemode\": true,\n \"created_at\": 1676650327,\n \"currency\": \"MXN\",\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/9e9f39dd48fe91bef5424e64e3a3bfedc919b120.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MFEACMARD%2F20230217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230217T161207Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIGWtRkzuSh3mieAG8Qtont4%2Bmuqe%2B%2BvKmNJdbLv5Z3xDAiBjUMuXrcmJDneKaUAbwfKKNi%2FCxs7kgSZXIeviKdPKIyqHBAhgEAIaDDc5OTgwMTA4MTY4OCIMLJnfLVnI3fBUtD0EKuQDtNV5vIciROZNyt5VAPR2WpkDLPFU%2BfpQGyWom0W6Axhi1b8ACxSsCYGFzmnR1IrUiJ8wsaJN3Z758MqA88y6c2tHjOABgiqGGyO4njO64LCzuTYnyz2Hs3LnTG9uayqxf8lQYWoL4%2FdyXi3%2BCVXTbWvhcmQPB1o03AWLGr1hjzHuAKQPhz2HTnM85f3H5EVU5PvLY6WFVzjV5E0QWXta%2B4K%2FiSzOqWk%2BS%2FtT0KYhQ2s9RRVE3TWf4OtD8PpPKKGAicCnrqTWiXDLmbx1ZnyBtC5Qewhadi4%2BMEf9a7aLNsgYjAu197%2Fcz%2FPIYxEw2Mu%2BFBjfEmx%2FZ2qa%2BV6HUOUMylhLgfFXlbmQv049qXjkhXpNKPFigv0zl7Mk%2FhASn5gnf7Lgqpcpx6V%2Bg9kCwZ74ix%2FrdxYeilFVV%2FeYyutRnc6yEtAOTPxX03Zgrs8gO5knIhMDBymtc2wDtlYWBEDpsrxflVAxXf8gyNa3Sl9afRHjq04kehAt8TdTLBOUHJHLDHkk0ZtGS8tCO50KCYjMpqwGbibqv%2BwoiaNd3J%2Ft%2F71jlZXVyYdcXI1Z0psC1aY5vpR7%2BOCEWS7K7terNfPBdHlfqTispgCQHqMEB3nay0Sms0KAB9H5k56gswIBUlwNL2z28DCBrr6fBjqmAZrx0soBstN9%2BXgZT2S0JmuyhGzc2XKpaIDkctpITE12Ym25YDWwQYmHuYpECdjKBQ%2BzSb1RbEqlz37iyF6XGTMmh4WNNhENZ7Ie8lNQNLz8zCneeMFM%2FAaEHwbsgvEhTKykoESBX5TGyo%2Fi1YrbZvbQJ2WSFS6gVFHwoBq86Ooa3AyINUZB4boqhO0BJ1ffvtz%2BwBJSvmyMKoXv7OaED43nxW%2BvJTk%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=db0689f105fdba31a4a3ba62b2cdb8f80bbe570a737c1b8cedb65e45cbb45b91\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1679011200,\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262277930\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 14,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tP72uE7jK7iHdFVf\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tNYbzzbb1zcB4gBp\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tNYbzzbb1zcB4gBq\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tNYbzzbb1zcB4gBr\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676502497,\n \"updated_at\": 1676502498,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tNYbzzbb1zcB4gBn\",\n \"parent_id\": \"ord_2tNYbzzbb1zcB4gBr\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"63ed65e14044ea0001b3cf30\",\n \"livemode\": true,\n \"created_at\": 1676502497,\n \"currency\": \"MXN\",\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/5aebfcdecfc60bf3128e3d6d52d698e75c61b8fe.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MO4IXAVWV%2F20230215%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230215T230817Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEJ%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIGlYRndD5T2JnPk%2BWWOoI3h9nXW4F%2FQiREVp60I9GS2eAiEAkwgQwACxy%2BWsNEga5Enr4KRQLSpHXxxlhuxp3vDOE%2FsqhwQIOBACGgw3OTk4MDEwODE2ODgiDA7qNmZeph78KJO1NyrkA%2FiUSVNu7PO1rGUYmhuC18uvQv57lkPPPtQV%2B9IOA5W0RrKcxBQZRzBQwYtOZUJcv4wNrHgHv6nxj%2BaRAo3qaLv9ow29n2L7KvZeZsPMhoBd1yGyYirbY7x5Acj54dSQqiV6oBwaJLIdyFeGTMRHBYCuLC9LQv4Hs4zU%2FRSx4%2Bzp4PKDJZKMW8JS0bFO6dj1ecCATik4n3%2BOW%2BDj6T735ESVQLDETVj1XS%2BYyK1DLWsMabn0PgS%2FhIGQk%2B7vLUT2dCS0L4B6rLRYIIYkywVeoMPjSl7aVFlxBhxFRm7a2YVYPktlfNjmp6Kzg9G75LRQQyDdCD32Xs3HYOArWonEO1hFl8EhaTWyKhxOQHHq0TUo4tkAx0Kmy0ar0JLbRfIyrXdpZgjbNyGfGGW2%2BnSeONYJpj1WHBwQkDtg3oO5mrch9S83sYrz7c%2BXifku2HSdr4kucNgXqCG5Fbp%2F3qqCr4m2%2BImzbclxL1gS5rpl45OYA0AlMfIGNrET%2BlombMH3mXaoPtbsbYAXkX7xk6HqXZRJmdphVgOTWWhnt8j3M4VFwPd9rj6QrSaKZFIIpgluKVqePuLFjRgfToQ%2FBXNOVHJT8cRbSC%2BDz3Y7y%2BPsPCjEOOvQEbzT%2BhuZNMMllaAgnz%2FCGIUwwcm1nwY6pQGKbewlnXqfAU%2B5yDwJDFsgj5mtPXhh7ED9NefljsJzUH31l0kbFLkIgWPxynNLxMnZlTrecwBjTJLQEnx7Utpm51mA%2FrolACdwLpEoL6XH63RBvFs%2F%2Bc0lfc6mcP8zu4qoBA0A11aAh1uqDpQDhMGfOzQWga9EEs39kx85UlMCPxQRrh1bmsaolFKxNmUCZv5a%2BwoPtjIj3M0tiZjcJDLQ%2FQYYD78%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=7ef873dcb182b87061704afdba056da24d6707a08a1a0659d4a32aec1c06ce23\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1678838400,\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262277815\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 2000,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tNYbzzbb1zcB4gBr\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tNYRWFQHBtbsCSi2\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tNYRWFQHBtbsCSi3\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tNYRWFQHBtbsCSi4\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676501672,\n \"updated_at\": 1676501673,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tNYRWFQHBtbsCShz\",\n \"parent_id\": \"ord_2tNYRWFQHBtbsCSi4\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"63ed62a8b057b50001186bb0\",\n \"livemode\": true,\n \"created_at\": 1676501672,\n \"currency\": \"MXN\",\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/dbe611be7832d4b1803f6a8c0178a8eb1235fb5d.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MF5UC2Y2T%2F20230215%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230215T225433Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEJ%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIBOfT4UaZyh9mY3GyrKZ8cx8C9Fzc0CXCZpKWxgnWCjuAiEA5F8Hx7cpw8UasEOl3kHcojqawwjc9MANBHS9B8g01JcqhwQIOBACGgw3OTk4MDEwODE2ODgiDAt%2BQN4aqP8pxbGWjCrkA9DXhVV%2BP0p%2FRLBXYzX9AvMgZdRIZW9bU5m8S0c2WfM26AUqVEYd4SPk3ZGbrsUEQ9Ooh5xCSFf1kH%2BYa7kRm0fOIAWoGdHc3CD6RKDNBB7TIOUxG1L25oG6ebZzZcbU0hTFuqgdbsjAjwTK1zjlSKg%2FYINtiD1uRXkemWVy71VIXx%2FCfuxn4iEGtljZBsSKnUZ14PxnSZ1lXo9IOC0HzSbHGNXwIeO5ppj2QdexIfEP%2BiKELU96nWEbIEaMYdkA%2Bz1RKYBWYU%2FxHX6Wz%2BOnsr0feqw7an8IGzMoAtKO0p8VAxTfOo4Jt222E45j8vvwASVD9rMf2r8sdqLbpQHSIOX0j1FzLQfLcKHvJCOdPhSYImr2V9vJss82onqeCfG%2FnvYKyZCUs%2BEoIw91A39sHw5oAzN1TlAcxGlHyXzAL180koX8QOCObOtPm89NVmAYvsZLahVEAP6%2BHqrnmUGWAtOC1Y3H%2FyUIB9vUnTyDhPMbx18vUdaOF2zkYwFDP7up6R%2BIzABzmYxRtokq0aFYKdOJMb0%2FK6F0rTYChcmIkowjFK%2FtXDZ84c2rtMsAEnivxyc3h59Sdd9hukxwhw3mIsIOT6UGsgraBSX9CcPZS1pEJIt6fTu2a5qA2g%2B1y6WR%2BcARkGIwmb21nwY6pQHhY2fqu3M%2Fp%2FJWgVLrZuev7%2FW1SAVYSLuh4kS79glqUItsUILIh4tladBKFksyaX0ytRmzOZ%2BdFW4nsDlbZ4eqXZP1QL0RWjVX5Jw3kc%2Bg5zTFeDTHUVUhevS9RG7xQBfO4CarswXZ5RTG2ozc213YuWTgumElbp6wcUACeIOa6IkxOHhqmuTBSJfBv48ycSNljAxSZqkxHPENX87HK5vBCUeWPOg%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=8cc6e4f8b822db762ecc409798a40024bcd61b321b0bb3e64d0bf26919378d54\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1678838400,\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262277807\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 2000,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tNYRWFQHBtbsCSi4\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 460,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tNDzhA4Akmzj11AQ\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"6fca054a-8519-4c43-971e-cea35cc519bb\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tNDzhA4Akmzj11AU\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tNDzhA4Akmzj11AR\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"6fca054a-8519-4c43-971e-cea35cc519bb\",\n \"name\": \"ord-2tNDzhA4Akmzj11AS\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"http://187.216.228.66:2222/SysVentasPagos/Acceso.aspx\",\n \"failure_url\": \"http://187.216.228.66:2222/SysVentasPagos/Acceso.aspx\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"HostedPayment\",\n \"recurrent\": false,\n \"starts_at\": 1676354400,\n \"expires_at\": 1676613599,\n \"allowed_payment_methods\": [\n \"card\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"is_redirect_on_failure\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"slug\": \"6fca054a85194c43971ecea35cc519bb\",\n \"url\": \"https://pay.stg.conekta.io/checkout/6fca054a85194c43971ecea35cc519bb\"\n },\n \"object\": \"order\",\n \"id\": \"ord_2tNDzhA4Akmzj11AS\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676417703,\n \"updated_at\": 1676663383,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 460,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tNDzhA4Akmzj11AN\",\n \"parent_id\": \"ord_2tNDzhA4Akmzj11AS\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"63efda57cf65380001aec1a9\",\n \"livemode\": true,\n \"created_at\": 1676663383,\n \"currency\": \"MXN\",\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"6fca054a-8519-4c43-971e-cea35cc519bb\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tP9usmyzXMXaJc2F\"\n },\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/0f0f98272185c8060bb812ad1c790f4247360512.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MOQYX2SEM%2F20230217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230217T194943Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMr%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIQDzzIB7Wi7vELmx9iGedGGem1vsg%2FYnCWsECQ%2Fx%2BdQ%2FqgIgVqINLKl2CQF2OgpWBZw7bnEl5Pp6KY49%2FOQ56LM5ylYqhwQIYxACGgw3OTk4MDEwODE2ODgiDB4G%2F22RR5G7uGaExyrkA0IuptcoulAGRSziLp59vcR1%2BbSL8pY64k84b%2B%2FIgGnf1XSJek2wOALC3WbJ%2Fs1zrT6iRoJHAmQ%2B%2BtjVJgF1XxujQZiGiQVHThsePVtFVEGSZfjNWzldUaFKQLhn%2BZfls9JTb3pddbIHA%2BRQwjOJ1K8NKf7EQGn5gMMZQKaC%2FAWTlXwWnZfM2u03JVvJaioRZm3S7lnM89ICjHTxOxTk0m51Vm9ZVVARhb38w%2FPw%2F194Ah4JU7NrYai5rdkALbVP%2FAE0QYP0micI9Whj8OQDlptB53rsDzlZatcSjYK%2Frod9bzMJXv5b6dWezTCwO4ryGV24N0Q3Pmdg9U9cUOPvHVsjiq4HKx6l8Gc70WI61F77HNq0MnYXMR1ozJSHtPLTbFXZcyFGnPXbEy7t78gCnpjAPQCaMCnrWBur43mcNRG80sYPo%2FJLDD2jZ9glhzlSzSHik%2FI6ozQC13kBHL8PHVAw6OAwaSXbU%2BPI5nMtEUOOiPwQpsqcFErN8YVvHH1JqWdjNiiPTMqNNMxPRdAOcrLmGHwWDswOwhg0HMW0bKY3JjClAhSb1JxD5wNIvcZiMLxva6pMwJiQlv%2FFbLvQcN%2BMDEz3Ophf1u%2BWA8IPg08%2B29rk78AIFMotIFB7QVQ8kqacbVcw4IC%2FnwY6pQH8BNCZY%2Bp0ngsfYTZ%2BuNMr0%2B50E3HhXzQIRXajTNtNg4pAxoSHccoeEQGBGy6TTeblpCT%2Bet8unkDeOyHrqJwQLFOwj0wXdSnLEkE6iNdHBhUgSWtD5RwRcquS3VPH7v5S3zY2k2GecLxjWuhDA1Wrammgjgk4cz7XsjBBrk1e7Rte2W4gNKq1oYX4SaZBSfAV7QkFb6SYxEKgv4C5VfBmXRGAOJc%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=4a0673cb5d996dc426a9e749a2c00894ee1c58b68f29a9fd12a311974d178fed\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1679011200,\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262277955\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 460,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tNDzhA4Akmzj11AS\"\n }\n ]\n }\n },\n {\n \"livemode\": true,\n \"amount\": 460,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": true,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tNDyQbJacvUZiyfn\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"fc9fd60a-39ad-4f00-b938-8aa484d9c62f\",\n \"checkout_request_type\": \"HostedPayment\",\n \"id\": \"channel_2tNDyQbJacvUZiyfq\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tNDyQbJacvUZiyfo\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"fc9fd60a-39ad-4f00-b938-8aa484d9c62f\",\n \"name\": \"ord-2tNDyQbJacvUZiyfp\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"http://187.216.228.66:2222/SysVentasPagos/Acceso.aspx\",\n \"failure_url\": \"http://187.216.228.66:2222/SysVentasPagos/Acceso.aspx\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"HostedPayment\",\n \"recurrent\": false,\n \"starts_at\": 1676354400,\n \"expires_at\": 1676613599,\n \"allowed_payment_methods\": [\n \"card\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"is_redirect_on_failure\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"slug\": \"fc9fd60a39ad4f00b9388aa484d9c62f\",\n \"url\": \"https://pay.stg.conekta.io/checkout/fc9fd60a39ad4f00b9388aa484d9c62f\"\n },\n \"object\": \"order\",\n \"id\": \"ord_2tNDyQbJacvUZiyfp\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1676417602,\n \"updated_at\": 1676417602,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Box of Cohiba S1s\",\n \"unit_price\": 460,\n \"quantity\": 1,\n \"object\": \"line_item\",\n \"id\": \"line_item_2tNDyQbJacvUZiyfk\",\n \"parent_id\": \"ord_2tNDyQbJacvUZiyfp\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n }\n ]\n}",
"latency": 0,
"statusCode": 200,
"label": "successful operation",
@@ -4763,7 +4763,7 @@
"responses": [
{
"uuid": "1369035e-186e-44e5-ae7f-362d16e2f7cf",
- "body": "{\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tTirxDJEFDe8NUAL\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tTirxDJEFDe8NUAM\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"object\": \"order\",\n \"id\": \"ord_2tTirxDJEFDe8NUAN\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1677870662,\n \"updated_at\": 1677870662,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tTirxDJEFDe8NUAJ\",\n \"parent_id\": \"ord_2tTirxDJEFDe8NUAN\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"6402464645f9e8000165c2ca\",\n \"livemode\": true,\n \"created_at\": 1677870662,\n \"currency\": \"MXN\",\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/94e526bbd9f77af1a95130691088021ff869fbda.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MLPWLPAKO%2F20230303%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230303T191102Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBwaCXVzLWVhc3QtMSJIMEYCIQCJcvbKD7bOSESXyn8oo%2FzfAPwgWO4m3NCWDb2gumoMZAIhAIam91DYG1qorOEkgdzBoLNsGcQEMW%2BoxcWGT0Y0IqIXKpAECMT%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQAhoMNzk5ODAxMDgxNjg4IgwOC3W4Y8gV514Fx7cq5APKrTe4Zq7AkcKI9H4NfaNt1MA7YwPFUl0JCC0jkCW1KRpmzXir9Gl8%2F6YslsKNsWhyPU7ZJH8rynf%2BENPwAf0doyCP0mT5mA7I1HaCNXW4AioVMgP2uPAVEimK16%2Br2MQ9LGNbUywuMErd8rDtpzSQ0tXyB0E9piLTh3ejASBzSsSF79KCD2eVEg24wdyUQyw1ftuwsDk24j9QpCFUyPeihzOVf3RDXtTYSWyQt4%2B1cYVodnBXErRVpO%2FPVA%2FpKe20WxZbLyBkMKU4Sb34YpFOhqVIeWr8SWB%2BueUkRuXj8jxhaMve9lNaCdRIzSZxSbhIcslWupXp6J6hPXgOSv%2BVBDxtl4geZLNACIXcTgVzLaLOUt8w2ItPULFzdtgOYaHvsQzZUlDcJFUrl1ytBOdrIvBX7qwuHOxJBQ2yQKMbH7gKFdd%2B5PGNDj5cWe%2B1plr%2FUileuMpdXLfXmQ2%2FNTgo6knbmXbaji6O%2BdS3ox3czOobhNOoqvCGdpPzyHyACYmzRP9VLnJluXZIHn3T6lEqNcGO1b%2FGdP1yeAG%2Bw%2BSWS6nspG9y33z8fdjqBFqmD%2F0Qp4fzPqrbI4G0Yc8us8xzJKw8t32Eq%2FTOvxxhOxqZTPi%2B5LiDADW8qvIO1v1SpmqKUnVVMJ2KiaAGOqQBKKpjIc7bpa6UwW1yHiHZNf7wCDnSr0bucJHkDvFTGc6wcCNzQgzCaRxp5%2FlLY68NFiqTLrjswEesap%2FQINS9y68Wz%2BvmZYEQrjSLXdDuXvckYrPzYsInCb%2BKvqS1p%2FXAhrk6c9eHYErOLJC4gTowtTWM6VH68%2B74ZSu4J1C2nxL252u5uCb2yODA5WfQ79cxPCeMmB9D0b9cJnDPqa6vf1tHHoc%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=0af1ed056b660f18c69f4ab039e46891dee21fd4a045a9201181a825f1766c05\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": {{body 'charges.0.payment_method.expires_at' 1683232092 }},\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262280678\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 2000,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tTirxDJEFDe8NUAN\"\n }\n ]\n }\n}",
+ "body": "{\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"cus_2tKcHxhTz7xU5SymF\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tTirxDJEFDe8NUAL\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0,\n \"metadata\" :{{body 'shipping_contact.metadata' }}\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tTirxDJEFDe8NUAM\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0,\n \"phone\" : \"{{body 'fiscal_entity.phone' }}\",\n \"email\" : \"{{body 'fiscal_entity.email' }}\",\n \"metadata\" :{{body 'fiscal_entity.metadata' }}\n },\n \"object\": \"order\",\n \"id\": \"ord_2tTirxDJEFDe8NUAN\",\n \"metadata\": {},\n \"is_refundable\": false,\n \"created_at\": 1677870662,\n \"updated_at\": 1677870662,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tTirxDJEFDe8NUAJ\",\n \"parent_id\": \"ord_2tTirxDJEFDe8NUAN\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n },\n \"charges\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"id\": \"6402464645f9e8000165c2ca\",\n \"livemode\": true,\n \"created_at\": 1677870662,\n \"currency\": \"MXN\",\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://pt-common-s3-stg.s3.amazonaws.com/94e526bbd9f77af1a95130691088021ff869fbda.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3UN6375MLPWLPAKO%2F20230303%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230303T191102Z&X-Amz-Expires=604800&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBwaCXVzLWVhc3QtMSJIMEYCIQCJcvbKD7bOSESXyn8oo%2FzfAPwgWO4m3NCWDb2gumoMZAIhAIam91DYG1qorOEkgdzBoLNsGcQEMW%2BoxcWGT0Y0IqIXKpAECMT%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQAhoMNzk5ODAxMDgxNjg4IgwOC3W4Y8gV514Fx7cq5APKrTe4Zq7AkcKI9H4NfaNt1MA7YwPFUl0JCC0jkCW1KRpmzXir9Gl8%2F6YslsKNsWhyPU7ZJH8rynf%2BENPwAf0doyCP0mT5mA7I1HaCNXW4AioVMgP2uPAVEimK16%2Br2MQ9LGNbUywuMErd8rDtpzSQ0tXyB0E9piLTh3ejASBzSsSF79KCD2eVEg24wdyUQyw1ftuwsDk24j9QpCFUyPeihzOVf3RDXtTYSWyQt4%2B1cYVodnBXErRVpO%2FPVA%2FpKe20WxZbLyBkMKU4Sb34YpFOhqVIeWr8SWB%2BueUkRuXj8jxhaMve9lNaCdRIzSZxSbhIcslWupXp6J6hPXgOSv%2BVBDxtl4geZLNACIXcTgVzLaLOUt8w2ItPULFzdtgOYaHvsQzZUlDcJFUrl1ytBOdrIvBX7qwuHOxJBQ2yQKMbH7gKFdd%2B5PGNDj5cWe%2B1plr%2FUileuMpdXLfXmQ2%2FNTgo6knbmXbaji6O%2BdS3ox3czOobhNOoqvCGdpPzyHyACYmzRP9VLnJluXZIHn3T6lEqNcGO1b%2FGdP1yeAG%2Bw%2BSWS6nspG9y33z8fdjqBFqmD%2F0Qp4fzPqrbI4G0Yc8us8xzJKw8t32Eq%2FTOvxxhOxqZTPi%2B5LiDADW8qvIO1v1SpmqKUnVVMJ2KiaAGOqQBKKpjIc7bpa6UwW1yHiHZNf7wCDnSr0bucJHkDvFTGc6wcCNzQgzCaRxp5%2FlLY68NFiqTLrjswEesap%2FQINS9y68Wz%2BvmZYEQrjSLXdDuXvckYrPzYsInCb%2BKvqS1p%2FXAhrk6c9eHYErOLJC4gTowtTWM6VH68%2B74ZSu4J1C2nxL252u5uCb2yODA5WfQ79cxPCeMmB9D0b9cJnDPqa6vf1tHHoc%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=0af1ed056b660f18c69f4ab039e46891dee21fd4a045a9201181a825f1766c05\",\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": {{body 'charges.0.payment_method.expires_at' 1683232092 }},\n \"store_name\": \"OXXO\",\n \"reference\": \"93000262280678\"\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"status\": \"pending_payment\",\n \"amount\": 2000,\n \"fee\": 1160,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tTirxDJEFDe8NUAN\"\n }\n ]\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "successful operation cash",
@@ -4798,9 +4798,46 @@
"fallbackTo404": false,
"default": true
},
+ {
+ "uuid": "c7d5553c-0f1f-4155-9736-ee0af588dd0e",
+ "body": "{\n \"livemode\": false,\n \"amount\": 5539,\n \"currency\": \"MXN\",\n \"payment_status\": \"pending_payment\",\n \"amount_refunded\": 0,\n \"split_payment\": null,\n \"customer_info\": {\n \"email\": \"daniela.rodriguez@conekta.com\",\n \"phone\": \"52000000000\",\n \"name\": \"daniela rodriguez\",\n \"corporate\": false,\n \"customer_id\": \"cus_2v4G1Zx9wRpN5vyy2\",\n \"object\": \"customer_info\",\n \"customer_custom_reference\": null\n },\n \"shipping_contact\": {\n \"receiver\": \"fcarrero ca\",\n \"phone\": \"3143159054\",\n \"between_streets\": null,\n \"address\": {\n \"street1\": \"av siempre viva\",\n \"street2\": null,\n \"city\": \"cdmx\",\n \"state\": \"BCN\",\n \"country\": \"mx\",\n \"residential\": null,\n \"object\": \"shipping_address\",\n \"postal_code\": \"11011\"\n },\n \"id\": \"ship_cont_2v4bXXEfZEfjDNcjb\",\n \"object\": \"shipping_contact\",\n \"created_at\": 1702415725,\n \"metadata\": {\n \"save\": true\n }\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"a9b6ea04-d405-4a58-b299-f985aefef006\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2v4bXXEfZEfjDNcjt\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"29734234\",\n \"address\": {\n \"street1\": \"av siempre viva\",\n \"street2\": null,\n \"internal_number\": null,\n \"external_number\": \"123\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"BCN\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"11011\"\n },\n \"id\": \"fis_ent_2v4bXXEfZEfjDNcjc\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 1702415725,\n \"name\": \"fcarrero ca\",\n \"phone\": \"3143159054\",\n \"email\": \"m@gmail.com\",\n \"metadata\": {\n \"phone\": \"3143159054\",\n \"receiver\": \"fcarrero ca\",\n \"email\": \"m@gmail.com\",\n \"state\": \"BCN\"\n }\n },\n \"next_action\": {\n \"redirect_to_url\": {\n \"url\": \"https://3ds-pay.conekta.com/a9b6ea04-d405-4a58-b299-f985aefef006\",\n \"return_url\": \"{{body 'return_url'}}\"\n },\n \"type\": \"redirect_to_url\"\n },\n \"object\": \"order\",\n \"id\": \"ord_2v4bXXEfZEfjDNcjd\",\n \"metadata\": {\n \"magento_version\": \"2.4.6-p2\",\n \"plugin\": \"Magento\",\n \"plugin_conekta_version\": \"5.1.0\",\n \"quote_id\": \"3\",\n \"store\": 1,\n \"is_customer_guest\": true\n },\n \"is_refundable\": false,\n \"processing_mode\": null,\n \"created_at\": 1702415725,\n \"updated_at\": 1702415725,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Deirdre RelaxedFit Capri29Green\",\n \"description\": \"Deirdre RelaxedFit Capri29Green WP1229Green\",\n \"unit_price\": 5040,\n \"quantity\": 1,\n \"sku\": \"WSH07-29-Purple\",\n \"tags\": [\n \"simple\"\n ],\n \"brand\": null,\n \"type\": null,\n \"object\": \"line_item\",\n \"id\": \"line_item_2v4bXXEfZEfjDNcjV\",\n \"parent_id\": \"ord_2v4bXXEfZEfjDNcjd\",\n \"metadata\": {\n \"product_id\": \"1895\"\n },\n \"antifraud_info\": {}\n }\n ]\n },\n \"shipping_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"amount\": 500,\n \"carrier\": \"Flat Rate - Fixed\",\n \"method\": \"flatrate_flatrate\",\n \"tracking_number\": null,\n \"object\": \"shipping_line\",\n \"id\": \"ship_lin_2v4bXXEfZEfjDNcjW\",\n \"parent_id\": \"ord_2v4bXXEfZEfjDNcjd\",\n \"metadata\": null\n }\n ]\n },\n \"tax_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"description\": \"Tax\",\n \"amount\": 0,\n \"object\": \"tax_line\",\n \"id\": \"tax_lin_2v4bXXEfZEfjDNcjX\",\n \"parent_id\": \"ord_2v4bXXEfZEfjDNcjd\",\n \"metadata\": null\n }\n ]\n },\n \"discount_lines\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 2,\n \"data\": [\n {\n \"code\": \"h21\",\n \"amount\": 0,\n \"type\": \"coupon\",\n \"object\": \"discount_line\",\n \"id\": \"dis_lin_2v4bXXEfZEfjDNcjZ\",\n \"parent_id\": \"ord_2v4bXXEfZEfjDNcjd\"\n },\n {\n \"code\": \"campaign\",\n \"amount\": 1,\n \"type\": \"campaign\",\n \"object\": \"discount_line\",\n \"id\": \"dis_lin_2v4bXXEfZEfjDNcjY\",\n \"parent_id\": \"ord_2v4bXXEfZEfjDNcjd\"\n }\n ]\n },\n \"charges\": null\n}",
+ "latency": 0,
+ "statusCode": 200,
+ "label": "successful operation with 3ds",
+ "headers": [
+ {
+ "key": "Content-Type",
+ "value": "application/vnd.conekta-v2.1.0+json"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [
+ {
+ "target": "body",
+ "modifier": "customer_info.customer_id",
+ "value": "cus_2v4G1Zx9wRpN5vyy2",
+ "invert": false,
+ "operator": "equals"
+ },
+ {
+ "target": "body",
+ "modifier": "three_ds_mode",
+ "value": "smart",
+ "invert": false,
+ "operator": "equals"
+ }
+ ],
+ "rulesOperator": "AND",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": false
+ },
{
"uuid": "84073a91-8300-4ea6-9ebe-4a44a54fac9f",
- "body": "{\n \"livemode\": true,\n \"amount\": 35000,\n \"currency\": \"{{body 'currency' }}\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"{{body 'customer_info.customer_id' }}\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgAg9rFzuNAoQ7o\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"96a87c6e-e848-4f3d-bf06-c66b1c03e5c7\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgAg9rFzuNAoQ7r\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgAg9rFzuNAoQ7p\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"96a87c6e-e848-4f3d-bf06-c66b1c03e5c7\",\n \"name\": \"ord-2tUgAg9rFzuNAoQ7q\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": {{body 'checkout.expires_at' }},\n \"allowed_payment_methods\": {{body 'checkout.allowed_payment_methods' }},\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUgAg9rFzuNAoQ7q\",\n \"metadata\": {{body 'metadata' }},\n \"is_refundable\": false,\n \"created_at\": 1678122669,\n \"updated_at\": 1678122669,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgAg9rFzuNAoQ7m\",\n \"parent_id\": \"ord_2tUgAg9rFzuNAoQ7q\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n}",
+ "body": "{\n \"livemode\": true,\n \"amount\": 35000,\n \"currency\": \"{{body 'currency' }}\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"Alec_Fay59@yahoo.com\",\n \"phone\": \"+5215555555555\",\n \"name\": \"Elio Rincon\",\n \"corporate\": false,\n \"customer_id\": \"{{body 'customer_info.customer_id' }}\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgAg9rFzuNAoQ7o\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"96a87c6e-e848-4f3d-bf06-c66b1c03e5c7\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgAg9rFzuNAoQ7r\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgAg9rFzuNAoQ7p\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"96a87c6e-e848-4f3d-bf06-c66b1c03e5c7\",\n \"name\": \"ord-2tUgAg9rFzuNAoQ7q\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": {{body 'checkout.expires_at' }},\n \"allowed_payment_methods\": {{body 'checkout.allowed_payment_methods' }},\n \"redirection_time\": {{body 'checkout.redirection_time' 10 }},\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [],\n \"monthly_installments_enabled\": false,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_2tUgAg9rFzuNAoQ7q\",\n \"metadata\": {{body 'metadata' }},\n \"is_refundable\": false,\n \"created_at\": 1678122669,\n \"updated_at\": 1678122669,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgAg9rFzuNAoQ7m\",\n \"parent_id\": \"ord_2tUgAg9rFzuNAoQ7q\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "successful operation with checkout",
@@ -4837,7 +4874,7 @@
},
{
"uuid": "887b02eb-45f2-40f3-bb61-717b90c395b8",
- "body": "{\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"email@yahoo.com\",\n \"phone\": \"+57314314\",\n \"name\": \"Elio Rincon msi\",\n \"corporate\": false,\n \"customer_id\": \"cus_msi_2o8jK3TDtejmz1sYd\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgccjdQJ7SdBrXZ\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"8c4e58f7-828e-48cb-960d-c12242ffa319\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgccjdQJ7SdBrXc\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgccjdQJ7SdBrXa\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"{{faker 'datatype.uuid'}}\",\n \"name\": \"ord-2tUgccjdQJ7SdBrXb\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [\n 3,\n 6,\n 12\n ],\n \"monthly_installments_enabled\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_msi_2tUgccjdQJ7SdBrXb\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678124707,\n \"updated_at\": 1678124707,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgccjdQJ7SdBrXX\",\n \"parent_id\": \"ord_2tUgccjdQJ7SdBrXb\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n}",
+ "body": "{\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"email@yahoo.com\",\n \"phone\": \"+57314314\",\n \"name\": \"Elio Rincon msi\",\n \"corporate\": false,\n \"customer_id\": \"cus_msi_2o8jK3TDtejmz1sYd\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgccjdQJ7SdBrXZ\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"8c4e58f7-828e-48cb-960d-c12242ffa319\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgccjdQJ7SdBrXc\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgccjdQJ7SdBrXa\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"{{faker 'datatype.uuid'}}\",\n \"name\": \"ord-2tUgccjdQJ7SdBrXb\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [\n 3,\n 6,\n 12\n ],\n \"redirection_time\": {{body 'checkout.redirection_time' 10 }},\n \"monthly_installments_enabled\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_msi_2tUgccjdQJ7SdBrXb\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678124707,\n \"updated_at\": 1678124707,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgccjdQJ7SdBrXX\",\n \"parent_id\": \"ord_2tUgccjdQJ7SdBrXb\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "successful operation with checkout MSI",
@@ -5430,6 +5467,40 @@
"fallbackTo404": false,
"default": true
},
+ {
+ "uuid": "36e3869f-d275-4476-bac6-51895af75e86",
+ "body": "{\n\t\"amount\": 58000,\n\t\"channel\": {\n\t\t\"checkout_request_id\": \"96fdd3ed-aeea-4a33-a788-e0d4bcd5b148\",\n\t\t\"checkout_request_type\": \"Integration\",\n\t\t\"id\": \"channel_2uiGPUL1WAuroL6bW\",\n\t\t\"segment\": \"Checkout\"\n\t},\n\t\"created_at\": 1697042821,\n\t\"currency\": \"MXN\",\n\t\"customer_custom_reference\": null,\n\t\"customer_id\": \"cus_2uiGPGUfaNSD6KzML\",\n\t\"description\": \"Payment from order\",\n\t\"device_fingerprint\": \"f4b1205f5ee91ae7b3bb995d074d4708\",\n\t\"failure_code\": null,\n\t\"failure_message\": null,\n\t\"id\": \"6526d18547171200170c9b77\",\n\t\"is_refundable\": true,\n\t\"livemode\": false,\n\t\"monthly_installments\": 3,\n\t\"object\": \"charge\",\n\t\"order_id\": \"ord_2uiGPHDV6Zzribeqy\",\n\t\"paid_at\": 1697042821,\n\t\"payment_method\": {\n\t\t\"account_type\": \"BANAMEX\",\n\t\t\"auth_code\": \"451754\",\n\t\t\"brand\": \"visa\",\n\t\t\"contract_id\": null,\n\t\t\"country\": \"MX\",\n\t\t\"exp_month\": \"11\",\n\t\t\"exp_year\": \"26\",\n\t\t\"fraud_indicators\": [],\n\t\t\"fraud_score\": null,\n\t\t\"issuer\": \"banamex\",\n\t\t\"last4\": \"4242\",\n\t\t\"name\": \"fran car\",\n\t\t\"normalized_device_fingerprint\": null,\n\t\t\"object\": \"card_payment\",\n\t\t\"token_id\": \"tok_2uiGPSp8sAKHidCV3\",\n\t\t\"type\": \"credit\"\n\t},\n\t\"reference_id\": null,\n\t\"refunds\": null,\n\t\"status\": \"paid\"\n}",
+ "latency": 0,
+ "statusCode": 200,
+ "label": "successful card with monthly installments",
+ "headers": [
+ {
+ "key": "Content-Type",
+ "value": "application/vnd.conekta-v2.1.0+json"
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [
+ {
+ "target": "params",
+ "modifier": "id",
+ "value": "ord_2uiGPHDV6Zzribeqy",
+ "invert": false,
+ "operator": "equals"
+ }
+ ],
+ "rulesOperator": "OR",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": false
+ },
{
"uuid": "fa095f68-aaf4-4340-aa07-6b06c6cc1492",
"body": "{\n \"id\": \"6408c87bde4b8e00010744e3\",\n \"livemode\": true,\n \"created_at\": 1678297211,\n \"currency\": \"MXN\",\n \"failure_code\": null,\n \"failure_message\": null,\n \"monthly_installments\": null,\n \"device_fingerprint\": null,\n \"channel\": null,\n \"payment_method\": {\n \"clabe\": \"646180111805035472\",\n \"bank\": \"STP\",\n \"issuing_account_holder_name\": null,\n \"issuing_account_tax_id\": null,\n \"issuing_account_bank\": null,\n \"issuing_account_number\": null,\n \"receiving_account_holder_name\": null,\n \"receiving_account_tax_id\": null,\n \"receiving_account_number\": \"646180111805035472\",\n \"receiving_account_bank\": \"STP\",\n \"reference_number\": null,\n \"description\": null,\n \"tracking_code\": null,\n \"executed_at\": null,\n \"payment_attempts\": [],\n \"object\": \"bank_transfer_payment\",\n \"type\": \"spei\",\n \"expires_at\": 1686057163\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"reference_id\": null,\n \"status\": \"pending_payment\",\n \"amount\": {{body 'amount' }},\n \"paid_at\": null,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2tVLUFrQBB4HKz1zj\",\n \"refunds\": null\n}",
@@ -10758,7 +10829,7 @@
"uuid": "d29ebe75-bf8a-4181-b92b-7c7d840efcdd",
"documentation": "",
"method": "get",
- "endpoint": "balances",
+ "endpoint": "balance",
"responses": [
{
"uuid": "26b41b2d-37da-4dcb-ba62-d8c8a572816b",
@@ -10954,6 +11025,297 @@
],
"enabled": true,
"responseMode": null
+ },
+ {
+ "uuid": "1b06f728-1985-4bc0-98a4-664ad6e7e604",
+ "documentation": "",
+ "method": "put",
+ "endpoint": "charges/:id",
+ "responses": [
+ {
+ "uuid": "ceb8a957-94d3-4e37-839d-ceb7667788e5",
+ "body": "{\n \"details\": [\n {\n \"debug_message\": \"There was a runtime error and Conekta engineers have been notified.\",\n \"message\": \"There was a runtime error and Conekta engineers have been notified.\",\n \"param\": null,\n \"code\": \"conekta.errors.api.system.general_failure\"\n }\n ],\n \"object\": \"error\",\n \"type\": \"api_error\",\n \"log_id\": \"641b6f2b3cd9a50001515098\"\n}",
+ "latency": 0,
+ "statusCode": 500,
+ "label": "",
+ "headers": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [],
+ "rulesOperator": "OR",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": true
+ },
+ {
+ "uuid": "747ace24-85ec-41f3-8e94-63a0b8814bfd",
+ "body": "{\n \"id\": \"6524722f28c7ba0016a5b17d\",\n \"livemode\": false,\n \"created_at\": 1696887343,\n \"currency\": \"MXN\",\n \"failure_code\": null,\n \"failure_message\": null,\n \"monthly_installments\": null,\n \"device_fingerprint\": null,\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"a4667424-f560-445a-bdbd-eb84f4ddbc0a\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2uhgGSQPPRmfW6UVB\"\n },\n \"payment_method\": {\n \"service_name\": \"OxxoPay\",\n \"barcode_url\": \"https://barcodes.conekta.com/sandbox_reference.png\",\n \"store\": null,\n \"auth_code\": null,\n \"object\": \"cash_payment\",\n \"type\": \"oxxo\",\n \"expires_at\": 1697060127,\n \"store_name\": \"OXXO\",\n \"reference\": \"98000017167159\",\n \"cashier_id\": null\n },\n \"object\": \"charge\",\n \"description\": \"Payment from order\",\n \"is_refundable\": true,\n \"reference_id\": \"{{body 'reference_id' }}\",\n \"status\": \"paid\",\n \"amount\": 18204,\n \"paid_at\": 1696887374,\n \"customer_id\": \"\",\n \"order_id\": \"ord_2uhgGEX62MnVuaKLS\",\n \"refunds\": null\n}",
+ "latency": 0,
+ "statusCode": 200,
+ "label": "",
+ "headers": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [
+ {
+ "target": "params",
+ "modifier": "id",
+ "value": "6524722f28c7ba0016a5b17d",
+ "invert": false,
+ "operator": "equals"
+ }
+ ],
+ "rulesOperator": "OR",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": false
+ }
+ ],
+ "enabled": true,
+ "responseMode": null
+ },
+ {
+ "uuid": "3e017e41-4d6d-4490-8c66-c859706bd6eb",
+ "documentation": "payout_orders",
+ "method": "get",
+ "endpoint": "payout_orders/:id",
+ "responses": [
+ {
+ "uuid": "0f0cea2a-ff1d-4bc0-b28c-88cec65b0ccf",
+ "body": "{\n \"details\": [\n {\n \"debug_message\": \"There was an issue while trying to process the request. (El payout order f2654d66-d740-457a-9a8c-f96b5196f441 o el entity_id f761dc6f-ba3d-4177-9788-cb7caf103463 no fue encontrado.)\",\n \"message\": \"Hubo un problema al procesar la petición. (El payout order f2654d66-d740-457a-9a8c-f96b5196f441 o el entity_id f761dc6f-ba3d-4177-9788-cb7caf103463 no fue encontrado.)\",\n \"param\": null,\n \"code\": \"conekta.errors.processing.payout.general\"\n }\n ],\n \"object\": \"error\",\n \"type\": \"processing_error\",\n \"log_id\": \"65ef546dbd3d850001a402b5\"\n}",
+ "latency": 0,
+ "statusCode": 402,
+ "label": "",
+ "headers": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [],
+ "rulesOperator": "OR",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": true
+ },
+ {
+ "uuid": "cd19a401-4442-4d9e-92bf-3f0753d42de5",
+ "body": "{\n \"id\": \"f2654d66-d740-457a-9a8c-f96b5196f44e\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"livemode\": true,\n \"created_at\": 1710172680,\n \"updated_at\": 1710172680,\n \"customer_info\": {\n \"id\": \"cus_2vXfQGMFcf2uopcFt\",\n \"name\": \"Juanito José\",\n \"email\": \"declinado@conekta.com\",\n \"phone\": \"5556581111\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1710345479,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vZwsRAhhGp2dFDJx\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"f2654d66-d740-457a-9a8c-f96b5196f44e\",\n \"livemode\": true,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1710345479\n }\n ]\n}",
+ "latency": 0,
+ "statusCode": 200,
+ "label": "",
+ "headers": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [
+ {
+ "target": "params",
+ "modifier": "id",
+ "value": "f2654d66-d740-457a-9a8c-f96b5196f44e",
+ "invert": false,
+ "operator": "equals"
+ },
+ {
+ "target": "header",
+ "modifier": "Authorization",
+ "value": "",
+ "invert": true,
+ "operator": "null"
+ }
+ ],
+ "rulesOperator": "OR",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": false
+ }
+ ],
+ "enabled": true,
+ "responseMode": null
+ },
+ {
+ "uuid": "b9656029-f0c2-4920-bc41-13f88a091f4a",
+ "documentation": "",
+ "method": "get",
+ "endpoint": "payout_orders",
+ "responses": [
+ {
+ "uuid": "e619e78e-8f73-4d27-ac2c-62190924c3dd",
+ "body": "{\n \"next_page_url\": null,\n \"previous_page_url\": null,\n \"has_more\": false,\n \"object\": \"list\",\n \"data\": []\n}",
+ "latency": 0,
+ "statusCode": 200,
+ "label": "",
+ "headers": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [],
+ "rulesOperator": "OR",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": true
+ },
+ {
+ "uuid": "48c1e752-24ab-4eee-af57-256e41e638d7",
+ "body": "{\n \"next_page_url\": null,\n \"previous_page_url\": null,\n \"has_more\": false,\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"f2654d66-d740-457a-9a8c-f96b5196f44e\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1710172680,\n \"updated_at\": 1710172680,\n \"customer_info\": {\n \"id\": \"cus_2vXfQGMFcf2uopcFt\",\n \"name\": \"Juanito José\",\n \"email\": \"declinado@conekta.com\",\n \"phone\": \"5556581111\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1710345479,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vZwsRAhhGp2dFDJx\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"f2654d66-d740-457a-9a8c-f96b5196f44e\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1710345479\n }\n ]\n },\n {\n \"id\": \"eb5d55e8-8bd9-4cfb-941c-a034e735059c\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"JENKINS TEST\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1686338764,\n \"updated_at\": 1686338764,\n \"customer_info\": {\n \"id\": \"cus_2u1mGocBoEYtuxQWB\",\n \"name\": \"Mateo\",\n \"email\": \"Andrs_Bustos@corpfolder.com\",\n \"phone\": \"5555555555\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1686511564,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2u1mGpM1KS7YYE4zf\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"eb5d55e8-8bd9-4cfb-941c-a034e735059c\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1686511564\n }\n ]\n },\n {\n \"id\": \"eb2879d3-e562-40f2-b55c-6c1b48ac5025\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1710172646,\n \"updated_at\": 1710172646,\n \"customer_info\": {\n \"id\": \"cus_2vE4xnYczpRRVPKfU\",\n \"name\": \"ans\",\n \"email\": \"sns@gmail.com\",\n \"phone\": null\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1710345445,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vZwrz4qzVfyN4eeq\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"eb2879d3-e562-40f2-b55c-6c1b48ac5025\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1710345445\n }\n ]\n },\n {\n \"id\": \"bba17c47-4e9d-4815-aa12-0549ef9f73a6\",\n \"amount\": 3000,\n \"currency\": \"\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"JENKINS TEST\",\n \"reference\": \"1025547797000139\",\n \"livemode\": true,\n \"created_at\": 1686339364,\n \"updated_at\": 1686512212,\n \"customer_info\": {\n \"id\": \"cus_2u1mQRpxgejUViuze\",\n \"name\": \"Julio César\",\n \"email\": \"Manuela26@gmail.com\",\n \"phone\": \"5555555555\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": -62135596800,\n \"metadata\": {},\n \"status\": \"expired\",\n \"payouts\": [\n {\n \"id\": \"payout_2u1mQTJbj3rmkGEyY\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"bba17c47-4e9d-4815-aa12-0549ef9f73a6\",\n \"livemode\": true,\n \"fee\": 84,\n \"status\": \"expired\",\n \"object\": \"payout\",\n \"expires_at\": 1686512163\n }\n ]\n },\n {\n \"id\": \"a2a1732a-4f0c-4fda-9dc7-efeec9be044b\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1706810746,\n \"updated_at\": 1706810746,\n \"customer_info\": {\n \"id\": \"cus_2vE4xnYczpRRVPKfU\",\n \"name\": \"ans\",\n \"email\": \"sns@gmail.com\",\n \"phone\": null\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1706983546,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vME4PZPvj2ktQe5B\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"a2a1732a-4f0c-4fda-9dc7-efeec9be044b\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1706983546\n }\n ]\n },\n {\n \"id\": \"8e37ccfd-0501-450c-9515-252c9855dd2c\",\n \"amount\": 10000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo 2\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1710173628,\n \"updated_at\": 1710173628,\n \"customer_info\": {\n \"id\": \"cus_2vXfQGMFcf2uopcFt\",\n \"name\": \"Juanito José\",\n \"email\": \"declinado@conekta.com\",\n \"phone\": \"5556581111\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1710346428,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vZx5V3RJGT1TGLDm\",\n \"amount\": 10000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"8e37ccfd-0501-450c-9515-252c9855dd2c\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1710346428\n }\n ]\n },\n {\n \"id\": \"7538f4e6-a2ee-4dac-90ab-e1c11118bcf4\",\n \"amount\": 1,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1710173309,\n \"updated_at\": 1710173309,\n \"customer_info\": {\n \"id\": \"cus_2vXfQGMFcf2uopcFt\",\n \"name\": \"Juanito José\",\n \"email\": \"declinado@conekta.com\",\n \"phone\": \"5556581111\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1710346108,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vZx1RY4Cft4y7dwX\",\n \"amount\": 1,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"7538f4e6-a2ee-4dac-90ab-e1c11118bcf4\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1710346108\n }\n ]\n },\n {\n \"id\": \"6cbaa90c-a925-42c5-adfa-dddb03e64e0b\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1706810724,\n \"updated_at\": 1706810724,\n \"customer_info\": {\n \"id\": \"cus_2vE4xnYczpRRVPKfU\",\n \"name\": \"ans\",\n \"email\": \"sns@gmail.com\",\n \"phone\": null\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1706983524,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vME47KNULeV8U3Hy\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"6cbaa90c-a925-42c5-adfa-dddb03e64e0b\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1706983524\n }\n ]\n },\n {\n \"id\": \"6afa4e58-d9ac-44b6-bb27-abc763708f11\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"JENKINS TEST\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1686338766,\n \"updated_at\": 1686338766,\n \"customer_info\": {\n \"id\": \"cus_2u1mGq5pqdgCAVjVA\",\n \"name\": \"Soledad\",\n \"email\": \"Manuela.Barrientos65@gmail.com\",\n \"phone\": \"5555555555\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1686511566,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2u1mGqpeMqEqnmPye\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"6afa4e58-d9ac-44b6-bb27-abc763708f11\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1686511566\n }\n ]\n },\n {\n \"id\": \"55f1d221-8a8b-4a89-b143-2eb974413889\",\n \"amount\": 100,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1710173317,\n \"updated_at\": 1710173317,\n \"customer_info\": {\n \"id\": \"cus_2vXfQGMFcf2uopcFt\",\n \"name\": \"Juanito José\",\n \"email\": \"declinado@conekta.com\",\n \"phone\": \"5556581111\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1710346117,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vZx1XScNGPFyGwrv\",\n \"amount\": 100,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"55f1d221-8a8b-4a89-b143-2eb974413889\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1710346117\n }\n ]\n },\n {\n \"id\": \"3989137f-7c5d-4627-9fe3-36f6e35ce7f6\",\n \"amount\": 300,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1706810740,\n \"updated_at\": 1706810740,\n \"customer_info\": {\n \"id\": \"cus_2vE4xnYczpRRVPKfU\",\n \"name\": \"ans\",\n \"email\": \"sns@gmail.com\",\n \"phone\": null\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1706983540,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vME4K8UoXes8nf8f\",\n \"amount\": 300,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"3989137f-7c5d-4627-9fe3-36f6e35ce7f6\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1706983540\n }\n ]\n },\n {\n \"id\": \"29ac2ca4-be32-4e12-bfe3-cb50b4888ce4\",\n \"amount\": 3000,\n \"currency\": \"\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"JENKINS TEST\",\n \"reference\": \"1025542685000135\",\n \"livemode\": true,\n \"created_at\": 1686339361,\n \"updated_at\": 1686512212,\n \"customer_info\": {\n \"id\": \"cus_2u1mQQMKeFcBFBb1f\",\n \"name\": \"Eduardo\",\n \"email\": \"Antonia_Cardona48@nearbpo.com\",\n \"phone\": \"5555555555\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": -62135596800,\n \"metadata\": {},\n \"status\": \"expired\",\n \"payouts\": [\n {\n \"id\": \"payout_2u1mQR69ATApsTFW9\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"29ac2ca4-be32-4e12-bfe3-cb50b4888ce4\",\n \"livemode\": true,\n \"fee\": 84,\n \"status\": \"expired\",\n \"object\": \"payout\",\n \"expires_at\": 1686512161\n }\n ]\n },\n {\n \"id\": \"15f89482-e01e-425f-a7a3-e7ff376d4761\",\n \"amount\": 1000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1710173321,\n \"updated_at\": 1710173321,\n \"customer_info\": {\n \"id\": \"cus_2vXfQGMFcf2uopcFt\",\n \"name\": \"Juanito José\",\n \"email\": \"declinado@conekta.com\",\n \"phone\": \"5556581111\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1710346121,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vZx1aPtT4drUMbpc\",\n \"amount\": 1000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"15f89482-e01e-425f-a7a3-e7ff376d4761\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1710346121\n }\n ]\n },\n {\n \"id\": \"0121592e-8c70-4b25-97d7-ea551afc74f4\",\n \"amount\": 10000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"reference\": null,\n \"livemode\": true,\n \"created_at\": 1710173328,\n \"updated_at\": 1710173328,\n \"customer_info\": {\n \"id\": \"cus_2vXfQGMFcf2uopcFt\",\n \"name\": \"Juanito José\",\n \"email\": \"declinado@conekta.com\",\n \"phone\": \"5556581111\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1710346128,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vZx1fZd6TaPrFFFY\",\n \"amount\": 10000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"0121592e-8c70-4b25-97d7-ea551afc74f4\",\n \"livemode\": true,\n \"fee\": null,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1710346128\n }\n ]\n }\n ]\n}",
+ "latency": 0,
+ "statusCode": 200,
+ "label": "",
+ "headers": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [
+ {
+ "target": "header",
+ "modifier": "Accept-Language",
+ "value": "es",
+ "invert": false,
+ "operator": "equals"
+ }
+ ],
+ "rulesOperator": "OR",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": false
+ }
+ ],
+ "enabled": true,
+ "responseMode": null
+ },
+ {
+ "uuid": "503ef689-df8a-4330-bbaf-ea07eb343ea6",
+ "documentation": "create payout_orders",
+ "method": "post",
+ "endpoint": "payout_orders",
+ "responses": [
+ {
+ "uuid": "f919d23d-6fcc-4a76-8dc3-942a3ce094f6",
+ "body": "{}",
+ "latency": 0,
+ "statusCode": 500,
+ "label": "",
+ "headers": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [],
+ "rulesOperator": "OR",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": true
+ },
+ {
+ "uuid": "c35a08a1-9c11-4bb7-8866-f42f31ea82dd",
+ "body": "{\n \"id\": \"a2a1732a-4f0c-4fda-9dc7-efeec9be044b\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"allowed_payout_methods\": [\n \"cashout\"\n ],\n \"reason\": \"Referencia de retiro en efectivo\",\n \"livemode\": true,\n \"created_at\": 1706810746,\n \"updated_at\": 1706810746,\n \"customer_info\": {\n \"id\": \"cus_2vE4xnYczpRRVPKfU\",\n \"name\": \"ans\",\n \"email\": \"sns@gmail.com\"\n },\n \"object\": \"payout_order\",\n \"expires_at\": 1706983546,\n \"metadata\": {\n \"custom_client_id\": \"12345\"\n },\n \"status\": \"open\",\n \"payouts\": [\n {\n \"id\": \"payout_2vME4PZPvj2ktQe5B\",\n \"amount\": 3000,\n \"currency\": \"MXN\",\n \"payout_order_id\": \"a2a1732a-4f0c-4fda-9dc7-efeec9be044b\",\n \"livemode\": true,\n \"status\": \"open\",\n \"object\": \"payout\",\n \"expires_at\": 1706983546\n }\n ]\n}",
+ "latency": 0,
+ "statusCode": 200,
+ "label": "",
+ "headers": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [
+ {
+ "target": "body",
+ "modifier": "amount",
+ "value": "3000",
+ "invert": false,
+ "operator": "equals"
+ }
+ ],
+ "rulesOperator": "OR",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": false
+ }
+ ],
+ "enabled": true,
+ "responseMode": null
+ },
+ {
+ "uuid": "ffacf12e-1faa-4076-9368-bf9b64665963",
+ "documentation": "",
+ "method": "post",
+ "endpoint": "orders",
+ "responses": [
+ {
+ "uuid": "f18efd90-5c4f-48da-b2e8-de9e5369721d",
+ "body": "{\n \"livemode\": true,\n \"amount\": 2000,\n \"currency\": \"MXN\",\n \"amount_refunded\": 0,\n \"customer_info\": {\n \"email\": \"email@yahoo.com\",\n \"phone\": \"+57314314\",\n \"name\": \"Elio Rincon msi\",\n \"corporate\": false,\n \"customer_id\": \"cus_msi_2o8jK3TDtejmz1sYd\",\n \"object\": \"customer_info\"\n },\n \"shipping_contact\": {\n \"receiver\": \"Marvin Fuller\",\n \"phone\": \"+5215555555555\",\n \"between_streets\": \"Morelos Campeche\",\n \"address\": {\n \"street1\": \"Nuevo Leon 4\",\n \"street2\": \"fake street\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"residential\": true,\n \"object\": \"shipping_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"ship_cont_2tUgccjdQJ7SdBrXZ\",\n \"object\": \"shipping_contact\",\n \"created_at\": 0\n },\n \"channel\": {\n \"segment\": \"Checkout\",\n \"checkout_request_id\": \"8c4e58f7-828e-48cb-960d-c12242ffa319\",\n \"checkout_request_type\": \"Integration\",\n \"id\": \"channel_2tUgccjdQJ7SdBrXc\"\n },\n \"fiscal_entity\": {\n \"tax_id\": \"324234234\",\n \"address\": {\n \"street1\": \"avenida siempre viva\",\n \"street2\": \"fake street\",\n \"external_number\": \"string\",\n \"city\": \"Ciudad de Mexico\",\n \"state\": \"Ciudad de Mexico\",\n \"country\": \"mx\",\n \"object\": \"fiscal_entity_address\",\n \"postal_code\": \"06100\"\n },\n \"id\": \"fis_ent_2tUgccjdQJ7SdBrXa\",\n \"object\": \"fiscal_entity\",\n \"created_at\": 0\n },\n \"checkout\": {\n \"id\": \"521b25bd-04c5-41d2-95e7-b242f9b795cc\",\n \"name\": \"ord-2tUgccjdQJ7SdBrXb\",\n \"livemode\": true,\n \"emails_sent\": 0,\n \"success_url\": \"\",\n \"failure_url\": \"\",\n \"paid_payments_count\": 0,\n \"sms_sent\": 0,\n \"status\": \"Issued\",\n \"type\": \"Integration\",\n \"recurrent\": false,\n \"starts_at\": 1678082400,\n \"expires_at\": 1678381857,\n \"allowed_payment_methods\": [\n \"card\",\n \"cash\",\n \"bank_transfer\"\n ],\n \"redirection_time\" : \"{{body 'checkout.redirection_time' 7}}\",\n \"exclude_card_networks\": [],\n \"needs_shipping_contact\": false,\n \"monthly_installments_options\": [\n 3,\n 6,\n 12\n ],\n \"monthly_installments_enabled\": true,\n \"force_3ds_flow\": false,\n \"metadata\": {},\n \"can_not_expire\": false,\n \"object\": \"checkout\",\n \"on_demand_enabled\": false\n },\n \"object\": \"order\",\n \"id\": \"ord_msi_2tUgccjdQJ7SdBrXb\",\n \"metadata\": {\n \"test\": \"true\"\n },\n \"is_refundable\": false,\n \"created_at\": 1678124707,\n \"updated_at\": 1678124707,\n \"line_items\": {\n \"object\": \"list\",\n \"has_more\": false,\n \"total\": 1,\n \"data\": [\n {\n \"name\": \"Pago Mensualidad\",\n \"description\": \"Mes de Febrero.\",\n \"unit_price\": 2000,\n \"quantity\": 1,\n \"tags\": [\n \"Pago\",\n \"Pago mensualidad\"\n ],\n \"object\": \"line_item\",\n \"id\": \"line_item_2tUgccjdQJ7SdBrXX\",\n \"parent_id\": \"ord_2tUgccjdQJ7SdBrXb\",\n \"metadata\": {},\n \"antifraud_info\": {}\n }\n ]\n }\n}",
+ "latency": 0,
+ "statusCode": 200,
+ "label": "",
+ "headers": [
+ {
+ "key": "content-type",
+ "value": "application/vnd.conekta-v2.1.0+json; charset=utf-8"
+ },
+ {
+ "key": "content-length",
+ "value": "3426"
+ }
+ ],
+ "bodyType": "INLINE",
+ "filePath": "",
+ "databucketID": "",
+ "sendFileAsBody": false,
+ "rules": [],
+ "rulesOperator": "OR",
+ "disableTemplating": false,
+ "fallbackTo404": false,
+ "default": false
+ }
+ ],
+ "enabled": true,
+ "responseMode": null
}
],
"rootChildren": [
@@ -11324,6 +11686,26 @@
{
"type": "route",
"uuid": "ead07c85-3adb-40f2-b57b-49e8c3106957"
+ },
+ {
+ "type": "route",
+ "uuid": "1b06f728-1985-4bc0-98a4-664ad6e7e604"
+ },
+ {
+ "type": "route",
+ "uuid": "3e017e41-4d6d-4490-8c66-c859706bd6eb"
+ },
+ {
+ "type": "route",
+ "uuid": "b9656029-f0c2-4920-bc41-13f88a091f4a"
+ },
+ {
+ "type": "route",
+ "uuid": "503ef689-df8a-4330-bbaf-ea07eb343ea6"
+ },
+ {
+ "type": "route",
+ "uuid": "ffacf12e-1faa-4076-9368-bf9b64665963"
}
],
"proxyMode": false,
diff --git a/parameters/commons/query/charge_id.yml b/parameters/commons/query/charge_id.yml
new file mode 100644
index 0000000..aff8448
--- /dev/null
+++ b/parameters/commons/query/charge_id.yml
@@ -0,0 +1,7 @@
+in: query
+name: "charge_id"
+description: "id of the charge used for filtering"
+required: false
+schema:
+ type: string
+ example: "65412a893cd69a0001c25892"
\ No newline at end of file
diff --git a/parameters/commons/query/currency.yml b/parameters/commons/query/currency.yml
new file mode 100644
index 0000000..6e97a6b
--- /dev/null
+++ b/parameters/commons/query/currency.yml
@@ -0,0 +1,7 @@
+in: query
+name: "currency"
+description: "currency of the object to be retrieved"
+required: false
+schema:
+ type: string
+ example: "MXN"
\ No newline at end of file
diff --git a/parameters/commons/query/id_query.yml b/parameters/commons/query/id_query.yml
new file mode 100644
index 0000000..3087955
--- /dev/null
+++ b/parameters/commons/query/id_query.yml
@@ -0,0 +1,7 @@
+in: query
+name: "id"
+description: "id of the object to be retrieved"
+required: false
+schema:
+ type: string
+ example: "65412a893cd69a0001c25892"
\ No newline at end of file
diff --git a/parameters/commons/query/status.yml b/parameters/commons/query/status.yml
new file mode 100644
index 0000000..c96084b
--- /dev/null
+++ b/parameters/commons/query/status.yml
@@ -0,0 +1,7 @@
+in: query
+name: "status"
+description: "status of the object to be retrieved"
+required: false
+schema:
+ type: string
+ example: "pending"
\ No newline at end of file
diff --git a/parameters/commons/query/type.yml b/parameters/commons/query/type.yml
new file mode 100644
index 0000000..8cbbb9f
--- /dev/null
+++ b/parameters/commons/query/type.yml
@@ -0,0 +1,7 @@
+in: query
+name: "type"
+description: "type of the object to be retrieved"
+required: false
+schema:
+ type: string
+ example: "capture"
\ No newline at end of file
diff --git a/parameters/commons/query/url.yml b/parameters/commons/query/url.yml
new file mode 100644
index 0000000..0ec1630
--- /dev/null
+++ b/parameters/commons/query/url.yml
@@ -0,0 +1,6 @@
+in: query
+name: "url"
+description: "url for webhook filter"
+required: false
+schema:
+ type: string
\ No newline at end of file
diff --git a/requestBodies/charges/charge_update.yml b/requestBodies/charges/charge_update.yml
new file mode 100644
index 0000000..15f2064
--- /dev/null
+++ b/requestBodies/charges/charge_update.yml
@@ -0,0 +1,6 @@
+description: requested field for update a charge
+content:
+ application/json:
+ schema:
+ $ref: '../../schemas/charges/charge_update_request.yml'
+required: true
diff --git a/requestBodies/payout_orders/payout_order.yml b/requestBodies/payout_orders/payout_order.yml
new file mode 100644
index 0000000..53993f2
--- /dev/null
+++ b/requestBodies/payout_orders/payout_order.yml
@@ -0,0 +1,6 @@
+description: requested field for payout order
+content:
+ application/json:
+ schema:
+ $ref: '../../schemas/payout_orders/payout_order.yml'
+required: true
diff --git a/resources/charges/update_charge.yml b/resources/charges/update_charge.yml
new file mode 100644
index 0000000..3d49eaa
--- /dev/null
+++ b/resources/charges/update_charge.yml
@@ -0,0 +1,51 @@
+put:
+ tags:
+ - Charges
+ operationId: updateCharge
+ summary: Update a charge
+ responses:
+ 200:
+ description: successful
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ schema:
+ $ref: '../../schemas/charges/charge_response.yml'
+ headers:
+ Date:
+ description: The date and time that the response was sent
+ schema:
+ type: string
+ example: "Fri, 03 Feb 2023 16:57:48 GMT"
+ Content-Type:
+ description: The format of the response body
+ schema:
+ type: string
+ example: "application/json; charset=utf-8"
+ Content-Length:
+ description: The length of the response body in bytes
+ schema:
+ type: string
+ example: "2737"
+ Connection:
+ description: The type of connection used to transfer the response
+ schema:
+ type: string
+ example: "keep-alive"
+ Conekta-Media-Type:
+ schema:
+ type: string
+ example: conekta-v2.1.0; format=application/json
+ 422:
+ $ref: '../errors/422_whitelist.yml'
+ 404:
+ $ref: '../errors/404.yml'
+ 500:
+ $ref: '../errors/500.yml'
+ security:
+ - bearerAuth: []
+ requestBody:
+ $ref: '../../requestBodies/charges/charge_update.yml'
+ parameters:
+ - $ref: '../../parameters/commons/path_param/id.yml'
+ - $ref: '../../parameters/commons/headers/accept_language.yml'
+ - $ref: '../../parameters/commons/headers/x_child_company_id.yml'
diff --git a/resources/payout_orders/get_payout_order.yml b/resources/payout_orders/get_payout_order.yml
new file mode 100644
index 0000000..596cfbb
--- /dev/null
+++ b/resources/payout_orders/get_payout_order.yml
@@ -0,0 +1,24 @@
+get:
+ tags:
+ - Payout Orders
+ operationId: getPayoutOrderById
+ summary: Get Payout Order
+ description: 'Gets a payout Order resource that corresponds to a payout order ID.'
+ responses:
+ '200':
+ description: successful operation
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ schema:
+ $ref: '../../schemas/payout_orders/payout_order_response.yml'
+ 401:
+ $ref: '../errors/401.yml'
+ 404:
+ $ref: '../errors/404.yml'
+ 500:
+ $ref: '../errors/500.yml'
+ security:
+ - bearerAuth: []
+ parameters:
+ - $ref: '../../parameters/commons/path_param/id.yml'
+ - $ref: '../../parameters/commons/headers/accept_language.yml'
diff --git a/resources/payout_orders/payout_orders.yml b/resources/payout_orders/payout_orders.yml
new file mode 100644
index 0000000..bfef642
--- /dev/null
+++ b/resources/payout_orders/payout_orders.yml
@@ -0,0 +1,64 @@
+post:
+ tags:
+ - Payout Orders
+ operationId: createPayoutOrder
+ summary: Create payout order
+ description: 'Create a new payout order.'
+ responses:
+ 200:
+ description: successful operation
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ schema:
+ $ref: ../../schemas/payout_orders/payout_order_response.yml
+ 422:
+ $ref: '../errors/422.yml'
+ 401:
+ $ref: '../errors/401.yml'
+ 402:
+ $ref: '../errors/402.yml'
+ 404:
+ $ref: '../errors/404.yml'
+ 500:
+ $ref: '../errors/500.yml'
+ security:
+ - bearerAuth: []
+ requestBody:
+ $ref: '../../requestBodies/payout_orders/payout_order.yml'
+ parameters:
+ - $ref: '../../parameters/commons/headers/accept_language.yml'
+get:
+ tags:
+ - Payout Orders
+ operationId: getPayoutOrders
+ summary: Get a list of Payout Orders
+ description: 'Get Payout order details in the form of a list'
+ responses:
+ 200:
+ description: successful operation
+ content:
+ application/vnd.conekta-v2.1.0+json:
+ schema:
+ title: payout_orders_response
+ allOf:
+ - type: object
+ properties:
+ data:
+ title: payout_orders_data_response
+ type: array
+ items:
+ $ref: '../../schemas/payout_orders/payout_order_response.yml'
+ - $ref: ../../schemas/pagination/pagination.yml
+ - $ref: ../../schemas/pagination/page.yml
+ 401:
+ $ref: '../errors/401.yml'
+ 500:
+ $ref: '../errors/500.yml'
+ security:
+ - bearerAuth: []
+ parameters:
+ - $ref: '../../parameters/commons/headers/accept_language.yml'
+ - $ref: '../../parameters/commons/query/limit.yml'
+ - $ref: '../../parameters/commons/query/search.yml'
+ - $ref: '../../parameters/commons/query/next_page.yml'
+ - $ref: '../../parameters/commons/query/previous_page.yml'
diff --git a/resources/transactions/transactions.yml b/resources/transactions/transactions.yml
index 4e8fad3..0d615a0 100644
--- a/resources/transactions/transactions.yml
+++ b/resources/transactions/transactions.yml
@@ -56,6 +56,9 @@ get:
- $ref: '../../parameters/commons/headers/accept_language.yml'
- $ref: '../../parameters/commons/headers/x_child_company_id.yml'
- $ref: '../../parameters/commons/query/limit.yml'
- - $ref: '../../parameters/commons/query/search.yml'
- $ref: '../../parameters/commons/query/next_page.yml'
- $ref: '../../parameters/commons/query/previous_page.yml'
+ - $ref: '../../parameters/commons/query/id_query.yml'
+ - $ref: '../../parameters/commons/query/charge_id.yml'
+ - $ref: '../../parameters/commons/query/type.yml'
+ - $ref: '../../parameters/commons/query/currency.yml'
diff --git a/resources/webhooks/webhooks.yml b/resources/webhooks/webhooks.yml
index b47f1d5..90e42b6 100644
--- a/resources/webhooks/webhooks.yml
+++ b/resources/webhooks/webhooks.yml
@@ -56,6 +56,7 @@ get:
- $ref: '../../parameters/commons/headers/x_child_company_id.yml'
- $ref: '../../parameters/commons/query/limit.yml'
- $ref: '../../parameters/commons/query/search.yml'
+ - $ref: '../../parameters/commons/query/url.yml'
- $ref: '../../parameters/commons/query/next_page.yml'
- $ref: '../../parameters/commons/query/previous_page.yml'
post:
diff --git a/schemas/charges/charge_order_response.yml b/schemas/charges/charge_order_response.yml
index bc11926..4d02e87 100644
--- a/schemas/charges/charge_order_response.yml
+++ b/schemas/charges/charge_order_response.yml
@@ -41,9 +41,6 @@ properties:
failure_message:
type: string
example: "Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso."
- fee:
- type: integer
- example: 1160
id:
type: string
example: "63efa757cf65380001aec040"
diff --git a/schemas/charges/charge_payment_method_card_response.yml b/schemas/charges/charge_payment_method_card_response.yml
index fe39d17..6f507e9 100644
--- a/schemas/charges/charge_payment_method_card_response.yml
+++ b/schemas/charges/charge_payment_method_card_response.yml
@@ -18,8 +18,6 @@ payment_method_card:
type: string
description: "Id sent for recurrent charges."
example: "S781317595"
- maxLength: 10
- minLength: 10
country:
type: string
example: "MX"
diff --git a/schemas/charges/charge_request.yml b/schemas/charges/charge_request.yml
index 69d0c3d..802e45c 100644
--- a/schemas/charges/charge_request.yml
+++ b/schemas/charges/charge_request.yml
@@ -6,10 +6,6 @@ properties:
amount:
type: integer
example: 40000
- monthly_installments:
- type: integer
- format: int8
- description: "How many months without interest to apply, it can be 3, 6, 9, 12 or 18"
payment_method:
required:
- type
@@ -22,6 +18,10 @@ properties:
format: int64
description: "Method expiration date as unix timestamp"
example: 1677196303
+ monthly_installments:
+ type: integer
+ format: int8
+ description: "How many months without interest to apply, it can be 3, 6, 9, 12 or 18"
type:
type: string
example: "card"
@@ -35,8 +35,6 @@ properties:
type: string
description: "Optional id sent to indicate the bank contract for recurrent card charges."
example: "S781317595"
- maxLength: 10
- minLength: 10
reference_id:
description: "Custom reference to add to the charge"
type: string
diff --git a/schemas/charges/charge_response.yml b/schemas/charges/charge_response.yml
index 1152fdd..f4c4092 100644
--- a/schemas/charges/charge_response.yml
+++ b/schemas/charges/charge_response.yml
@@ -40,9 +40,6 @@ properties:
failure_message:
type: string
example: "Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso."
- fee:
- type: integer
- example: 1160
id:
type: string
example: "63efa757cf65380001aec040"
diff --git a/schemas/charges/charge_update_request.yml b/schemas/charges/charge_update_request.yml
new file mode 100644
index 0000000..0782252
--- /dev/null
+++ b/schemas/charges/charge_update_request.yml
@@ -0,0 +1,7 @@
+title: charge_update_request
+description: requested field for update a charge
+properties:
+ reference_id:
+ type: string
+ example: "278482642"
+ description: "custom reference id"
diff --git a/schemas/checkouts/checkout_request.yml b/schemas/checkouts/checkout_request.yml
index 8f696fb..4f37769 100644
--- a/schemas/checkouts/checkout_request.yml
+++ b/schemas/checkouts/checkout_request.yml
@@ -32,6 +32,11 @@ properties:
on_demand_enabled:
type: boolean
example: true
+ redirection_time:
+ type: integer
+ format: int8
+ description: "number of seconds to wait before redirecting to the success_url"
+ example: 10
success_url:
type: string
description: "Redirection url back to the site in case of successful payment, applies only to HostedPayment"
diff --git a/schemas/customers/customer_address.yml b/schemas/customers/customer_address.yml
index 74c2dd4..2fe1435 100644
--- a/schemas/customers/customer_address.yml
+++ b/schemas/customers/customer_address.yml
@@ -6,10 +6,10 @@ required:
properties:
street1:
type: string
- example: avenida siempre viva
+ example: Nuevo Leon 254
street2:
type: string
- example: fake street
+ example: Departamento 404
postal_code:
type: string
example: "06100"
@@ -26,6 +26,7 @@ properties:
residential:
type: boolean
example: true
+ default: false
external_number:
type: string
\ No newline at end of file
diff --git a/schemas/customers/customer_info_response.yml b/schemas/customers/customer_info_response.yml
index eebaf63..2b4ec6f 100644
--- a/schemas/customers/customer_info_response.yml
+++ b/schemas/customers/customer_info_response.yml
@@ -1,6 +1,11 @@
title: customer_info
type: object
properties:
+ custom_reference:
+ type: string
+ example: "custom_reference"
+ description: Custom reference
+ nullable: true
name:
type: string
example: "DevTest"
diff --git a/schemas/customers/customer_response.yml b/schemas/customers/customer_response.yml
index 3696d72..435e997 100644
--- a/schemas/customers/customer_response.yml
+++ b/schemas/customers/customer_response.yml
@@ -6,6 +6,7 @@ required:
- livemode
- created_at
- object
+ - name
properties:
antifraud_info:
title: customer_antifraud_info_response
@@ -21,12 +22,16 @@ properties:
format: int64
corporate:
type: boolean
+ description: true if the customer is a company
created_at:
type: integer
format: int64
example: 1485151007
+ description: Creation date of the object
custom_reference:
type: string
+ example: "custom_reference"
+ description: Custom reference
default_fiscal_entity_id:
type: string
nullable: true
@@ -78,12 +83,19 @@ properties:
id:
type: string
example: "cus_2tHJfJ79KyUwpxTik"
+ description: Customer's ID
livemode:
type: boolean
example: true
+ description: true if the object exists in live mode or the value false if the object exists in test mode
name:
type: string
example: Felipe
+ description: Customer's name
+ metadata:
+ type: object
+ additionalProperties: true
+ maxProperties: 100
object:
type: string
example: "customer"
@@ -114,6 +126,7 @@ properties:
phone:
type: string
example: "+5215555555555"
+ description: Customer's phone number
shipping_contacts:
allOf:
- $ref: ../../schemas/pagination/pagination.yml
diff --git a/schemas/customers/customer_shipping_contacts.yml b/schemas/customers/customer_shipping_contacts.yml
index 0efadea..b103294 100644
--- a/schemas/customers/customer_shipping_contacts.yml
+++ b/schemas/customers/customer_shipping_contacts.yml
@@ -23,10 +23,10 @@ properties:
properties:
street1:
type: string
- example: avenida siempre viva
+ example: Nuevo Leon 254
street2:
type: string
- example: fake street
+ example: Departamento 404
postal_code:
type: string
example: "06100"
@@ -52,4 +52,8 @@ properties:
deleted:
type: boolean
nullable: true
-
\ No newline at end of file
+ metadata:
+ type: object
+ additionalProperties: true
+ maxProperties: 100
+ description: "Metadata associated with the shipping contact"
diff --git a/schemas/customers/customer_shipping_contacts_response.yml b/schemas/customers/customer_shipping_contacts_response.yml
index f41c251..6608d79 100644
--- a/schemas/customers/customer_shipping_contacts_response.yml
+++ b/schemas/customers/customer_shipping_contacts_response.yml
@@ -18,10 +18,10 @@ properties:
example: "shipping_address"
street1:
type: string
- example: avenida siempre viva
+ example: Nuevo Leon 254
street2:
type: string
- example: fake street
+ example: Departamento 404
postal_code:
type: string
example: "06100"
@@ -37,6 +37,7 @@ properties:
residential:
type: boolean
example: true
+ nullable: true
parent_id:
type: string
default:
@@ -49,6 +50,11 @@ properties:
type: integer
format: int64
example: 1675715413
+ metadata:
+ type: object
+ additionalProperties: true
+ maxProperties: 100
+ description: "Metadata associated with the shipping contact"
object:
type: string
example: "shipping_contact"
diff --git a/schemas/customers/customer_update_shipping_contacts.yml b/schemas/customers/customer_update_shipping_contacts.yml
index 6f881d6..13ecdc8 100644
--- a/schemas/customers/customer_update_shipping_contacts.yml
+++ b/schemas/customers/customer_update_shipping_contacts.yml
@@ -21,10 +21,10 @@ properties:
properties:
street1:
type: string
- example: avenida siempre viva
+ example: Nuevo Leon 254
street2:
type: string
- example: fake street
+ example: Departamento 404
postal_code:
type: string
example: "06100"
diff --git a/schemas/customers/payment_method_card_request.yml b/schemas/customers/payment_method_card_request.yml
index 1438576..e70318f 100644
--- a/schemas/customers/payment_method_card_request.yml
+++ b/schemas/customers/payment_method_card_request.yml
@@ -1,9 +1,9 @@
title: payment_method_card_request
-required:
- - token_id
allOf:
- $ref: './customer_payment_method_request.yml'
- type: object
+ required:
+ - token_id
properties:
token_id:
type: string
diff --git a/schemas/event_types/event_types.yml b/schemas/event_types/event_types.yml
new file mode 100644
index 0000000..e861567
--- /dev/null
+++ b/schemas/event_types/event_types.yml
@@ -0,0 +1,9 @@
+title: event_types
+type: string
+description: "It is a parameter that allows to identify in the response, the type of event that is being generated."
+enum:
+ - webhook_ping
+ - order.paid
+ - order.expired
+ - order.canceled
+ - order.pending_payment
diff --git a/schemas/orders/fiscal_entity_address.yml b/schemas/orders/fiscal_entity_address.yml
new file mode 100644
index 0000000..7ed9cc0
--- /dev/null
+++ b/schemas/orders/fiscal_entity_address.yml
@@ -0,0 +1,39 @@
+title: order_fiscal_entity_address_request
+required:
+ - street1
+ - city
+ - country
+ - postal_code
+ - external_number
+type: object
+description: "Address of the fiscal entity"
+properties:
+ street1:
+ type: string
+ example: Nuevo Leon 254
+ description: "Street name and number"
+ street2:
+ type: string
+ example: Departamento 404
+ description: "Street name and number"
+ nullable: true
+ postal_code:
+ type: string
+ example: "06100"
+ description: "Postal code"
+ city:
+ type: string
+ example: "Ciudad de Mexico"
+ description: "City"
+ state:
+ type: string
+ example: "Ciudad de Mexico"
+ description: "State"
+ country:
+ type: string
+ example: MX
+ description: "this field follows the [ISO 3166-1 alpha-2 standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)"
+ external_number:
+ type: string
+ example: "123"
+ description: "External number"
diff --git a/schemas/orders/order_customer_info_response.yml b/schemas/orders/order_customer_info_response.yml
new file mode 100644
index 0000000..d9f4ca6
--- /dev/null
+++ b/schemas/orders/order_customer_info_response.yml
@@ -0,0 +1,24 @@
+title: order_customer_info_response
+type: object
+properties:
+ customer_custom_reference:
+ type: string
+ example: "custom_reference"
+ description: Custom reference
+ nullable: true
+ name:
+ type: string
+ example: "DevTest"
+ email:
+ type: string
+ format: email
+ example: test@conekta.com
+ phone:
+ type: string
+ example: "5522997233"
+ corporate:
+ default: false
+ type: boolean
+ object:
+ type: string
+ example: "customer_info"
diff --git a/schemas/orders/order_request.yml b/schemas/orders/order_request.yml
index 258a6a1..4f4d37f 100644
--- a/schemas/orders/order_request.yml
+++ b/schemas/orders/order_request.yml
@@ -29,6 +29,38 @@ properties:
type: array
items:
$ref: order_discount_lines_request.yml
+ fiscal_entity:
+ title: order_fiscal_entity_request
+ type: object
+ description: "Fiscal entity of the order, Currently it is a purely informative field"
+ required:
+ - address
+ properties:
+ address:
+ $ref: fiscal_entity_address.yml
+ email:
+ type: string
+ example: "test@gmail.com"
+ description: "Email of the fiscal entity"
+ metadata:
+ type: object
+ additionalProperties: true
+ maxProperties: 100
+ description: "Metadata associated with the fiscal entity"
+ name:
+ type: string
+ example: "Conekta Inc"
+ nullable: true
+ description: "Name of the fiscal entity"
+ phone:
+ type: string
+ example: "+525511223344"
+ description: "Phone of the fiscal entity"
+ tax_id:
+ type: string
+ example: "AAA010101AAA"
+ nullable: true
+ description: "Tax ID of the fiscal entity"
line_items:
description: "List of [products](https://developers.conekta.com/v2.1.0/reference/orderscreateproduct) that are sold in the order. You must have at least one product."
type: array
@@ -51,6 +83,11 @@ properties:
type: string
description: "Indicates the processing mode for the order, either ecommerce, recurrent or validation."
example: "ecommerce"
+ return_url:
+ type: string
+ format: uri
+ description: "Indicates the redirection callback upon completion of the 3DS2 flow."
+ example: https://my-website.com
shipping_contact:
$ref: ../../schemas/customers/customer_shipping_contacts.yml
shipping_lines:
@@ -63,6 +100,12 @@ properties:
type: array
items:
$ref: order_tax_request.yml
-
-
+ three_ds_mode:
+ type: string
+ description: "Indicates the 3DS2 mode for the order, either smart or strict."
+ examples:
+ - value: "smart"
+ summary: "Those transactions that Conekta considers to present a risk to commerce will go through an additional verification flow (through 3DS2), provided that the issuing bank is compatible with this technology.If the transaction is not considered risky, it will continue its normal course, without going through 3DS2 authentication."
+ - value: "strict"
+ summary: "All transactions will require 3DS2 authentication as a complementary measure for the security of charges, except those that are rejected by our Anti-Fraud. The issuing bank must be compatible with 3DS2 technology."
diff --git a/schemas/orders/order_response.yml b/schemas/orders/order_response.yml
index 6244847..e97b43f 100644
--- a/schemas/orders/order_response.yml
+++ b/schemas/orders/order_response.yml
@@ -102,6 +102,12 @@ properties:
recurrent:
type: boolean
example: false
+ redirection_time:
+ type: integer
+ nullable: true
+ example: 2
+ format: int8
+ description: "number of seconds to wait before redirecting to the success_url"
slug:
type: string
example: "6fca054a85194c43971ecea35cc519bb"
@@ -139,7 +145,7 @@ properties:
object:
type: string
example: "customer_info"
- - $ref: ../customers/customer_info_response.yml
+ - $ref: order_customer_info_response.yml
- $ref: ../customers/customer_info_just_customer_id_response.yml
discount_lines:
allOf:
@@ -154,24 +160,62 @@ properties:
- $ref: ../../schemas/orders/discount_lines_response.yml
fiscal_entity:
type: object
+ title: order_fiscal_entity_response
+ nullable: true
+ description: "Fiscal entity of the order, Currently it is a purely informative field"
+ required:
+ - address
+ - id
+ - object
+ - created_at
properties:
address:
+ title: order_fiscal_entity_address_response
+ description: "Address of the fiscal entity"
allOf:
- - $ref: ../customers/customer_address.yml
+ - $ref: fiscal_entity_address.yml
- type: object
properties:
object:
type: string
example: "fiscal_entity_address"
+ email:
+ type: string
+ example: "test@gmail.com"
+ description: "Email of the fiscal entity"
+ nullable: true
+ metadata:
+ type: object
+ additionalProperties: true
+ maxProperties: 100
+ description: "Metadata associated with the fiscal entity"
+ name:
+ type: string
+ example: "Conekta Inc"
+ nullable: true
+ description: "Name of the fiscal entity"
tax_id:
type: string
example: "324234234"
+ description: "Tax ID of the fiscal entity"
+ nullable: true
id:
type: string
example: "fis_ent_2tN85VYaSMyDvjB3M"
+ description: "ID of the fiscal entity"
+ created_at:
+ type: integer
+ format: int64
+ example: 1676328434
+ description: "The time at which the object was created in seconds since the Unix epoch"
object:
type: string
example: "fiscal_entity"
+ phone:
+ type: string
+ example: "+525511223344"
+ description: "Phone of the fiscal entity"
+ nullable: true
id:
type: string
example: "ord_2tMtQQpDvfnNjiuFG"
@@ -208,6 +252,29 @@ properties:
maxProperties: 100
type: object
description: "Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format."
+ next_action:
+ title: order_next_action_response
+ type: object
+ description: contains the following attributes that will guide to continue the flow
+ properties:
+ redirect_to_url:
+ type: object
+ description: contains the following attributes that will guide to continue the flow
+ properties:
+ url:
+ type: string
+ format: uri
+ description: pay.conekta.com/{id} Indicates the url of the Conekta component to authenticate the flow through 3DS2.
+ example: https://pay.conekta.com/6fca054a85194c43971ecea35cc519bb
+ return_url:
+ type: string
+ format: uri
+ description: Indicates the url to which the 3DS2 flow returns at the end, when the integration is redirected.
+ example: https://my-website.com"
+ type:
+ type: string
+ example: "redirect_to_url"
+ description: Indicates the type of action to be taken
object:
type: string
example: "order"
diff --git a/schemas/orders/order_update_request.yml b/schemas/orders/order_update_request.yml
index fcd408a..e0a2c13 100644
--- a/schemas/orders/order_update_request.yml
+++ b/schemas/orders/order_update_request.yml
@@ -23,6 +23,38 @@ properties:
type: array
items:
$ref: order_discount_lines_request.yml
+ fiscal_entity:
+ title: order_update_fiscal_entity_request
+ type: object
+ description: "Fiscal entity of the order, Currently it is a purely informative field"
+ required:
+ - address
+ properties:
+ address:
+ $ref: fiscal_entity_address.yml
+ email:
+ type: string
+ example: "test@gmail.com"
+ description: "Email of the fiscal entity"
+ name:
+ type: string
+ example: "Conekta Inc"
+ nullable: true
+ description: "Name of the fiscal entity"
+ metadata:
+ type: object
+ additionalProperties: true
+ maxProperties: 100
+ description: "Metadata associated with the fiscal entity"
+ phone:
+ type: string
+ example: "+525511223344"
+ description: "Phone of the fiscal entity"
+ tax_id:
+ type: string
+ example: "AAA010101AAA"
+ nullable: true
+ description: "Tax ID of the fiscal entity"
line_items:
description: "List of [products](https://developers.conekta.com/v2.1.0/reference/orderscreateproduct) that are sold in the order. You must have at least one product."
type: array
diff --git a/schemas/orders/request_examples/order_with_charges.yml b/schemas/orders/request_examples/order_with_charges.yml
index 32ad342..3aaf27b 100644
--- a/schemas/orders/request_examples/order_with_charges.yml
+++ b/schemas/orders/request_examples/order_with_charges.yml
@@ -16,6 +16,22 @@ value:
phone: '5522997233'
corporate: false
object: customer_info
+ fiscal_entity:
+ tax_id: '1234567890'
+ name: Conekta Inc
+ email: "test@gmail.com"
+ phone: "525511223344"
+ metadata:
+ test: true
+ company_id: '123'
+ address:
+ street1: Nuevo Leon 254
+ street2: Departamento 404
+ postal_code: '06100'
+ city: Ciudad de Mexico
+ state: Ciudad de Mexico
+ country: MX
+ external_number: '123'
discount_lines:
- amount: 500
code: '123'
@@ -38,17 +54,19 @@ value:
additionalProp2: string
additionalProp3: string
metadata:
- additionalProp1: string
- additionalProp2: string
- additionalProp3: string
+ test: true
+ company_id: '123'
pre_authorize: false
shipping_contact:
phone: '525511223344'
receiver: Marvin Fuller
between_streets: Ackerman Crescent
+ metadata:
+ test: true
+ company_id: '123'
address:
- street1: avenida siempre viva
- street2: fake street
+ street1: Nuevo Leon 254
+ street2: Departamento 404
postal_code: '06100'
city: Ciudad de Mexico
state: Ciudad de Mexico
diff --git a/schemas/orders/request_examples/order_with_checkout.yml b/schemas/orders/request_examples/order_with_checkout.yml
index c920115..8a7ccdd 100644
--- a/schemas/orders/request_examples/order_with_checkout.yml
+++ b/schemas/orders/request_examples/order_with_checkout.yml
@@ -50,8 +50,8 @@ value:
receiver: Marvin Fuller
between_streets: Ackerman Crescent
address:
- street1: avenida siempre viva
- street2: fake street
+ street1: Nuevo Leon 254
+ street2: Departamento 404
postal_code: '06100'
city: Ciudad de Mexico
state: Ciudad de Mexico
diff --git a/schemas/payout_orders/payout_order.yml b/schemas/payout_orders/payout_order.yml
new file mode 100644
index 0000000..a169a22
--- /dev/null
+++ b/schemas/payout_orders/payout_order.yml
@@ -0,0 +1,57 @@
+title: payout order request
+description: a payout order
+type: object
+required:
+ - allowed_payout_methods
+ - amount
+ - currency
+ - customer_info
+ - payout
+ - reason
+properties:
+ allowed_payout_methods:
+ type: array
+ description: "The payout methods that are allowed for the payout order."
+ items:
+ type: string
+ example: ["cashout"]
+ amount:
+ type: integer
+ description: "The amount of the payout order."
+ example: 100
+ currency:
+ type: string
+ description: "The currency in which the payout order is made."
+ example: "MXN"
+ default: "MXN"
+ customer_info:
+ description: "The customer information to whom the payout order is made."
+ $ref: '../../schemas/customers/customer_info_just_customer_id.yml'
+ metadata:
+ type: object
+ description: "The metadata of the payout order."
+ additionalProperties: true
+ maxProperties: 100
+ example: {"custom_client_id": "12345"}
+ payout:
+ title: payout
+ required:
+ - payout_method
+ type: object
+ description: "The payout information of the payout order."
+ properties:
+ payout_method:
+ title: payout_method
+ required:
+ - type
+ type: object
+ description: "The payout method of the payout order."
+ properties:
+ type:
+ type: string
+ description: "The type of the payout method."
+ example: "cashout"
+ reason:
+ type: string
+ description: "The reason for the payout order."
+ example: "Payout order for the customer"
diff --git a/schemas/payout_orders/payout_order_response.yml b/schemas/payout_orders/payout_order_response.yml
new file mode 100644
index 0000000..3477633
--- /dev/null
+++ b/schemas/payout_orders/payout_order_response.yml
@@ -0,0 +1,132 @@
+title: payout_order_response
+description: payout order model response
+type: object
+required:
+ - allowed_payout_methods
+ - amount
+ - created_at
+ - currency
+ - customer_info
+ - id
+ - livemode
+ - object
+ - payouts
+ - reason
+ - updated_at
+properties:
+ allowed_payout_methods:
+ type: array
+ description: "The payout methods that are allowed for the payout order."
+ items:
+ type: string
+ example: ["cashout"]
+ minItems: 1
+ amount:
+ type: integer
+ description: "The amount of the payout order."
+ example: 100
+ created_at:
+ type: integer
+ description: "The creation date of the payout order."
+ example: 1677626837
+ format: int64
+ currency:
+ type: string
+ description: "The currency in which the payout order is made."
+ example: "MXN"
+ default: "MXN"
+ customer_info:
+ description: "The customer information of the payout order."
+ allOf:
+ - type: object
+ required:
+ - id
+ properties:
+ id:
+ type: string
+ example: "cus_23874283647"
+ description: "The id of the customer."
+ - $ref: ../orders/order_customer_info_response.yml
+ expires_at:
+ type: integer
+ description: "The expiration date of the payout order."
+ format: int64
+ example: 1677626837
+ id:
+ type: string
+ description: "The id of the payout order."
+ example: "f2654d66-d740-457a-9a8c-f96b5196f44e"
+ livemode:
+ type: boolean
+ description: "The live mode of the payout order."
+ example: true
+ object:
+ type: string
+ description: "The object of the payout order."
+ example: "payout_order"
+ metadata:
+ type: object
+ description: "The metadata of the payout order."
+ additionalProperties: true
+ maxProperties: 100
+ example: {"custom_client_id": "12345"}
+ payouts:
+ type: array
+ description: "The payout information of the payout order."
+ title: payout_order_payouts
+ items:
+ type: object
+ title: payout_order_payouts_item
+ required:
+ - id
+ - amount
+ - currency
+ - livemode
+ - object
+ properties:
+ amount:
+ type: integer
+ description: "The amount of the payout."
+ example: 3000
+ currency:
+ type: string
+ description: "The currency in which the payout is made."
+ example: "MXN"
+ expires_at:
+ format: int64
+ type: integer
+ description: "The expiration date of the payout."
+ example: 1677626837
+ id:
+ type: string
+ description: "The id of the payout."
+ example: "payout_2vZwsRAhhGp2dFDJx"
+ livemode:
+ type: boolean
+ description: "The live mode of the payout."
+ example: true
+ object:
+ type: string
+ description: "The object of the payout."
+ example: "payout"
+ payout_order_id:
+ type: string
+ description: "The id of the payout order."
+ example: "f2654d66-d740-457a-9a8c-f96b5196f44e"
+ status:
+ type: string
+ description: "The status of the payout."
+ example: "open"
+ reason:
+ type: string
+ description: "The reason for the payout order."
+ example: "Payout order for the customer"
+ status:
+ type: string
+ description: "The status of the payout order."
+ example: "open"
+ updated_at:
+ type: integer
+ description: "The update date of the payout order."
+ example: 1677626837
+ format: int64
diff --git a/templates/dart/VERSION.mustache b/templates/dart/VERSION.mustache
deleted file mode 100644
index 653cae5..0000000
--- a/templates/dart/VERSION.mustache
+++ /dev/null
@@ -1 +0,0 @@
-{{pubVersion}}
diff --git a/templates/dart/api.mustache b/templates/dart/api.mustache
deleted file mode 100644
index cd22fe9..0000000
--- a/templates/dart/api.mustache
+++ /dev/null
@@ -1,169 +0,0 @@
-{{>header}}
-import 'dart:async';
-
-{{#includeLibraryTemplate}}api/imports{{/includeLibraryTemplate}}
-import 'package:dio/dio.dart';
-
-{{#operations}}
-{{#imports}}import '{{.}}';
-{{/imports}}
-import 'package:conekta/src/utils/utils.dart';
-
-class {{classname}} {
-
- final Dio _dio;
-
-{{#includeLibraryTemplate}}api/constructor{{/includeLibraryTemplate}}
-
- {{#operation}}
- /// {{summary}}{{^summary}}{{nickname}}{{/summary}}
- /// {{notes}}
- ///
- /// Parameters:
- {{#allParams}}
- /// * [{{paramName}}] {{#description}}- {{{.}}}{{/description}}
- {{/allParams}}
- /// * [cancelToken] - A [CancelToken] that can be used to cancel the operation
- /// * [headers] - Can be used to add additional headers to the request
- /// * [extras] - Can be used to add flags to the request
- /// * [validateStatus] - A [ValidateStatus] callback that can be used to determine request success based on the HTTP status of the response
- /// * [onSendProgress] - A [ProgressCallback] that can be used to get the send progress
- /// * [onReceiveProgress] - A [ProgressCallback] that can be used to get the receive progress
- ///
- /// Returns a [Future]{{#returnType}} containing a [Response] with a [{{{.}}}] as data{{/returnType}}
- /// Throws [DioError] if API call or serialization fails
- {{#externalDocs}}
- /// {{description}}
- /// Also see [{{summary}} Documentation]({{url}})
- {{/externalDocs}}
- {{#isDeprecated}}
- @Deprecated('This operation has been deprecated')
- {{/isDeprecated}}
- Future> {{nickname}}({ {{#allParams}}{{#isPathParam}}
- {{#isDeprecated}}@Deprecated('{{paramName}} is deprecated') {{/isDeprecated}}required {{{dataType}}} {{paramName}},{{/isPathParam}}{{#isQueryParam}}
- {{#isDeprecated}}@Deprecated('{{paramName}} is deprecated') {{/isDeprecated}}{{#required}}{{^isNullable}}{{^defaultValue}}required {{/defaultValue}}{{/isNullable}}{{/required}}{{{dataType}}}{{#required}}{{#isNullable}}?{{/isNullable}}{{/required}}{{^required}}?{{/required}} {{paramName}}{{^isContainer}}{{#defaultValue}} = {{{.}}}{{/defaultValue}}{{/isContainer}},{{/isQueryParam}}{{#isHeaderParam}}
- {{#isDeprecated}}@Deprecated('{{paramName}} is deprecated') {{/isDeprecated}}{{#required}}{{^isNullable}}{{^defaultValue}}required {{/defaultValue}}{{/isNullable}}{{/required}}{{{dataType}}}{{#required}}{{#isNullable}}?{{/isNullable}}{{/required}}{{^required}}?{{/required}} {{paramName}}{{^isContainer}}{{#defaultValue}} = {{{.}}}{{/defaultValue}}{{/isContainer}},{{/isHeaderParam}}{{#isBodyParam}}
- {{#isDeprecated}}@Deprecated('{{paramName}} is deprecated') {{/isDeprecated}}{{#required}}{{^isNullable}}required {{/isNullable}}{{/required}}{{{dataType}}}{{#required}}{{#isNullable}}?{{/isNullable}}{{/required}}{{^required}}?{{/required}} {{paramName}},{{/isBodyParam}}{{#isFormParam}}
- {{#isDeprecated}}@Deprecated('{{paramName}} is deprecated') {{/isDeprecated}}{{#required}}{{^isNullable}}required {{/isNullable}}{{/required}}{{{dataType}}}{{#required}}{{#isNullable}}?{{/isNullable}}{{/required}}{{^required}}?{{/required}} {{paramName}},{{/isFormParam}}{{/allParams}}
- CancelToken? cancelToken,
- Map? headers,
- Map? extra,
- ValidateStatus? validateStatus,
- ProgressCallback? onSendProgress,
- ProgressCallback? onReceiveProgress,
- }) async {
-
- // to determine the Accept header
- List _contentTypes = [
- {{#consumes}}
- "{{{mediaType}}}"{{^-last}},{{/-last}}
- {{/consumes}}
- ];
- var localVarContentType = selectHeaderContentType(_contentTypes);
-
- // to determine the Accept header
- List _accepts = [
- {{#produces}}
- "{{{mediaType}}}"{{^-last}},{{/-last}}
- {{/produces}}
- ];
- final localVarAccept = selectHeaderAccept(_accepts);
-
- final _path = r'{{{path}}}'{{#pathParams}}.replaceAll('{' r'{{{baseName}}}' '}', {{{paramName}}}.toString()){{/pathParams}};
- final _options = Options(
- method: r'{{#lambda.uppercase}}{{httpMethod}}{{/lambda.uppercase}}',
- {{#isResponseFile}}
- responseType: ResponseType.bytes,
- {{/isResponseFile}}
- headers: {
- {{#httpUserAgent}}
- r'User-Agent': r'{{{.}}}/{{pubVersion}}',
- {{/httpUserAgent}}
- {{#headerParams}}
- {{^required}}{{^isNullable}}if ({{{paramName}}} != null) {{/isNullable}}{{/required}}r'{{baseName}}': {{paramName}},
- {{/headerParams}}
- if (localVarAccept != null) r'Accept': localVarAccept,
- if (localVarContentType != null) r'Content-Type': localVarContentType,
- r'X-Conekta-Client-User-Agent' : getConektaClientUserAgent(),
- ...?headers,
- },
- extra: {
- 'secure':