iniciar url con ngrok
=====================
ngrok http --url=aardvark-upward-adversely.ngrok-free.app 3021


crear Plan basico mp
=====================

curl -X POST 'https://api.mercadopago.com/preapproval_plan' \
-H 'Authorization: Bearer TEST-259699105381562-121310-cf0f5a3ba051cbd1d792232c696768b1-178056017' \
-H 'Content-Type: application/json' \
-d '{
  "back_url": "https://aardvark-upward-adversely.ngrok-free.app/payments/mp",
  "reason": "TurnosXpress.com.ar - Plan base",
  "auto_recurring": {
    "frequency": 1,
    "frequency_type": "months",
    "transaction_amount": 5000,
    "currency_id": "ARS"
  }
}'

respuesta del Plan basico mp
============================

{
    "id":"2c93808493b073170193c084323105a6",
    "back_url":"https://aardvark-upward-adversely.ngrok-free.app/payments/mp",
    "collector_id":178056017,"application_id":259699105381562,
    "reason":"TurnosXpress.com.ar - Plan base",
    "status":"active",
    "date_created":"2024-12-13T10:55:09.361-04:00",
    "last_modified":"2024-12-13T10:55:09.361-04:00",
    "init_point":"https://www.mercadopago.com.ar/subscriptions/checkout?preapproval_plan_id=2c93808493b073170193c084323105a6",
    "auto_recurring":{
        "frequency":1,
        "frequency_type":"months",
        "transaction_amount":5000,
        "currency_id":"ARS"},
        "payment_methods_allowed":{}
    }
}

curl -X GET \
  'https://api.mercadopago.com/v1/preapproval_plan' \
  -H 'Authorization: Bearer TEST-259699105381562-121310-cf0f5a3ba051cbd1d792232c696768b1-178056017'