Skip to content

Instantly share code, notes, and snippets.

@gusLopezC
Last active October 30, 2020 16:01
Show Gist options
  • Save gusLopezC/4b30b761980fdeea28de32806415e00c to your computer and use it in GitHub Desktop.
Save gusLopezC/4b30b761980fdeea28de32806415e00c to your computer and use it in GitHub Desktop.
Merchant_id
mdrhnprmsmxkgxtegzhk
LLave publica
pk_72476ae5a41148ee8cd10aceb3998916
Llave secreta
sk_c71babd865fd420b94bc588a8585c122
Json para objectos
https://sandbox-api.openpay.mx/v1/mzdtln0bmtms6o3kck8f/tokens
{
"card_number":"4111111111111111",
"holder_name":"Juan Perez Ramirez",
"expiration_year":"20",
"expiration_month":"12",
"cvv2":"111",
"address":{
"city":"Querétaro",
"country_code":"MX",
"postal_code":"76900",
"line1":"Av 5 de Febrero",
"line2":"Roble 207",
"line3":"col carrillo",
"state":"Queretaro"
}
}s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment