Authorizations
Company API key for authentication
Body
Schema for creating a new transaction.
Required fields: provider, request_id, amount, capture_method, payment_method
Conditional requirements:
installmentsmust be 1 whenpayment_methodis PIX, if not sent, defaults to 1
Payment provider identifier
CELCOIN "CELCOIN"
Unique request ID for this transaction (used for idempotency)
1"request-123"
Transaction amount in cents (e.g., 10050 = R$ 100,50)
x >= 110050
Transaction capture method:
- EMV: Chip card
- MAGSTRIPE: Magnetic stripe
- ECOMMERCE: Online transaction
- CONTACTLESS_ICC: Contactless payment
EMV, MAGSTRIPE, ECOMMERCE, CONTACTLESS_ICC "ECOMMERCE"
Payment method:
- CREDIT_CARD: Credit card payment
- DEBIT_CARD: Debit card payment
- BOLETO: Bank slip payment
- MONEY: Cash payment
- PIX: Instant payment
CREDIT_CARD, DEBIT_CARD, BOLETO, MONEY, PIX "PIX"
Transaction currency (defaults to BRL)
BRL "BRL"
Number of installments (1-18). Must be 1 for PIX payments.
1 <= x <= 181
PIX-specific data for creating PIX transactions.
{
"pix_key_id": "pix_key_123",
"description": "Payment for order #123",
"expiration_in_seconds": 3600
}Optional consumer/customer information Optional consumer/customer information for the transaction.
Required field: document_type
Note: This information is useful for compliance and customer tracking.
{
"full_name": "João Silva",
"email": "joao@email.com",
"pix_key": "joao@email.com",
"document_type": "CPF",
"document_number": "81146431023",
"phone": "+5511999999999",
"birth_date": "15-08-1990"
}Optional additional metadata (key-value pairs)
{
"order_id": "order-123",
"customer_id": "cust-456"
}Optional split rules for transaction revenue sharing.
Important rules:
- Cannot mix amount and percentage in same transaction
- If using amounts: sum must equal transaction amount
- If using percentages: sum must equal 100%
[
{
"company_id": "company-1",
"amount": 5000,
"charge_processing_cost": true
},
{
"company_id": "company-2",
"amount": 5050,
"charge_processing_cost": false
}
]Optional text shown on cardholder statement (max 13 chars)
13"MYSTORE"
Optional terminal serial number
"12345678"
Optional Network Sequential Number
"000123"
Optional fee policy ID to use for this transaction. If provided, this takes priority over the company's default fee policy. The fee policy must belong to the same organization as the company.
"507f1f77bcf86cd799439011"
Response
Transaction created successfully
Transaction data returned by the API
Transaction unique identifier
"tx_123456789"
Payment provider
CELCOIN, RINNE "CELCOIN"
Affiliation ID for this transaction
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
Unique request ID for this transaction used for idempotency
"request-123"
Merchant Category Code
"5411"
Transaction amount in cents
10050
Transaction currency
BRL "BRL"
Transaction pricing information
Transaction status
PROCESSING, AUTHORIZED, APPROVED, REFUNDED, PARTIALLY_REFUNDED, PENDING_REFUND, CHARGEDBACK, WAITING_PAYMENT, REFUSED, EXPIRED "APPROVED"
Transaction capture method
EMV, MAGSTRIPE, ECOMMERCE, CONTACTLESS_ICC "EMV"
Number of installments
1
Payment method
CREDIT_CARD, DEBIT_CARD, BOLETO, MONEY, PIX "PIX"
Company ID that owns this transaction
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
Transaction creation timestamp
"2023-12-01T10:00:00.000Z"
Transaction ID in provider system
"prov_tx_123456"
Fee policy ID applied to this transaction
"fee_policy_123"
Cost policy ID applied to this transaction
"cost_policy_123"
Approved amount in cents
10050
Total amount refunded in cents (sum of completed refunds)
0
Acquirer response code
"00"
Acquirer name
"Visa"
PIX-specific data (present if payment_method is PIX)
Soft descriptor shown on cardholder statement
"MYSTORE"
Terminal serial number
"12345678"
Network Sequential Number
"000123"
Additional metadata
Latest refund timestamp (for the most recent completed refund)
"2023-12-01T10:00:00.000Z"
Creation timestamp in provider system
"2023-12-01T09:00:00.000Z"
Status reason details
PROVIDER, ACQUIRER, ANTIFRAUD, INTERNAL_ERROR, NO_ACQUIRER, ACQUIRER_TIMEOUT "PROVIDER"
Transaction approval timestamp
"2023-12-01T10:00:00.000Z"
Company full name
"Test Company"
Company name
"Test Company"
Organization transaction ID (for refunds/chargebacks)
"tx_organization_123456"
Consumer information
Transaction last update timestamp
"2023-12-01T10:00:00.000Z"

