Withdraw

Use this data for testing

Test data
9696830602612
9999999965777
99999981

Withdraw Inquiry

🚧

For authentication: Click Here

Endpoints:

Params:

  • transaction/:txid/type/withdraw

Headers:

  • Authorization: TOKEN_AUTHENTICATION
  • Content-Type: application/json

Exemplo de cURL:


curl --location 'https://{baseurl}/dataconnector/transaction/:txid/type/withdraw' \
--header 'Authorization: Bearer TOKEN_AUTHENTICATION' \
--header 'Content-Type: application/json'


Response>Withdraw:


{
    "txid": "9696830602612",
    "type_transaction": "withdraw",
    "external_id_client": "96968306026",
    "name_client": "Apostador",
    "cpf_client": "96968306026",
    "email_client": "[email protected]",
    "name_payer": "",
    "cpf_payer": "",
    "value": 1,
    "status": "completed",
    "createdAt": "2024-09-17T15:55:48.170Z",
    "payedAt": "2023-05-31T01:44:49.696Z
}

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).