Payin template created
Webhook event triggered as soon as a payin template is accepted and persisted.
The template is in the created state: the payment tokens of the methods that use
them are still being set up, so payment_tokens is null and the template cannot
accept payins yet — payin_template_ready announces that. Everything else in the
payload is what the template was created with, plus the fields the platform derives
at creation (id, state, paid_amount, the counters and the timestamps).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Timestamp when the webhook event was generated
date-timeResponse Body
Example Requests
Only subaccount_id, usage_mode and external_id were sent. Everything
optional comes back with its default: type is collection, the methods
are the ones enabled for the program, the currency is COP, and every
optional configuration is null or empty.
/payin_template_createdEvery field that can be set when creating a template. The rest of the
payload is still what the platform derives at creation: no payment tokens
yet, nothing collected, and the template in created.
/payin_template_created