Bank Transfer
Call the Payments API to request payments via Bank Transfer.
POST /v2/payin
Request
curl -v --location --request POST 'https://sandbox.smartfastpay.com/v2/payin' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <Access-Token>' \
--data-raw '{
"customer": {
"id": "b48a0728-9ff4-47ee-8f1b-92d2d5813dda",
"name": "John Doe",
"email": "john.doe@teste.com",
"document": {
"type": "CPF",
"number": "12345678909"
},
"phone": "+5511912345678",
"address": {
"address_1": "Rua da avenida",
"address_2": "Quadra 01",
"number": "100",
"neighborhood": "Londrina",
"city": "Florianópolis",
"state": "SC",
"postal_code": "12332-343",
"country_code": "BRA"
}
},
"country": "BRA",
"payment_method": "bank_transfer",
"notification_url": "https://webhook.site/5463456345",
"transaction": {
"id": "b7178a51-3c86-4c08-80ac-49f2b93c58bc",
"currency": "BRL",
"amount": 2
}
}'
Parameters details
Response
{
"requestId": "b0d4ce65376a0bdf56b5915f15716a7e\/13632421363164131220;o=1",
"data": {
"id": "8f575adf-b5e9-4abc-a681-2a7825f0d4ab",
"status": "pending",
"expires_in": 1727212815,
"payment": {
"method": "bank_transfer",
"name": "Viacredi",
"code": "085",
"agency": "0101-5",
"account": "12551163",
"account_operation": "Conta Corrente",
"document": "34.911.051\/0001-97",
"beneficiary": "SmartFastPay"
},
"values": {
"source_total": "2.00000000",
"source_currency": "BRL",
"exchanged_total": "2.00",
"exchanged_currency": "BRL",
"exchange": "1.00",
"fee": "0.02000000"
}
}
}
Response details following the link: overview
Last updated