Skip to main content

Creating Orders as a Partner

Once a merchant has connected to your platform you hold their merchant_key, delivered in the store_onboarded webhook. That key is all you need: the request is byte-for-byte the same as a standard order creation.
The merchant key is what authorizes this call and what decides which store the order belongs to. You may add your X-API-Key/X-API-Secret for attribution, but they never change the target store. See Partner Authentication.

Example

The response is identical to a direct merchant order, and all payment flows (Nequi, Daviplata, Breb) behave identically.

Tracking the order back to your system

  • order_key is echoed back to you as id_external in webhooks. Use it to match the order to your own record.
  • Available payment gateways differ per merchant. Call gateway discovery with that merchant’s key rather than hardcoding id_payment_gateway.
  • When the order is paid, order_payment is delivered to your partner webhook URL, not the merchant’s. See Partner Webhooks.
For the full request body reference see Creating Orders; for gateway-specific flows see Payment Flows.