Langsung ke konten utama

API PAY-OUT TRANSACTION

smilepayz teamsSekitar 6 menit

Request

The Pay-Out API enables merchants to initiate disbursement transactions to various recipients including employees, customers, vendors, and partners. This API supports multiple payment methods for secure and efficient money transfers in the Colombian market.

Request Path:

sandbox: https://sandbox-gateway.smilepayz.com/v2.0/disbursement/pay-out
production: https://gateway.smilepayz.com/v2.0/disbursement/pay-out

Header Parameters

FieldRequiredTypeDescription
Content-TypeMStringHTTP content type specification
Fixed value: application/json
Required for proper request parsing
X-TIMESTAMPMStringISO 8601 datetime format with timezone offset
Format: yyyy-MM-ddTHH:mm:ss±HH:mm
Example: 2020-12-17T10:55:00-05:00
Note: Must be current server time within ±5 minutes
X-SIGNATUREMStringDigital signature for request authentication
See Signature Generation
X-PARTNER-IDMStringUnique merchant identifier assigned by the platform
Format: Alphanumeric string
Used for merchant authentication and transaction routing
Please enter merchantID

Body Parameters

FieldRequiredTypeDescription
orderNoMString(32)Unique transaction identifier
Format: Alphanumeric string (numbers and letters only)
Length: 6-32 characters
Used for transaction tracking and reference
purposeMString(64)Transaction purpose or description
Format: UTF-8 encoded string
Maximum length: 64 characters
Used for transaction identification and reporting
merchantMObjectMerchant information container
Contains merchant identification and business details
See Merchant Model
    merchantIdMStringUnique merchant identifier assigned by the platform
Format: Alphanumeric string
Used for merchant authentication and transaction routing
    merchantNameOStringMerchant business name or display name
Format: UTF-8 encoded string
Used for merchant identification and reporting
    subMerchantIdOStringSub-merchant identifier for multi-level merchant structures
Format: Alphanumeric string
Used for sub-merchant identification and reporting
    subMerchantNameOStringSub-merchant business name or display name
Format: UTF-8 encoded string
Used for sub-merchant identification and reporting
moneyMObjectTransaction amount details with currency specification
Contains transaction amount and currency information
See Money Model
    currencyMStringISO 4217 currency code specification
Fixed value: COP (Colombian Peso)
Determines payment processing rules and settlement currency
    amountMNumberTransaction amount in smallest currency unit
Format: Integer value
Example: 10000 represents COP 10000
Range: 100-999999999
paymentMethodMString(6)Payment method used for transaction processing
Format: Predefined payment method codes
Examples: BANCOLOMBIA, DAVIVIENDA, BANCO_DE_BOGOTA
Indicates the actual payment channel used
See Payment Method List
cashAccountMString(32)Colombian bank account number
Format: Alphanumeric string
Maximum length: 32 characters
Used for fund transfer destination
cashAccountTypeMString(32)Bank account type specification
Format: Predefined account type codes
Values: CORRIENTE (Checking), AHORROS (Savings)
Determines account type for fund transfer
receiverMObjectRecipient information container
Contains beneficiary identification and contact details
See Receiver Model
    nameMStringRecipient's full name
Format: UTF-8 encoded string
Example: "Maria Rodriguez Lopez"
Used for beneficiary identification and transaction records
    emailMStringRecipient's email address
Format: Valid email address
Example: "[email protected]"
Used for transaction notifications and communication
    phoneMStringRecipient's phone number
Format: Colombian phone number format
Example: "3001234567"
Used for transaction verification and communication
    idTypeMStringIdentity document type
Format: Predefined document type codes
Values: CC (Cédula de Ciudadanía), CE (Cédula de Extranjería)
Used for identity verification
    identityMStringIdentity document number
Format: Alphanumeric string
Example: "1234567890"
Used for identity verification and transaction records
callbackUrlOString(256)Webhook notification URL for transaction status updates
Format: Valid HTTP/HTTPS URL
Maximum length: 256 characters
Used for real-time transaction status notifications

Important Notes

1. Transaction ID: orderNo must be unique across all transactions for the merchant
2. Amount Format: Amount should be provided in the smallest currency unit (centavos for COP)
3. Timezone: All timestamps use Colombia timezone (UTC-5)
4. Bank Account: Must be a valid Colombian bank account number
5. Identity Documents: CC for Colombian citizens, CE for foreign residents
6. Phone Number: Should be in Colombian format without country code

Example Body – Disbursement Request:

Content-type: application/json
X-TIMESTAMP: 2020-12-17T10:55:00-05:00
X-SIGNATURE: 7MHd9v5/m9JeqmDZVwWBZUZ5J5...7120QnFEny7Qm7uQR1G0TWCh10fsU6nVxiRoeoQ==
X-PARTNER-ID: 20001

Response

HTTP Response

FieldRequiredTypeDescription
Content-TypeMStringHTTP response content type specification
Fixed value: application/json
Indicates JSON response format
X-TIMESTAMPMStringISO 8601 datetime format with timezone offset
Format: yyyy-MM-ddTHH:mm:ss±HH:mm
Example: 2020-12-17T10:55:00-05:00

