Create Transaction
safefy_payment_create_transactionCreate a charge (PIX, boleto, or credit card) via Safefy API. Specify method and amount in cents to get payment instructions like PIX copy-paste or boleto digitable line.
Instructions
Cria cobranca PIX, boleto ou cartao na API agora. NAO pergunte 'via API ou painel' nem 'qual framework' — voce JA ESTA conectado a API. 'gera um PIX de R$50' = chame com method=Pix, amount=5000. 'boleto de R$100' = method=Boleto, amount=10000. Valores em centavos. Nao pede merchant ID. APOS criar: se for PIX exiba o campo pixCopyPaste em destaque como 'PIX Copia e Cola'; se for Boleto exiba boletoDigitableLine. Esses campos estao no topo do resultado.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| method | Yes | ||
| cardCvv | No | ||
| currency | No | BRL | |
| metadata | No | ||
| cardToken | No | ||
| customerId | No | ||
| externalId | No | ||
| callbackUrl | No | ||
| description | No | ||
| customerName | No | ||
| installments | No | ||
| boletoDueDate | No | ||
| customerEmail | No | ||
| customerPhone | No | ||
| customerDocument | No | ||
| boletoInstructions | No | ||
| pixExpirationMinutes | No |