Skip to main content

Overview

The PayOut API for Peru enables secure disbursements to bank accounts and digital wallets through bank transfer methods. Transactions are processed asynchronously with webhook notifications for status updates.

Key Features

  • Bank Transfer Support: Standard BANK_TRANSFER method
  • Currency: Peruvian Sol (PEN)
  • Asynchronous Processing: Background processing with webhook notifications
  • Wide Bank Coverage: Support for major Peruvian banks and digital wallets (Yape, Plin, BIM)
  • CCI Support: Interbank account code (CΓ³digo de Cuenta Interbancaria) for transfers

Quick Reference

ParameterValueDescription
EndpointPOST /api/v1/payoutInitiate PayOut transaction
CurrencyPENPeruvian Sol
Country CodePEPeru
Auth RequiredYesToken-Top + Basic Auth
ProcessingAsyncStatus updates via webhook

Request Parameters

Required Fields

FieldTypeDescriptionExample
payment_methodstringDisbursement method"BANK_TRANSFER"
referencestringUnique transaction identifier from your system"3cNPNGbX7meiMppXzVz7g781ysektqq5X"
amountfloatTransaction amount in PEN1.50 (= S/ 1.50 PEN)
currencystringThree-letter currency code (ISO 4217)"PEN"
countrystringTwo-letter country code (ISO 3166-1 alpha-2)"PE"
ipn_urlstringWebhook URL for transaction status updates"http://example.com/tu-webhook"
customer_dataobjectCustomer and account information (see below)-

Customer Data Object

FieldTypeRequiredDescriptionExample
legal_docstringβœ…Customer’s legal document number"12345678"
legal_doc_typestringβœ…Document type: DNI, RUC, CE, PPN"DNI"
phone_codestringβœ…Country calling code"51"
phone_numberstringβœ…Phone number without country code"900000001"
emailstringβœ…Customer email address"[email protected]"
full_namestringβœ…Customer full name"John Doe"
bankstringβœ…Destination bank code"BCP", "YAPE", "PLIN", etc.
account_numberstringβœ…Bank account number or wallet ID"1234567890123"
account_typestringβœ…Account type: AHORRO, CORRIENTE, WALLET"AHORRO"
ccistringConditionalInterbank account code (20 digits)"12345678912345678910"
The cci field is required for traditional bank accounts but optional for digital wallets (YAPE, PLIN, BIM).

Response Structure

Success Response

FieldTypeDescription
codestringResponse code ("01" = success)
statusstringTransaction status ("SUCCESS")
messagestringDescription of the response
dataobjectTransaction data object

Data Object

FieldTypeDescription
ticketstringUnique transaction identifier (TumiPay ID)
datestringTransaction timestamp (YYYY-MM-DD HH:MM:SS)
transactionobjectTransaction details echo

Transaction Status Flow

StatusDescription
PENDINGTransaction created, processing initiated
APPROVEDFunds successfully transferred to recipient
REJECTEDTransaction rejected by bank or validation failure

Examples

Request Example

cURL
curl --request POST 'https://api-empresas.staging.tumipay.co/production/api/v1/payout' \
--header 'Token-Top: your_auth_token' \
--header 'Authorization: Basic your_auth_key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "payment_method": "BANK_TRANSFER",
    "reference": "3cNPNGbX7meiMppXzVz7g781ysektqq5X",
    "amount": 150,
    "currency": "PEN",
    "country": "PE",
    "ipn_url": "http://example.com/tu-webhook",
    "customer_data": {
        "legal_doc": "12345678",
        "legal_doc_type": "DNI",
        "phone_code": "51",
        "phone_number": "900000001",
        "email": "[email protected]",
        "full_name": "John Doe",
        "bank": "BCP",
        "account_number": "1234567890123",
        "account_type": "AHORRO",
        "cci": "12345678912345678910"
    }
}'

Response Example

{
    "code": "01",
    "status": "SUCCESS",
    "message": "Operacion exitosa",
    "data": {
        "ticket": "1achNGuPvS9B9v6",
        "date": "2025-10-15 17:42:25",
        "transaction": {
            "reference": "3cNPNGbX7meiMppXzVz7g781ysektqq5X",
            "amount": 150,
            "currency": "PEN",
            "payment_method": "BANK_TRANSFER"
        }
    }
}