Body Parameters

FieldRequiredTypeDescription
codeMStringAPI response status code indicating operation result
Format: Two-digit string
Success: "00", Error: Other codes
Used for programmatic response handling
messageMStringHuman-readable response status description
Format: UTF-8 encoded string
Provides detailed information about the operation result
Localized based on request language
orderNoMStringUnique transaction identifier provided in the request
Format: Alphanumeric string
Same as the orderNo provided in the request
Used for transaction tracking and reference
merchantMObjectMerchant information container
Contains merchant identification and business details
See Merchant Model
    merchantIdMStringUnique merchant identifier assigned by the platform
Format: Alphanumeric string
Used for merchant authentication and transaction routing
    merchantNameOStringMerchant business name or display name
Format: UTF-8 encoded string
Used for merchant identification and reporting
    subMerchantIdOStringSub-merchant identifier for multi-level merchant structures
Format: Alphanumeric string
Used for sub-merchant identification and reporting
    subMerchantNameOStringSub-merchant business name or display name
Format: UTF-8 encoded string
Used for sub-merchant identification and reporting
moneyMObjectTransaction amount details with currency specification
Contains confirmed transaction amount and currency
See Money Model
    currencyMStringISO 4217 currency code specification
Fixed value: COP (Colombian Peso)
Determines payment processing rules and settlement currency
    amountMNumberTransaction amount in smallest currency unit
Format: Integer value
Example: 10000 represents COP 10000
Range: 100-999999999
disbursementTimeMStringTransaction completion timestamp
Format: yyyy-MM-ddTHH:mm:ss
Example: 2020-12-17T10:55:00-05:00
Used for transaction timing and audit
channelMObjectPayment channel information container
Contains payment method and processing details
See Channel Model
tradeNoOStringInternal transaction reference number for system tracking
Format: System-generated alphanumeric string
Used for internal transaction management and support
statusOStringCurrent transaction processing status
Format: Predefined status codes
Examples: PROCESSING, SUCCESS, FAILED, CANCELLED
Indicates the current state of the transaction
See Status Model
Content-type: application/json
X-TIMESTAMP: 2020-12-17T10:55:00-05:00

Notification

HTTP Request

FieldRequiredTypeDescription
Content-TypeMStringHTTP request content type specification
Fixed value: application/json
Indicates JSON request format
X-TIMESTAMPMStringISO 8601 datetime format with timezone offset
Format: yyyy-MM-ddTHH:mm:ss±HH:mm
Example: 2020-12-17T10:55:00-05:00
X-SIGNATUREMStringDigital signature for notification authentication
See Callback Signature Verification

Body Parameters

FieldRequiredTypeDescription
orderNoMStringMerchant transaction identifier
Format: Alphanumeric string
Same as the orderNo provided in the original request
Used for transaction identification and verification
tradeNoMStringInternal transaction reference number for system tracking
Format: System-generated alphanumeric string
Used for internal transaction management and support
merchantIdMStringUnique merchant identifier assigned by the platform
Format: Alphanumeric string
Used for merchant authentication and transaction routing
merchantNameMStringMerchant business name or display name
Format: UTF-8 encoded string
Used for merchant identification and reporting
subMerchantIdOStringSub-merchant identifier for multi-level merchant structures
Format: Alphanumeric string
Used for sub-merchant identification and reporting
subMerchantNameOStringSub-merchant business name or display name
Format: UTF-8 encoded string
Used for sub-merchant identification and reporting
paymentMethodMStringPayment method used for transaction processing
Format: Predefined payment method codes
Examples: BANCOLOMBIA, DAVIVIENDA, BANCO_DE_BOGOTA
Indicates the actual payment channel used
transactionTimeMStringTransaction completion timestamp
Format: yyyy-MM-ddTHH:mm:ss
Example: 2020-12-17T10:55:00-05:00
Used for transaction timing and audit
moneyMObjectTransaction amount details with currency specification
Contains confirmed transaction amount and currency
See Money Model
    currencyMStringISO 4217 currency code specification
Fixed value: COP (Colombian Peso)
Determines payment processing rules and settlement currency
    amountMNumberTransaction amount in smallest currency unit
Format: Integer value
Example: 10000 represents COP 10000
Range: 100-999999999
statusMStringFinal transaction processing status
Format: Predefined status codes
Examples: SUCCESS, FAILED, CANCELLED
Indicates the final state of the transaction
See Status Model

Return

Important Response

Notification Response: Please return only the string SUCCESS to acknowledge receipt of the notification

{
  "merchantId": "20001",
  "merchantName": "test",
  "money": {
    "amount": 10000,
    "currency": "COP"
  },
  "orderNo": "2000102900000000000001",
  "status": "SUCCESS",
  "tradeNo": "1622000109e998347483949",
  "transactionTime": "2020-12-17T10:55:00-05:00"
}
Terakhir diperbarui: