Use this data for testing
Test data |
---|
1000000001 |
58093940006 |
1000000002 |
Deposit Inquiry
For authentication: Click Here
Endpoints:
- Staging endpoint: https://hub-staging.pay2freetech.com/dataconnector/
- Production:
GET
https://{baseurl}/dataconnector/
Params:
transaction/:txid/type/deposit
Headers:
- Authorization:
TOKEN_AUTHENTICATION
- Content-Type:
application/json
cURL example:
curl --location 'https://{baseurl}/dataconnector/transaction/:txid/type/deposit' \
--header 'Authorization: Bearer TOKEN_AUTHENTICATION' \
--header 'Content-Type: application/json'
Response > Deposit:
{
"txid": "1000000001",
"type_transaction": "deposit",
"external_id_client": "22300551004",
"name_client": "Apostador Onurb",
"cpf_client": "22300551004",
"email_client": "[email protected]",
"name_payer": "João Silva",
"cpf_payer": "24755408008",
"value": 1,
"status": "completed",
"createdAt": "2024-09-16T12:48:53.827Z",
"payedAt": "2024-09-16T12:49:42.000Z"
}
Data Dictionary:
- txid: Transaction ID.
- type_transaction: Type of transaction (deposit or withdrawal).
- external_id_client: External client ID.
- name_client: Name of the client.
- cpf_client: CPF of the client.
- email_client: Email of the client.
- name_payer: Name of the payer (optional, may return empty).
- cpf_payer: Payer's CPF (optional, may return empty).
- value: Transaction value.
- status: Transaction status.
- createdAt: Date and time the transaction was created.
- paidAt: Date and time of payment (optional, can return empty).