Skip to main content

Honduras - PayIn (v2)

The PayIn v2 API (POST /api/v2/payin) creates deposit transactions and returns a hosted payment link for Honduras merchants.

Quick Reference

ParameterValueDescription
EndpointPOST /api/v2/payinInitiate PayIn transaction
CurrencyHNLHonduran Lempira
Country CodeHNHonduras
AuthToken-Top + Basic AuthRequired

Payment experiences (v2)

payment_methodModepayment_urlpayment_information
ALL_METHODSCheckoutpayments/mainNot returned
CARDCheckoutpayments/mainNot returned
CASHCheckoutpayments/mainNot returned
TRANSFERCheckoutpayments/mainNot returned
All timestamps are UTC. data.date uses YYYY-MM-DD HH:MM:SS in UTC. In Checkout mode, payment_information is not returned.

Request parameters

Required fields

FieldTypeDescription
referencestringUnique id from your system
amountnumberAmount in HNL (min 50, max 1,000,000)
currencystring"HNL"
countrystring"HN"
payment_methodstringALL_METHODS, CARD, CASH, or TRANSFER
descriptionstringTransaction description
customer_dataobjectCustomer identity and contact

Customer data

FieldTypeRequiredDescription
legal_docstringDocument number
legal_doc_typestringDNI or TI
phone_codestring"504"
phone_numberstring8-digit mobile number
emailstringCustomer email
full_namestringFull name

Optional fields

FieldTypeDescription
ipn_urlstringWebhook URL for status updates
redirect_urlstringReturn URL after payment
expiration_timeintegerLink validity in minutes (default 720)

Response structure (Checkout)

Redirect the customer to data.payment_url. payment_information is not included.
{
  "code": "01",
  "status": "SUCCESS",
  "message": "Operacion exitosa",
  "data": {
    "ticket": "hn-payin-ticket",
    "date": "2025-10-15 15:44:57",
    "payment_url": "https://link.staging.topup.com.co/payments/main?s=hn-payin-ticket",
    "transaction": {
      "reference": "hn-ref-001",
      "amount": 500,
      "currency": "HNL",
      "payment_method": "ALL_METHODS",
      "redirect_url": "https://your-domain.com/ok",
      "ipn_url": "https://your-domain.com/webhook",
      "description": "Honduras PayIn test"
    }
  }
}

Example request

curl --request POST 'https://api-empresas.staging.topup.com.co/production/api/v2/payin' \
--header 'Token-Top: your_auth_token' \
--header 'Authorization: Basic your_auth_key' \
--header 'Content-Type: application/json' \
--data-raw '{
  "reference": "hn-ref-001",
  "amount": 500,
  "currency": "HNL",
  "country": "HN",
  "payment_method": "ALL_METHODS",
  "description": "Honduras PayIn test",
  "customer_data": {
    "legal_doc": "1234567890123",
    "legal_doc_type": "DNI",
    "phone_code": "504",
    "phone_number": "91234567",
    "email": "customer@example.com",
    "full_name": "John Doe"
  },
  "ipn_url": "https://your-domain.com/webhook",
  "redirect_url": "https://your-domain.com/payment/ok"
}'