Skip to content

Instantly share code, notes, and snippets.

@leofischer
leofischer / OxxoOneTimePayments.md
Last active February 16, 2018 02:22
Oxxo One Time Payments

#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",
@leofischer
leofischer / SpeiOneTimePayment.md
Created February 16, 2018 02:22
SPEI One Time Payment

#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": [{
@leofischer
leofischer / ChargebackRepresentation.md
Created February 28, 2018 16:36
Chargeback Representation

#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",
 }
@leofischer
leofischer / Example barcode.json
Created April 6, 2018 01:24
Example Order with Oxxpay barcode
{
"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",
@leofischer
leofischer / FailedPaymentAttemptTests.md
Last active April 25, 2018 22:20
Failed Payment Sandbox

#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 '{
@leofischer
leofischer / Charge Paid - Card
Last active February 12, 2020 04:44
Order Paid Events
{
"id": "5e437b5a82c2726a53401590",
"livemode": true,
"object": event",
"type": order.paid",
"created_at": 1581478229,
"data": {
"object": {
"id": "5ae34c95b795b071223e21a2",
"livemode": true,
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]
@leofischer
leofischer / tools.md
Last active January 22, 2025 12:44
Online Dev Tools

Relevant Links

A tool which generates KSUIDs

A tool which generates UUIDs, bulk generates of UUIDs and allows for inspection of UUIDs. The tool should explain how it works, give code snippets in different programming languages and a discussion of what the UUID is and what its use cases are. The tool should also provide additional features such as a copy button, bulk generation, automatic generation on page load, custom parameters, code examples for all major programming languages, additional translations for the most popular locales used by programmers, and a section to inspect the individual components of a UUID.