Bibliotecas SDK

C++ SDK

Use C++17 helpers for native applications, game servers, embedded services, and Unreal-side backend tools.

Overview

Use C++17 helpers for native applications, game servers, embedded services, and Unreal-side backend tools.

  • Runtime: Native services
  • Package: MakePay::makepay
  • Header-oriented client API
  • CMake target
  • Webhook HMAC verifier

Installation

target_link_libraries(your_app PRIVATE MakePay::makepay)

Pin the package version or source commit used by production deployments.

Authentication

Create a MakePay API key in MakeCrypto and store the key ID and secret outside source control.

Keep MakePay API keys in trusted server code, worker secrets, or private environment variables.

See API authentication for header names, rotation, and permissions.

Use the SDK or source client to call the MakePay payment links API with an amount, currency, label, customer context, return URL, and metadata. Persist the MakePay payment UID beside your internal order or invoice ID.

The request and response model is documented in payment links.

Webhook verification

Read the exact raw request body, verify the MakePay signature, reject stale timestamps, and process events idempotently.

The signing model and event payloads are documented in webhooks.

Framework notes

  • Header-oriented client API
  • CMake target
  • Webhook HMAC verifier
  • Keep request creation, webhook verification, and fulfillment updates in trusted backend code.

Source and releases

Review the repository README, examples, and release notes before using the package in production.

Source repository: github.com/makepay-io/makepay-cpp

Troubleshooting

  • Authentication failures usually mean the key ID and secret belong to different environments or were copied after rotation.
  • Webhook failures usually mean the handler parsed JSON before signature verification or the configured webhook secret does not match.
  • Checkout issues usually mean the backend did not persist the MakePay payment UID or returned an expired checkout URL.

¿Necesitas ayuda con la configuración de partner?

Abre la vista de detalles del enlace de pago en MakeCrypto para copiar los snippets generados para un UID de pago real, o vuelve al portal para gestionar la configuración del merchant.

Abrir portal