Documentation Index Fetch the complete documentation index at: https://docs.tumipay.co/llms.txt
Use this file to discover all available pages before exploring further.
Initialize a new PayIn transaction for payment processing.
This endpoint allows you to create a new payment request that your customers can pay through various payment methods.
curl --request POST 'https://api-empresas.staging.tumipay.co/production/api/v1/payin' \
--header 'Token-Top: your_auth_token' \
--header 'Authorization: Basic your_auth_key' \
--header 'Content-Type: application/json' \
--data-raw '{
"reference": "3cNPNGbX7meiMppXzVz7g781ysektqq5X",
"amount": 5000,
"currency": "COP",
"country": "CO",
"payment_method": "ALL_METHODS",
"description": "Test PayIn",
"customer_data": {
"legal_doc": "1234567890",
"legal_doc_type": "CC",
"phone_code": "57",
"phone_number": "3121234567",
"email": "customer@example.com",
"full_name": "John Doe"
},
"expiration_time": 720,
"ipn_url": "https://your-domain.com/webhook",
"redirect_url": "https://your-domain.com/payment/success"
}'
{
"code" : "01" ,
"status" : "SUCCESS" ,
"message" : "Operacion exitosa" ,
"data" : {
"ticket" : "8BNsCFva1NKPqy2" ,
"date" : "2025-10-15 17:58:36" ,
"payment_url" : "https://link.staging.tumipay.co/payments/main?s=8BNsCFva1NKPqy2" ,
"transaction" : {
"reference" : "13cNPNGbX7meiMppXzVz7g781ysektqq5X" ,
"amount" : 5000 ,
"currency" : "PEN" ,
"payment_method" : "ALL_METHODS" ,
"redirect_url" : "https://your-domain.com/payment/success" ,
"ipn_url" : "https://your-domain.com/webhook" ,
"description" : "Test PayIn"
}
}
}
Your merchant authentication token
Must be “application/json”
Request Body Parameters
Your unique transaction reference
Transaction amount in the specified currency code.
Three-letter currency code following the ISO 4217 standard (e.g., COP, PEN).
Transaction description or purpose.
Show Customer data object
The customer’s legal document number
Country code for the customer’s phone number (e.g., 57, 51)
The customer’s phone number, excluding the country code
The customer’s email address
The customer’s full name as it appears on official documents
Payment link expiration time in minutes
URL for receiving webhook notifications
URL to redirect after payment completion
Response
Unique transaction identifier (UUID v4)
Your provided transaction reference (must be unique)
Initial transaction status (will be PENDING)
URL to redirect the customer for payment
Payment link expiration timestamp (UTC)
Merchant authentication token
Basic authentication with username and password
Your unique transaction reference
Transaction amount (in cents/minor currency unit)
Three-letter currency code (ISO 4217)
Payment method to be used. Availability varies by country.
Available options:
ALL_METHODS,
PSE,
EFECTY,
TRANSFIYA,
CARD,
BANK_TRANSFER,
QR,
PAGOEFECTIVO
URL for receiving webhook notifications
URL to redirect after payment completion
Two-letter country code (ISO 3166-1 alpha-2). Possible values: CO, PE, MX
Custom metadata managed entirely by your implementation. Include any fields you require.
Payment link expiration time in minutes
Unique transaction identifier
Your provided transaction reference
Initial transaction status
Available options:
PENDING
URL to redirect the customer for payment
Payment link expiration timestamp (UTC)