Fragments Lite
Deposit with Fragments Lite
1
Create a deposit request to our PCI endpoint
The deposit request must include the card_token[]
object containing all the card details.
Note that the default response of this endpoint in synchronous.
curl -L \
--request POST \
--url 'https://cc-api-stg.directa24.com/v3/deposits' \
--header 'Content-Type: application/json' \
--header 'X-Date: 2025-07-15T12:57:14.936Z' \
--header 'X-Login: text' \
--header 'Authorization: text' \
--data '{
"invoice_id": "800000001",
"amount": 1000,
"country": "BR",
"currency": "BRL",
"payer": {
"id": "11111",
"document": "84932568207",
"document_type": "CPF",
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith"
},
"card_token": "C4RD_T0K3N_G3N3R4T3D_W1TH_FR4GM3N7S_L1T3",
"client_ip": "123.123.123.123"
}'
2
Retrieve the Deposit final status
Even though that this endpoint is mostly synchronous, we may eventually send webhooks to notify changes within a deposit.
These webhook notifications contain the deposit_id
for you to retrieve the status.
{
"deposit_id": 300604089
}
Deposit with Fragments Lite
Last updated
Was this helpful?