This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
servers: | |
- description: Conekta API | |
url: 'https://api.conekta.io' | |
info: | |
description: This documents Conekta's public API V2.0.0. | |
version: 1.0.1-oas3 | |
title: Conekta Payment API | |
contact: | |
email: [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "5e437b5a82c2726a53401590", | |
"livemode": true, | |
"object": event", | |
"type": order.paid", | |
"created_at": 1581478229, | |
"data": { | |
"object": { | |
"id": "5ae34c95b795b071223e21a2", | |
"livemode": true, |
#Already paid failure Notification
Order: ord_2iTrT2LV5iV1K9pgy Charge: 5adfdb12edbb6e2570bb5c90
curl -H "Accept: application/vnd.conekta-v2.0.0+json" \
-H "Content-type: application/json" \
-u PRIVATE_KEY: \
-X POST -k -d '{
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"livemode": true, | |
"amount": 27300, | |
"currency": "MXN", | |
"payment_status": "pending_confirmation", | |
"amount_refunded": 0, | |
"customer_info": { | |
"email": "[email protected]", | |
"phone": "55-5555-5555", | |
"name": "Leo Fischer", |
#Uploading Evidence
curl -H "Accept: application/vnd.conekta-v1.0.0+json" \
-H "Content-type: application/json" \
-u 9YxqfRnx4sMQDnRsqdYn: \
-X PUT -d '{
"response_from_client":"Never delivered product.",
"note":"Photoevidence of delivery",
"followup_status":"customer_contacted",
}
#Curl
curl --request POST \
--url https://api.conekta.io/orders \
--header 'accept: application/vnd.conekta-v2.0.0+json' \
-u key_eYvWV7gSDkNYXsmr: \
--header 'content-type: application/json' \
--data '{
"line_items": [{
#Curl
curl --request POST \
--url https://api.conekta.io/orders \
--header 'accept: application/vnd.conekta-v2.0.0+json' \
-u key_eYvWV7gSDkNYXsmr: \
--header 'content-type: application/json' \
--data '{
"line_items": [{
"name": "Tacos",