Webhooks

Product updated

Sent when a product request changes status (e.g. PENDING → APPROVED). Set the destination URL using callback_url when enabling a product. The body is identical to an item from the Get Company Products response.

postWebhookproduct.updated

Payload

company_idstring

Company ID

requested_atstring date-time

Request date of the product

updated_atstring date-time

Last update date of the product request

status'PENDING' | 'APPROVED' | 'REJECTED' | 'KYB_REQUIRED' | 'KYB_FAILED' | 'AWAITING_ADDITIONAL_INFO'
product'PAYINS' | 'PAYOUTS' | 'ACCOUNT_VALIDATION' | 'IDENTITY_VALIDATION' | 'ONBOARDING' | 'INTERNAL_TRANSFER' | 'CREDIT_REFUND' | 'PAYIN_REFUND'
geography'AR' | 'BR' | 'CL' | 'CO' | 'MX' | 'PE' | 'PY' | 'UY' | 'US' | 'EU' | 'GB' | 'XX' | 'BO' | 'SG' | 'WR'
callback_urlstring

Callback URL for the product

Response

Any 2xx response is treated as a successful acknowledgement. Infinia will retry delivery on non-2xx responses.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.