FAQ
Frequently Asked Questions
Welcome to the SmilePayz FAQ section. Here you'll find answers to the most common questions about our payment gateway services.
๐ง Account Management
How to get production account number?
Production Account Setup
Follow these steps to obtain your production account number from the merchant backend.
- Login to merchant backend
- Navigate to
Finance
โBalance
menu - Switch between
Payin
andPayout
tables to get different account numbers - Pay-in Account: Used to collect funds from all pay-in transactions
- Account Structure: Each merchant has two accounts per currency (pay-in and pay-out)
- Account Transfer: You can transfer money between pay-in and pay-out accounts
- See Transfer Guide for detailed instructions
๐ API Parameters
M
, C
, and O
mean in request parameters?
What do Symbol | Meaning | Description |
---|---|---|
M | Mandatory | Required parameter for all requests |
C | Condition | Required in certain scenarios only |
O | Optional | Optional parameter |
minify(body)
?
What is JSON Minification
minify(requestBody)
converts request parameters to a JSON string and removes line breaks, spaces, and other escape characters.
- Purpose: Creates a compact JSON string for signature generation
- Implementation: We provide
minify
demos for various programming languages - Reference: See Signature Tools for implementation examples
๐ง๐ท Brazil Payment Methods
What is PIX?
Instant Payment System
PIX is Brazil's instant payment system launched by the Central Bank of Brazil.
- Type: Instant payment method for Brazil
- Features:
- Real-time fund transfers 24/7
- QR code payment completion
- Instant settlement
- Availability: 24 hours a day, including weekends and holidays
What are CPF and CNPJ?
Document Type | Full Name | Description | Format |
---|---|---|---|
CPF | Cadastro de Pessoas Fรญsicas | Individual taxpayer ID | 11 digits |
CNPJ | Cadastro Nacional da Pessoa Jurรญdica | Corporate taxpayer ID | 14 digits |
References:
Format of payment methods in Brazil
Method | Format | Example | Description |
---|---|---|---|
PHONE | +55 + 11 digits | +5511999999999 | Mobile phone number |
CPF | 11 digits | 12345678909 | Personal identification |
CNPJ | 14 digits | 12345678000199 | Corporate identification |
Email format | [email protected] | Email address |
๐ Environment Migration
How to migrate from sandbox to production?
Migration Prerequisites
Ensure your sandbox integration is complete and callbacks are working normally before migrating to production.
Migration Steps:
Update Domain
- https://sandbox-gateway.smilepayz.com + https://gateway.smilepayz.com
Update Credentials
- Switch merchant ID from sandbox to production
- Switch MerchantSecret from sandbox to production
Security Configuration
- Reconfigure RSA keys for production
- Add production server IP to allowlist
Best Practice
Test thoroughly in sandbox before migrating to production to ensure smooth transition.
๐ Checkout Page Development
How to create your own checkout page?
Custom Checkout Implementation
Create a personalized checkout experience while using SmilePayz payment processing.
Implementation Steps:
- Purpose: Checkout page is for pay-in transactions
- Ignore Payment URL: Do not use the payment URL returned by the API
- Extract Data: Get
qrString
orVa number
from API response - Create Interface: Build your own checkout page design
- Display Payment Info: Show QR code or VA number with payment instructions
- Complete: Your custom checkout is ready!
๐ฎ๐ฉ Indonesia Special Cases
Special handling for Mandiri VA in Indonesia
Mandiri VA Processing
Mandiri VA requires special processing to avoid payment failures.
API Mode Implementation
If you choose API mode and directly obtain VA for your checkout page, please note:
Original VA Format: 146156926294
Payment Methods:
Payment Method | VA Format | Instructions |
---|---|---|
M-Banking Mandiri | 146156926294 | Choose Multipayment โ "i+Pay or 70017" |
Other M-Banking | 88017146156926294 | Add 88017 prefix, choose Transfer Bank โ Bank Mandiri (008) |
Important Note
Only Bank Mandiri can process the original VA format. Other banks require the 88017
prefix.