Saltar al contenido principal

Contacts

GET /v2/contacts

List contacts

Parámetros

ParámetroEnTipoRequeridoDescripción
pagequeryintegernoDefault: 1.
limitqueryintegernoDefault: 25.
typequeryINTERNAL | EXTERNAL_CRYPTO | BANK_ACCOUNTnoFilter by contact type.

Respuestas

CódigoDescripciónCuerpo
200Éxito.data: ContactResource[] · pagination: PaginationMeta
401application/problem+json (RFC 9457) — branch on code, not on the status: unauthorized (not retryable), key_expired (not retryable), key_revoked (not retryable).
403application/problem+json (RFC 9457) — branch on code, not on the status: insufficient_scope (not retryable), ip_not_allowed (not retryable), api_access_disabled (not retryable).
429application/problem+json (RFC 9457) — branch on code, not on the status: rate_limited (retryable).
500application/problem+json (RFC 9457) — branch on code, not on the status: internal_error (retryable).
502application/problem+json (RFC 9457) — branch on code, not on the status: downstream_unavailable (retryable).
503application/problem+json (RFC 9457) — branch on code, not on the status: maintenance (retryable).

GET /v2/contacts/{contactId}

Get a contact by id

Parámetros

ParámetroEnTipoRequeridoDescripción
contactIdpathstring

Respuestas

CódigoDescripciónCuerpo
200Éxito.ContactResource
401application/problem+json (RFC 9457) — branch on code, not on the status: unauthorized (not retryable), key_expired (not retryable), key_revoked (not retryable).
403application/problem+json (RFC 9457) — branch on code, not on the status: insufficient_scope (not retryable), ip_not_allowed (not retryable), api_access_disabled (not retryable).
404application/problem+json (RFC 9457) — branch on code, not on the status: not_found (not retryable).
429application/problem+json (RFC 9457) — branch on code, not on the status: rate_limited (retryable).
500application/problem+json (RFC 9457) — branch on code, not on the status: internal_error (retryable).
502application/problem+json (RFC 9457) — branch on code, not on the status: downstream_unavailable (retryable).
503application/problem+json (RFC 9457) — branch on code, not on the status: maintenance (retryable).

PATCH /v2/contacts/{contactId}

Edit a contact's reference/alias

Parámetros

ParámetroEnTipoRequeridoDescripción
contactIdpathstring

Cuerpo de la peticiónUpdateContactReferenceDto

Respuestas

CódigoDescripciónCuerpo
200Éxito.ContactResource
400application/problem+json (RFC 9457) — branch on code, not on the status: validation_error (not retryable).
401application/problem+json (RFC 9457) — branch on code, not on the status: unauthorized (not retryable), key_expired (not retryable), key_revoked (not retryable).
403application/problem+json (RFC 9457) — branch on code, not on the status: insufficient_scope (not retryable), ip_not_allowed (not retryable), api_access_disabled (not retryable).
404application/problem+json (RFC 9457) — branch on code, not on the status: not_found (not retryable).
422application/problem+json (RFC 9457) — branch on code, not on the status: unprocessable (not retryable).
429application/problem+json (RFC 9457) — branch on code, not on the status: rate_limited (retryable).
500application/problem+json (RFC 9457) — branch on code, not on the status: internal_error (retryable).
502application/problem+json (RFC 9457) — branch on code, not on the status: downstream_unavailable (retryable).
503application/problem+json (RFC 9457) — branch on code, not on the status: maintenance (retryable).

Esquemas

BankContactDetails

CampoTipoDescripción
assetSymbolstring | nullAsset this account settles in. Always a FIAT code — a bank account cannot be denominated in a crypto asset or a tokenised equity. Ej.: CLP.
nationalIdstring | nullThe account holder's national id.
bankIdstring | null
bankNamestring | nullEj.: Banco de Chile.
accountTypeIdstring | null
bankAccountTypestring | nullEj.: CHECKING.
bankAccountNumberstring | null
accountEmailstring | null

ContactResource

CampoTipoDescripción
idstring
referencestring | null
typeINTERNAL | EXTERNAL_CRYPTO | BANK_ACCOUNTWhich kind of destination this is, and therefore which detail block is present: EXTERNAL_CRYPTOcrypto, BANK_ACCOUNTbank, INTERNAL → neither.
aliasstring
createdAtstring
updatedAtstring
crypto (opcional)anyPresent only when type is EXTERNAL_CRYPTO.
bank (opcional)anyPresent only when type is BANK_ACCOUNT.

CryptoContactDetails

CampoTipoDescripción
assetSymbolstring | nullAsset code this address receives. Ej.: BTC.
assetNamestring | nullEj.: Bitcoin.
networkSymbolstring | nullNetwork the address lives on. Ej.: BTC.
networkNamestring | nullEj.: Bitcoin.
addressstring | nullThe on-chain destination address.
tagstring | nullDestination tag / memo, for chains that require one (XRP, XLM…). Null otherwise.

PaginationMeta

CampoTipoDescripción
pagenumberEj.: 1.
limitnumberEj.: 25.
totalItemsnumberEj.: 100.
totalPagesnumberEj.: 4.

Problem

CampoTipoDescripción
typestringStable problem-type URI. Resolves to docs for this error. Ej.: https://docs.skipo.com/errors/rate_limited.
titlestringShort, human-readable summary (stable, English). Ej.: Rate limit exceeded.
statusnumberHTTP status code. Ej.: 429.
codestringStable machine-readable error code (equals the last path segment of type). Ej.: rate_limited.
retryablebooleanWhether retrying the identical request may succeed. Ej.: true.
detail (opcional)stringHuman-readable, possibly localized detail.
instance (opcional)stringThe request path that produced the error.
traceId (opcional)stringTrace id — joins BigQuery api_request and Cloud Logging.

UpdateContactReferenceDto

CampoTipoDescripción
referencestringNew reference/alias label for the contact (does not change the destination).

Volver a la referencia de endpoints. Ver también: Paginación · Errores · Ids y correlación.