Pular para o conteúdo principal
GET
/
v1
/
account
Ver Detalhes da Conta
curl --request GET \
  --url https://conta-public-api.kiwify.com/v1/account \
  --header 'X-PoP-Challenge: <api-key>' \
  --header 'X-PoP-Format: <api-key>' \
  --header 'X-PoP-Signature: <api-key>' \
  --header 'x-access-id: <api-key>'
{
  "accounts": [
    {
      "account_name": "<string>",
      "account_number": "<string>",
      "account_type": "checking_account",
      "balance": {
        "amount_in_cents": 123,
        "currency": "<string>"
      },
      "branch": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "id": 123,
      "legal_entity": {
        "address": {
          "city": "<string>",
          "country": "<string>",
          "neighborhood": "<string>",
          "number": "<string>",
          "postal_code": "<string>",
          "state": "<string>",
          "street": "<string>",
          "complement": "<string>"
        },
        "legal_name": "<string>",
        "tax_id": {
          "number": "<string>"
        },
        "trading_name": "<string>"
      },
      "status": "active",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Autorizações

x-access-id
string
header
obrigatório

UUID of the service account (e.g., 550e8400-e29b-41d4-a716-446655440000)

X-PoP-Challenge
string
header
obrigatório

Unix timestamp in milliseconds (e.g., 1704636800000). Must be within 5 minutes of server time.

X-PoP-Format
string
header
obrigatório

Must be 'service-account' for service account authentication

X-PoP-Signature
string
header
obrigatório

EdDSA signature of the request in base64 format. Signs: uri:method:body:timestamp

Resposta

Account details retrieved successfully

accounts
object[]
obrigatório