platform-transfers

POST /v1/platform-transfers/{transferId}/pay

Pay for a transfer and queue it for a specialist.

Todos los endpoints de platform-transfers

Autenticación

Envía una clave de API como token de portador. La clave debe tener el permiso billing.payment.manage; una clave que no lo tenga se rechazará con un código 403, no 404.

Este endpoint no requiere ningún id de organización. Su clave ya identifica la organización a la que pertenece, y la respuesta está delimitada a ella.

Pruébalo

Reemplaza cualquier elemento entre corchetes angulares por tus propios valores, y el marcador de posición key con una clave de tu panel de control.

curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

¿Has iniciado sesión? La consola de la API en tu panel de control rellena el ID de tu organización real y tu propia clave, y ejecuta la solicitud contra la API en vivo para que puedas ver la respuesta real. Abre este endpoint en la consola de la API

Detalles

Charges the tier through the extras rails — wallet first, then the gateway — and moves the transfer to `queued` with its SLA set. Requires `billing.payment.manage`, because it moves money; creating the draft needs only `billing.view`. A decline returns `422` and leaves the transfer in `payment_failed`; nothing is charged and the same transfer can be paid again with another method. An organization with **no** chargeable payment method gets `422` `PAYMENT_METHOD_REQUIRED` instead — nothing was presented to a gateway, so it is not a decline and the remedy is to add a card (`docs/491` §7).

Parámetros

NombreTipoObligatorio¿Qué es esto?
transferId (path)string

Cuerpo de la solicitud

NombreTipoObligatorio¿Qué es esto?
currencyobjectNoThe currency the customer was quoted in. Refused if no gateway can charge it — silently substituting the base currency would bill a different number from the one on the screen.

Respuesta

NombreTipoObligatorio¿Qué es esto?
idUuidUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstring
source_platform_namestringNo
target_platformstring
target_platform_namestringNo
source_urlstring
target_site_idobjectNo
tier_codestring
tier_namestringNo
entity_count_estimateintegerNo
statusPlatformTransferStatus
status_labelstringNo
price_amount_minorinteger
price_currencystring
redirects_mappedbooleanNo
redirect_countintegerNo
canonicals_verifiedbooleanNo
sitemap_submittedbooleanNo
structured_data_preservedbooleanNo
seo_checks_completebooleanNo
customer_notestringNo
sla_due_atobjectNo
created_atstring
completed_atobjectNo
eventsPlatformTransferEvent[]NoThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Errores que este endpoint puede devolver

401 · 403 · 404 · 422 · 429