Payment events are triggered during various stages of the payment lifecycle, from group creation to individual payment completion. These events provide real-time updates about payment status and execution details.
Overview
Rise supports the following payment-related webhook events:
payment.group.created
Payment group created with multiple payments
payment.sent
Individual payment processed and sent
payment.failed
Payment transaction failed on-chain
payment.group.created
When a payment group is created, this event is triggered. A payment group represents a collection of payments that are processed together as a single batch.
Field reference
string
required
The type of object this webhook represents (always “event”)
number
required
The Unix timestamp when the event was created
string
required
The type of event that occurred
string
required
The version of the event schema
string
A unique identifier for the API request that triggered this event (optional)
string
required
Primary identifier for the webhook event and a unique key to ensure it is processed only once
Hide payment_group
string
required
Primary key of the payment group (nanoid)
string
required
Identifier of the payment group on the blockchain
string
required
ISO-8601 timestamp when the payment group was created
string
required
ISO-8601 timestamp when the payment group was last updated
string
Type of invoice (e.g., “time_entry”, “flat”, “recurring”)
string
Description of the work or service being paid for
string
Role or position description for the work
string
Currency code for the payment (e.g., “USD”, “EUR”)
array
required
Array of individual payments within this group
Hide payments[]
string
required
Primary key of the payment (nanoid)
string
required
Identifier of the payment on the blockchain
string
required
On-chain group ID that this payment belongs to
string
required
Reference to the associated invoice nanoid
string
Transaction nanoid of the blockchain tx that created the payment
string
Transaction nanoid of the blockchain tx that processed the payment
string
required
ISO-8601 timestamp when the payment row was created
string
required
ISO-8601 timestamp when the payment row was last updated
string
required
Unix timestamp (seconds) when the payment becomes executable
string
required
Numeric enum value describing the on-chain payment type
object
required
Token information for this payment
Show token
string
required
ERC-20 token contract address
string
required
Token name (e.g., “USD Coin”)
string
required
Token symbol (e.g., “USDC”)
number
required
Number of decimal places for the token
array
required
Array of payment recipients
Show recipients[]
string
required
Primary key of the recipient (nanoid)
string
required
Email address of the recipient
string
required
Name of the recipient
string
required
The type of entity (user, team, company)
string
required
Blockchain wallet address of the recipient (payee).
string
required
Blockchain wallet address of the paying team account.
string
required
Payment amount in the token smallest units
number
required
The payment amount in cents (USD equivalent)
string | null
Your own reference for this payment, as sent in to[].external_id. Null when none was set.
payment.sent
When an individual payment is processed and sent, this event is triggered. This occurs after a payment has been successfully executed on the blockchain.
Field reference
string
required
The type of object this webhook represents (always “event”)
number
required
The Unix timestamp when the event was created
string
required
The type of event that occurred
string
required
The version of the event schema
string
A unique identifier for the API request that triggered this event (optional)
string
required
A unique key to ensure the webhook is processed only once
object
required
Payment information and details
Hide payment
string
required
Primary key of the payment (nanoid)
string
required
Identifier of the payment on the blockchain
string
required
On-chain group ID that this payment belongs to
string
required
Reference to the associated invoice nanoid
string
Transaction nanoid of the blockchain tx that created the payment
string
Transaction nanoid of the blockchain tx that processed the payment
string
required
ISO-8601 timestamp when the payment row was created
string
required
ISO-8601 timestamp when the payment row was last updated
string
required
Unix timestamp (seconds) when the payment becomes executable
string
required
Numeric enum value describing the on-chain payment type
object
required
Token information for this payment
Show token
string
required
ERC-20 token contract address
string
required
Token name (e.g., “USD Coin”)
string
required
Token symbol (e.g., “USDC”)
number
required
Number of decimal places for the token
array
required
Array of payment recipients
Show recipients[]
string
required
Primary key of the recipient (nanoid)
string
required
Email address of the recipient
string
required
Name of the recipient
string
required
The type of entity (user, team, company)
string
required
Blockchain wallet address of the recipient (payee).
string
required
Blockchain wallet address of the paying team account.
string
required
Payment amount in the token smallest units
number
required
Payment amount in cents (USD equivalent)
string
Type of invoice (e.g., “time_entry”, “flat”, “recurring”)
string
Description of the work or service being paid for
string
Role or position description for the work
string
Currency code for the payment (e.g., “USD”, “EUR”)
string | null
Your own reference for this payment, as sent in to[].external_id. Null when none was set.
object
required
Information about the payment group this payment belongs to
Show payment_group
string
required
Primary key of the payment group (nanoid)
string
required
Identifier of the payment group on the blockchain
string
required
ISO-8601 timestamp when the payment group was created
string
required
ISO-8601 timestamp when the payment group was last updated
payment.failed
Triggered when a submitted payment transaction fails on-chain (for example, it reverts). The payment is never created on-chain, so it does not appear in GET /v2/payments. Requests rejected by validation return an error from the API call itself and do not trigger this event.
Field reference
string
required
The type of object this webhook represents (always “event”)
number
required
The Unix timestamp when the event was created
string
required
The type of event that occurred
string
required
The version of the event schema
string
Nanoid of the failed transaction
string
required
A unique key to ensure the webhook is processed only once
object
required
Details of the failed payment
Hide payment
string
required
Nanoid of the failed blockchain transaction. Matches the transaction returned by PUT /v2/payments
string
Primary key of the payment (nanoid), when resolvable
Payment lifecycle: Payment groups are created first (triggering payment.group.created), then individual payments within the group are processed and sent (triggering payment.sent for each).
Processing order: Always handle payment.group.created before individual payment.sent events, as the group must exist before payments can be processed.
Tracking outcomes: Use payment.sent and payment.failed as the primary signals for a payment’s outcome, and match them to the transaction returned by PUT /v2/payments. GET /v2/payments only lists payments that exist on-chain, so it can confirm success but cannot distinguish a pending payment from a failed one. A Removed state means the payer cancelled the payment; it is not a failure.
Idempotency: Use the idempotency_key field to ensure your webhook handlers don’t process the same payment multiple times.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rise API","description":"Global payroll for the modern workforce. Streamline payments to contractors and full-time employees around the globe with Rise's blockchain-first platform.","colors":{"primary":"#5e59ec","light":"#7c7aed","dark":"#4a46d9"},"logo":{"light":"https://cdn.prod.website-files.com/624f0c4263953ffe82f4e446/68092904f1a7fae9edc78b9b_RiseLogo.webp","dark":"https://cdn.prod.website-files.com/624f0c4263953ffe82f4e446/68092904f1a7fae9edc78b9b_RiseLogo.webp"},"favicon":"https://mintcdn.com/rise-067e2e54/psAvNyU-MYJCo5ek/favicon.svg?fit=max\u0026auto=format\u0026n=psAvNyU-MYJCo5ek\u0026q=85\u0026s=197e4f68fed11fd77a3075c2f55d7795","api":{"playground":{"display":"interactive"}},"navbar":{"links":[{"href":"mailto:hello@riseworks.io","label":"Support"},{"href":"https://status.riseworks.io","label":"Status"},{"href":"https://www.riseworks.io","label":"Website"},{"href":"https://www.riseworks.io/blog","label":"Blog"},{"href":"https://trust.riseworks.io","label":"Trust"}],"primary":{"type":"button","label":"Get Started","href":"https://app.rise.works"}},"footer":{"socials":{"x":"https://x.com/riseworks","github":"https://github.com/riseworks","linkedin":"https://linkedin.com/company/riseworks"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rise-067e2e54","hasAudioNarration":false,"actualSubdomain":"rise-067e2e54","customDomains":["docs.riseworks.io"],"gitSource":{"type":"github","owner":"riseworks","repo":"b2b-integration-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aff1642ca43cd02480339c1","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":35},{"language":"default","tag":"Webhooks","count":24},{"language":"default","tag":"V1 Legacy API Reference","count":17},{"language":"default","tag":"Teams","count":14},{"language":"default","tag":"Core Concepts","count":13},{"language":"default","tag":"Get Started","count":10},{"language":"default","tag":"Getting Started","count":10},{"language":"default","tag":"Payments","count":9},{"language":"default","tag":"Authentication","count":8},{"language":"default","tag":"Platform Concepts","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"webhooks/events/payment","slug":"/webhooks/events/payment","pageMetadata":{"title":"Payment Events","description":"Webhook events related to payment processing and execution","href":"/webhooks/events/payment"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Webhook events related to payment processing and execution\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Card,CardGroup,Expandable,Heading,Info,ParamField,Tip,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Payment events are triggered during various stages of the payment lifecycle, from group creation to individual payment completion. These events provide real-time updates about payment status and execution details.`}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Rise supports the following payment-related webhook events:`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`payment.group.created`,icon:`layer-group`,href:`#payment-group-created`,children:_jsx(_components.p,{children:`Payment group created with multiple payments`})}),_jsx(Card,{title:`payment.sent`,icon:`paper-plane`,href:`#payment-sent`,children:_jsx(_components.p,{children:`Individual payment processed and sent`})}),_jsx(Card,{title:`payment.failed`,icon:`circle-xmark`,href:`#payment-failed`,children:_jsx(_components.p,{children:`Payment transaction failed on-chain`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`payment-group-created`,children:`payment.group.created`}),`\n`,_jsx(_components.p,{children:`When a payment group is created, this event is triggered. A payment group represents a collection of payments that are processed together as a single batch.`}),`\n`,_jsx(Heading,{level:`3`,id:`field-reference`,children:`Field reference`}),`\n`,_jsx(ParamField,{path:`object`,type:`string`,required:true,id:`param-object`,children:_jsx(_components.p,{children:`The type of object this webhook represents (always “event”)`})}),`\n`,_jsx(ParamField,{path:`created`,type:`number`,required:true,id:`param-created`,children:_jsx(_components.p,{children:`The Unix timestamp when the event was created`})}),`\n`,_jsx(ParamField,{path:`event_type`,type:`string`,required:true,id:`param-event-type`,children:_jsx(_components.p,{children:`The type of event that occurred`})}),`\n`,_jsx(ParamField,{path:`event_version`,type:`string`,required:true,id:`param-event-version`,children:_jsx(_components.p,{children:`The version of the event schema`})}),`\n`,_jsx(ParamField,{path:`request_id`,type:`string`,id:`param-request-id`,children:_jsx(_components.p,{children:`A unique identifier for the API request that triggered this event (optional)`})}),`\n`,_jsx(ParamField,{path:`idempotency_key`,type:`string`,required:true,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Primary identifier for the webhook event and a unique key to ensure it is processed only once`})}),`\n`,_jsxs(Expandable,{title:`payment_group`,defaultOpen:true,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid`,children:_jsx(_components.p,{children:`Primary key of the payment group (nanoid)`})}),_jsx(ParamField,{path:`onchain_id`,type:`string`,required:true,id:`param-onchain-id`,children:_jsx(_components.p,{children:`Identifier of the payment group on the blockchain`})}),_jsx(ParamField,{path:`created_at`,type:`string`,required:true,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment group was created`})}),_jsx(ParamField,{path:`updated_at`,type:`string`,required:true,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment group was last updated`})}),_jsx(ParamField,{path:`invoice_type`,type:`string`,id:`param-invoice-type`,children:_jsx(_components.p,{children:`Type of invoice (e.g., “time_entry”, “flat”, “recurring”)`})}),_jsx(ParamField,{path:`invoice_description`,type:`string`,id:`param-invoice-description`,children:_jsx(_components.p,{children:`Description of the work or service being paid for`})}),_jsx(ParamField,{path:`role_description`,type:`string`,id:`param-role-description`,children:_jsx(_components.p,{children:`Role or position description for the work`})}),_jsx(ParamField,{path:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`Currency code for the payment (e.g., “USD”, “EUR”)`})}),_jsx(ParamField,{path:`payments`,type:`array`,required:true,id:`param-payments`,children:_jsx(_components.p,{children:`Array of individual payments within this group`})}),_jsxs(Expandable,{title:`payments[]`,defaultOpen:true,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid-1`,children:_jsx(_components.p,{children:`Primary key of the payment (nanoid)`})}),_jsx(ParamField,{path:`onchain_id`,type:`string`,required:true,id:`param-onchain-id-1`,children:_jsx(_components.p,{children:`Identifier of the payment on the blockchain`})}),_jsx(ParamField,{path:`group_onchain_id`,type:`string`,required:true,id:`param-group-onchain-id`,children:_jsx(_components.p,{children:`On-chain group ID that this payment belongs to`})}),_jsx(ParamField,{path:`invoice_nanoid`,type:`string`,required:true,id:`param-invoice-nanoid`,children:_jsx(_components.p,{children:`Reference to the associated invoice nanoid`})}),_jsx(ParamField,{path:`creation_transaction`,type:`string`,id:`param-creation-transaction`,children:_jsx(_components.p,{children:`Transaction nanoid of the blockchain tx that created the payment`})}),_jsx(ParamField,{path:`process_transaction`,type:`string`,id:`param-process-transaction`,children:_jsx(_components.p,{children:`Transaction nanoid of the blockchain tx that processed the payment`})}),_jsx(ParamField,{path:`created_at`,type:`string`,required:true,id:`param-created-at-1`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment row was created`})}),_jsx(ParamField,{path:`updated_at`,type:`string`,required:true,id:`param-updated-at-1`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment row was last updated`})}),_jsx(ParamField,{path:`pay_at_time`,type:`string`,required:true,id:`param-pay-at-time`,children:_jsx(_components.p,{children:`Unix timestamp (seconds) when the payment becomes executable`})}),_jsx(ParamField,{path:`pay_type`,type:`string`,required:true,id:`param-pay-type`,children:_jsx(_components.p,{children:`Numeric enum value describing the on-chain payment type`})}),_jsx(ParamField,{path:`token`,type:`object`,required:true,id:`param-token`,children:_jsx(_components.p,{children:`Token information for this payment`})}),_jsxs(Expandable,{title:`token`,children:[_jsx(ParamField,{path:`address`,type:`string`,required:true,id:`param-address`,children:_jsx(_components.p,{children:`ERC-20 token contract address`})}),_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Token name (e.g., “USD Coin”)`})}),_jsx(ParamField,{path:`symbol`,type:`string`,required:true,id:`param-symbol`,children:_jsx(_components.p,{children:`Token symbol (e.g., “USDC”)`})}),_jsx(ParamField,{path:`decimals`,type:`number`,required:true,id:`param-decimals`,children:_jsx(_components.p,{children:`Number of decimal places for the token`})})]}),_jsx(ParamField,{path:`recipients`,type:`array`,required:true,id:`param-recipients`,children:_jsx(_components.p,{children:`Array of payment recipients`})}),_jsxs(Expandable,{title:`recipients[]`,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid-2`,children:_jsx(_components.p,{children:`Primary key of the recipient (nanoid)`})}),_jsx(ParamField,{path:`email`,type:`string`,required:true,id:`param-email`,children:_jsx(_components.p,{children:`Email address of the recipient`})}),_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Name of the recipient`})}),_jsx(ParamField,{path:`entity_type`,type:`string`,required:true,id:`param-entity-type`,children:_jsx(_components.p,{children:`The type of entity (user, team, company)`})}),_jsx(ParamField,{path:`recipient_address`,type:`string`,required:true,id:`param-recipient-address`,children:_jsx(_components.p,{children:`Blockchain wallet address of the recipient (payee).`})})]}),_jsx(ParamField,{path:`payer_address`,type:`string`,required:true,id:`param-payer-address`,children:_jsx(_components.p,{children:`Blockchain wallet address of the paying team account.`})}),_jsx(ParamField,{path:`amount`,type:`string`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Payment amount in the token smallest units`})}),_jsx(ParamField,{path:`amount_cents`,type:`number`,required:true,id:`param-amount-cents`,children:_jsx(_components.p,{children:`The payment amount in cents (USD equivalent)`})}),_jsx(ParamField,{path:`external_id`,type:`string | null`,id:`param-external-id`,children:_jsxs(_components.p,{children:[`Your own reference for this payment, as sent in `,_jsx(_components.code,{children:`to[].external_id`}),`. Null when none was set.`]})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`payment-sent`,children:`payment.sent`}),`\n`,_jsx(_components.p,{children:`When an individual payment is processed and sent, this event is triggered. This occurs after a payment has been successfully executed on the blockchain.`}),`\n`,_jsx(Heading,{level:`3`,id:`field-reference-2`,children:`Field reference`}),`\n`,_jsx(ParamField,{path:`object`,type:`string`,required:true,id:`param-object-1`,children:_jsx(_components.p,{children:`The type of object this webhook represents (always “event”)`})}),`\n`,_jsx(ParamField,{path:`created`,type:`number`,required:true,id:`param-created-1`,children:_jsx(_components.p,{children:`The Unix timestamp when the event was created`})}),`\n`,_jsx(ParamField,{path:`event_type`,type:`string`,required:true,id:`param-event-type-1`,children:_jsx(_components.p,{children:`The type of event that occurred`})}),`\n`,_jsx(ParamField,{path:`event_version`,type:`string`,required:true,id:`param-event-version-1`,children:_jsx(_components.p,{children:`The version of the event schema`})}),`\n`,_jsx(ParamField,{path:`request_id`,type:`string`,id:`param-request-id-1`,children:_jsx(_components.p,{children:`A unique identifier for the API request that triggered this event (optional)`})}),`\n`,_jsx(ParamField,{path:`idempotency_key`,type:`string`,required:true,id:`param-idempotency-key-1`,children:_jsx(_components.p,{children:`A unique key to ensure the webhook is processed only once`})}),`\n`,_jsx(ParamField,{path:`payment`,type:`object`,required:true,id:`param-payment`,children:_jsx(_components.p,{children:`Payment information and details`})}),`\n`,_jsxs(Expandable,{title:`payment`,defaultOpen:true,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid-3`,children:_jsx(_components.p,{children:`Primary key of the payment (nanoid)`})}),_jsx(ParamField,{path:`onchain_id`,type:`string`,required:true,id:`param-onchain-id-2`,children:_jsx(_components.p,{children:`Identifier of the payment on the blockchain`})}),_jsx(ParamField,{path:`group_onchain_id`,type:`string`,required:true,id:`param-group-onchain-id-1`,children:_jsx(_components.p,{children:`On-chain group ID that this payment belongs to`})}),_jsx(ParamField,{path:`invoice_nanoid`,type:`string`,required:true,id:`param-invoice-nanoid-1`,children:_jsx(_components.p,{children:`Reference to the associated invoice nanoid`})}),_jsx(ParamField,{path:`creation_transaction`,type:`string`,id:`param-creation-transaction-1`,children:_jsx(_components.p,{children:`Transaction nanoid of the blockchain tx that created the payment`})}),_jsx(ParamField,{path:`process_transaction`,type:`string`,id:`param-process-transaction-1`,children:_jsx(_components.p,{children:`Transaction nanoid of the blockchain tx that processed the payment`})}),_jsx(ParamField,{path:`created_at`,type:`string`,required:true,id:`param-created-at-2`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment row was created`})}),_jsx(ParamField,{path:`updated_at`,type:`string`,required:true,id:`param-updated-at-2`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment row was last updated`})}),_jsx(ParamField,{path:`pay_at_time`,type:`string`,required:true,id:`param-pay-at-time-1`,children:_jsx(_components.p,{children:`Unix timestamp (seconds) when the payment becomes executable`})}),_jsx(ParamField,{path:`pay_type`,type:`string`,required:true,id:`param-pay-type-1`,children:_jsx(_components.p,{children:`Numeric enum value describing the on-chain payment type`})}),_jsx(ParamField,{path:`token`,type:`object`,required:true,id:`param-token-1`,children:_jsx(_components.p,{children:`Token information for this payment`})}),_jsxs(Expandable,{title:`token`,children:[_jsx(ParamField,{path:`address`,type:`string`,required:true,id:`param-address-1`,children:_jsx(_components.p,{children:`ERC-20 token contract address`})}),_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`Token name (e.g., “USD Coin”)`})}),_jsx(ParamField,{path:`symbol`,type:`string`,required:true,id:`param-symbol-1`,children:_jsx(_components.p,{children:`Token symbol (e.g., “USDC”)`})}),_jsx(ParamField,{path:`decimals`,type:`number`,required:true,id:`param-decimals-1`,children:_jsx(_components.p,{children:`Number of decimal places for the token`})})]}),_jsx(ParamField,{path:`recipients`,type:`array`,required:true,id:`param-recipients-1`,children:_jsx(_components.p,{children:`Array of payment recipients`})}),_jsxs(Expandable,{title:`recipients[]`,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid-4`,children:_jsx(_components.p,{children:`Primary key of the recipient (nanoid)`})}),_jsx(ParamField,{path:`email`,type:`string`,required:true,id:`param-email-1`,children:_jsx(_components.p,{children:`Email address of the recipient`})}),_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name-3`,children:_jsx(_components.p,{children:`Name of the recipient`})}),_jsx(ParamField,{path:`entity_type`,type:`string`,required:true,id:`param-entity-type-1`,children:_jsx(_components.p,{children:`The type of entity (user, team, company)`})}),_jsx(ParamField,{path:`recipient_address`,type:`string`,required:true,id:`param-recipient-address-1`,children:_jsx(_components.p,{children:`Blockchain wallet address of the recipient (payee).`})})]}),_jsx(ParamField,{path:`payer_address`,type:`string`,required:true,id:`param-payer-address-1`,children:_jsx(_components.p,{children:`Blockchain wallet address of the paying team account.`})}),_jsx(ParamField,{path:`amount`,type:`string`,required:true,id:`param-amount-1`,children:_jsx(_components.p,{children:`Payment amount in the token smallest units`})}),_jsx(ParamField,{path:`amount_cents`,type:`number`,required:true,id:`param-amount-cents-1`,children:_jsx(_components.p,{children:`Payment amount in cents (USD equivalent)`})}),_jsx(ParamField,{path:`invoice_type`,type:`string`,id:`param-invoice-type-1`,children:_jsx(_components.p,{children:`Type of invoice (e.g., “time_entry”, “flat”, “recurring”)`})}),_jsx(ParamField,{path:`invoice_description`,type:`string`,id:`param-invoice-description-1`,children:_jsx(_components.p,{children:`Description of the work or service being paid for`})}),_jsx(ParamField,{path:`role_description`,type:`string`,id:`param-role-description-1`,children:_jsx(_components.p,{children:`Role or position description for the work`})}),_jsx(ParamField,{path:`currency`,type:`string`,id:`param-currency-1`,children:_jsx(_components.p,{children:`Currency code for the payment (e.g., “USD”, “EUR”)`})}),_jsx(ParamField,{path:`external_id`,type:`string | null`,id:`param-external-id-1`,children:_jsxs(_components.p,{children:[`Your own reference for this payment, as sent in `,_jsx(_components.code,{children:`to[].external_id`}),`. Null when none was set.`]})}),_jsx(ParamField,{path:`payment_group`,type:`object`,required:true,id:`param-payment-group`,children:_jsx(_components.p,{children:`Information about the payment group this payment belongs to`})}),_jsxs(Expandable,{title:`payment_group`,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid-5`,children:_jsx(_components.p,{children:`Primary key of the payment group (nanoid)`})}),_jsx(ParamField,{path:`onchain_id`,type:`string`,required:true,id:`param-onchain-id-3`,children:_jsx(_components.p,{children:`Identifier of the payment group on the blockchain`})}),_jsx(ParamField,{path:`created_at`,type:`string`,required:true,id:`param-created-at-3`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment group was created`})}),_jsx(ParamField,{path:`updated_at`,type:`string`,required:true,id:`param-updated-at-3`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment group was last updated`})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`payment-failed`,children:`payment.failed`}),`\n`,_jsxs(_components.p,{children:[`Triggered when a submitted payment transaction fails on-chain (for example, it reverts). The payment is never created on-chain, so it does not appear in `,_jsx(_components.code,{children:`GET /v2/payments`}),`. Requests rejected by validation return an error from the API call itself and do not trigger this event.`]}),`\n`,_jsx(Heading,{level:`3`,id:`field-reference-3`,children:`Field reference`}),`\n`,_jsx(ParamField,{path:`object`,type:`string`,required:true,id:`param-object-2`,children:_jsx(_components.p,{children:`The type of object this webhook represents (always “event”)`})}),`\n`,_jsx(ParamField,{path:`created`,type:`number`,required:true,id:`param-created-2`,children:_jsx(_components.p,{children:`The Unix timestamp when the event was created`})}),`\n`,_jsx(ParamField,{path:`event_type`,type:`string`,required:true,id:`param-event-type-2`,children:_jsx(_components.p,{children:`The type of event that occurred`})}),`\n`,_jsx(ParamField,{path:`event_version`,type:`string`,required:true,id:`param-event-version-2`,children:_jsx(_components.p,{children:`The version of the event schema`})}),`\n`,_jsx(ParamField,{path:`request_id`,type:`string`,id:`param-request-id-2`,children:_jsx(_components.p,{children:`Nanoid of the failed transaction`})}),`\n`,_jsx(ParamField,{path:`idempotency_key`,type:`string`,required:true,id:`param-idempotency-key-2`,children:_jsx(_components.p,{children:`A unique key to ensure the webhook is processed only once`})}),`\n`,_jsx(ParamField,{path:`payment`,type:`object`,required:true,id:`param-payment-1`,children:_jsx(_components.p,{children:`Details of the failed payment`})}),`\n`,_jsxs(Expandable,{title:`payment`,defaultOpen:true,children:[_jsx(ParamField,{path:`tx_nanoid`,type:`string`,required:true,id:`param-tx-nanoid`,children:_jsxs(_components.p,{children:[`Nanoid of the failed blockchain transaction. Matches the `,_jsx(_components.code,{children:`transaction`}),` returned by `,_jsx(_components.code,{children:`PUT /v2/payments`})]})}),_jsx(ParamField,{path:`payment_nanoid`,type:`string`,id:`param-payment-nanoid`,children:_jsx(_components.p,{children:`Primary key of the payment (nanoid), when resolvable`})}),_jsx(ParamField,{path:`recipient_nanoid`,type:`string`,id:`param-recipient-nanoid`,children:_jsx(_components.p,{children:`Nanoid of the payment recipient (payee)`})}),_jsx(ParamField,{path:`recipient_name`,type:`string`,id:`param-recipient-name`,children:_jsx(_components.p,{children:`Display name of the payment recipient`})}),_jsx(ParamField,{path:`payer_nanoid`,type:`string`,required:true,id:`param-payer-nanoid`,children:_jsx(_components.p,{children:`Nanoid of the paying team (payer)`})}),_jsx(ParamField,{path:`payer_name`,type:`string`,id:`param-payer-name`,children:_jsx(_components.p,{children:`Display name of the payer team`})}),_jsx(ParamField,{path:`amount_cents`,type:`number`,required:true,id:`param-amount-cents-2`,children:_jsx(_components.p,{children:`Payment amount in cents (USD equivalent)`})}),_jsx(ParamField,{path:`currency`,type:`string`,id:`param-currency-2`,children:_jsx(_components.p,{children:`Currency code of the payment`})}),_jsx(ParamField,{path:`error_message`,type:`string`,required:true,id:`param-error-message`,children:_jsx(_components.p,{children:`Failure reason reported for the transaction`})}),_jsx(ParamField,{path:`failed_at`,type:`string`,required:true,id:`param-failed-at`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the failure was processed`})})]}),`\n`,`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`implementation-notes`,children:`Implementation Notes`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Payment lifecycle`}),`: Payment groups are created first (triggering `,_jsx(_components.code,{children:`payment.group.created`}),`), then individual payments within the group are processed and sent (triggering `,_jsx(_components.code,{children:`payment.sent`}),` for each).`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Processing order`}),`: Always handle `,_jsx(_components.code,{children:`payment.group.created`}),` before individual `,_jsx(_components.code,{children:`payment.sent`}),` events, as the group must exist before payments can be processed.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Tracking outcomes`}),`: Use `,_jsx(_components.code,{children:`payment.sent`}),` and `,_jsx(_components.code,{children:`payment.failed`}),` as the primary signals for a payment’s outcome, and match them to the `,_jsx(_components.code,{children:`transaction`}),` returned by `,_jsx(_components.code,{children:`PUT /v2/payments`}),`. `,_jsx(_components.code,{children:`GET /v2/payments`}),` only lists payments that exist on-chain, so it can confirm success but cannot distinguish a pending payment from a failed one. A `,_jsx(_components.code,{children:`Removed`}),` state means the payer cancelled the payment; it is not a failure.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Idempotency`}),`: Use the `,_jsx(_components.code,{children:`idempotency_key`}),` field to ensure your webhook handlers don’t process the same payment multiple times.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Payment Events","description":"Webhook events related to payment processing and execution","href":"/webhooks/events/payment"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Expandable,Heading,Info,ParamField,RequestExample,Tip,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Payment events are triggered during various stages of the payment lifecycle, from group creation to individual payment completion. These events provide real-time updates about payment status and execution details.`}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Rise supports the following payment-related webhook events:`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`payment.group.created`,icon:`layer-group`,href:`#payment-group-created`,children:_jsx(_components.p,{children:`Payment group created with multiple payments`})}),_jsx(Card,{title:`payment.sent`,icon:`paper-plane`,href:`#payment-sent`,children:_jsx(_components.p,{children:`Individual payment processed and sent`})}),_jsx(Card,{title:`payment.failed`,icon:`circle-xmark`,href:`#payment-failed`,children:_jsx(_components.p,{children:`Payment transaction failed on-chain`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`payment-group-created`,children:`payment.group.created`}),`\n`,_jsx(_components.p,{children:`When a payment group is created, this event is triggered. A payment group represents a collection of payments that are processed together as a single batch.`}),`\n`,_jsx(Heading,{level:`3`,id:`field-reference`,children:`Field reference`}),`\n`,_jsx(ParamField,{path:`object`,type:`string`,required:true,id:`param-object`,children:_jsx(_components.p,{children:`The type of object this webhook represents (always “event”)`})}),`\n`,_jsx(ParamField,{path:`created`,type:`number`,required:true,id:`param-created`,children:_jsx(_components.p,{children:`The Unix timestamp when the event was created`})}),`\n`,_jsx(ParamField,{path:`event_type`,type:`string`,required:true,id:`param-event-type`,children:_jsx(_components.p,{children:`The type of event that occurred`})}),`\n`,_jsx(ParamField,{path:`event_version`,type:`string`,required:true,id:`param-event-version`,children:_jsx(_components.p,{children:`The version of the event schema`})}),`\n`,_jsx(ParamField,{path:`request_id`,type:`string`,id:`param-request-id`,children:_jsx(_components.p,{children:`A unique identifier for the API request that triggered this event (optional)`})}),`\n`,_jsx(ParamField,{path:`idempotency_key`,type:`string`,required:true,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Primary identifier for the webhook event and a unique key to ensure it is processed only once`})}),`\n`,_jsxs(Expandable,{title:`payment_group`,defaultOpen:true,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid`,children:_jsx(_components.p,{children:`Primary key of the payment group (nanoid)`})}),_jsx(ParamField,{path:`onchain_id`,type:`string`,required:true,id:`param-onchain-id`,children:_jsx(_components.p,{children:`Identifier of the payment group on the blockchain`})}),_jsx(ParamField,{path:`created_at`,type:`string`,required:true,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment group was created`})}),_jsx(ParamField,{path:`updated_at`,type:`string`,required:true,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment group was last updated`})}),_jsx(ParamField,{path:`invoice_type`,type:`string`,id:`param-invoice-type`,children:_jsx(_components.p,{children:`Type of invoice (e.g., “time_entry”, “flat”, “recurring”)`})}),_jsx(ParamField,{path:`invoice_description`,type:`string`,id:`param-invoice-description`,children:_jsx(_components.p,{children:`Description of the work or service being paid for`})}),_jsx(ParamField,{path:`role_description`,type:`string`,id:`param-role-description`,children:_jsx(_components.p,{children:`Role or position description for the work`})}),_jsx(ParamField,{path:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`Currency code for the payment (e.g., “USD”, “EUR”)`})}),_jsx(ParamField,{path:`payments`,type:`array`,required:true,id:`param-payments`,children:_jsx(_components.p,{children:`Array of individual payments within this group`})}),_jsxs(Expandable,{title:`payments[]`,defaultOpen:true,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid-1`,children:_jsx(_components.p,{children:`Primary key of the payment (nanoid)`})}),_jsx(ParamField,{path:`onchain_id`,type:`string`,required:true,id:`param-onchain-id-1`,children:_jsx(_components.p,{children:`Identifier of the payment on the blockchain`})}),_jsx(ParamField,{path:`group_onchain_id`,type:`string`,required:true,id:`param-group-onchain-id`,children:_jsx(_components.p,{children:`On-chain group ID that this payment belongs to`})}),_jsx(ParamField,{path:`invoice_nanoid`,type:`string`,required:true,id:`param-invoice-nanoid`,children:_jsx(_components.p,{children:`Reference to the associated invoice nanoid`})}),_jsx(ParamField,{path:`creation_transaction`,type:`string`,id:`param-creation-transaction`,children:_jsx(_components.p,{children:`Transaction nanoid of the blockchain tx that created the payment`})}),_jsx(ParamField,{path:`process_transaction`,type:`string`,id:`param-process-transaction`,children:_jsx(_components.p,{children:`Transaction nanoid of the blockchain tx that processed the payment`})}),_jsx(ParamField,{path:`created_at`,type:`string`,required:true,id:`param-created-at-1`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment row was created`})}),_jsx(ParamField,{path:`updated_at`,type:`string`,required:true,id:`param-updated-at-1`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment row was last updated`})}),_jsx(ParamField,{path:`pay_at_time`,type:`string`,required:true,id:`param-pay-at-time`,children:_jsx(_components.p,{children:`Unix timestamp (seconds) when the payment becomes executable`})}),_jsx(ParamField,{path:`pay_type`,type:`string`,required:true,id:`param-pay-type`,children:_jsx(_components.p,{children:`Numeric enum value describing the on-chain payment type`})}),_jsx(ParamField,{path:`token`,type:`object`,required:true,id:`param-token`,children:_jsx(_components.p,{children:`Token information for this payment`})}),_jsxs(Expandable,{title:`token`,children:[_jsx(ParamField,{path:`address`,type:`string`,required:true,id:`param-address`,children:_jsx(_components.p,{children:`ERC-20 token contract address`})}),_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Token name (e.g., “USD Coin”)`})}),_jsx(ParamField,{path:`symbol`,type:`string`,required:true,id:`param-symbol`,children:_jsx(_components.p,{children:`Token symbol (e.g., “USDC”)`})}),_jsx(ParamField,{path:`decimals`,type:`number`,required:true,id:`param-decimals`,children:_jsx(_components.p,{children:`Number of decimal places for the token`})})]}),_jsx(ParamField,{path:`recipients`,type:`array`,required:true,id:`param-recipients`,children:_jsx(_components.p,{children:`Array of payment recipients`})}),_jsxs(Expandable,{title:`recipients[]`,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid-2`,children:_jsx(_components.p,{children:`Primary key of the recipient (nanoid)`})}),_jsx(ParamField,{path:`email`,type:`string`,required:true,id:`param-email`,children:_jsx(_components.p,{children:`Email address of the recipient`})}),_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Name of the recipient`})}),_jsx(ParamField,{path:`entity_type`,type:`string`,required:true,id:`param-entity-type`,children:_jsx(_components.p,{children:`The type of entity (user, team, company)`})}),_jsx(ParamField,{path:`recipient_address`,type:`string`,required:true,id:`param-recipient-address`,children:_jsx(_components.p,{children:`Blockchain wallet address of the recipient (payee).`})})]}),_jsx(ParamField,{path:`payer_address`,type:`string`,required:true,id:`param-payer-address`,children:_jsx(_components.p,{children:`Blockchain wallet address of the paying team account.`})}),_jsx(ParamField,{path:`amount`,type:`string`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Payment amount in the token smallest units`})}),_jsx(ParamField,{path:`amount_cents`,type:`number`,required:true,id:`param-amount-cents`,children:_jsx(_components.p,{children:`The payment amount in cents (USD equivalent)`})}),_jsx(ParamField,{path:`external_id`,type:`string | null`,id:`param-external-id`,children:_jsxs(_components.p,{children:[`Your own reference for this payment, as sent in `,_jsx(_components.code,{children:`to[].external_id`}),`. Null when none was set.`]})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`payment-sent`,children:`payment.sent`}),`\n`,_jsx(_components.p,{children:`When an individual payment is processed and sent, this event is triggered. This occurs after a payment has been successfully executed on the blockchain.`}),`\n`,_jsx(Heading,{level:`3`,id:`field-reference-2`,children:`Field reference`}),`\n`,_jsx(ParamField,{path:`object`,type:`string`,required:true,id:`param-object-1`,children:_jsx(_components.p,{children:`The type of object this webhook represents (always “event”)`})}),`\n`,_jsx(ParamField,{path:`created`,type:`number`,required:true,id:`param-created-1`,children:_jsx(_components.p,{children:`The Unix timestamp when the event was created`})}),`\n`,_jsx(ParamField,{path:`event_type`,type:`string`,required:true,id:`param-event-type-1`,children:_jsx(_components.p,{children:`The type of event that occurred`})}),`\n`,_jsx(ParamField,{path:`event_version`,type:`string`,required:true,id:`param-event-version-1`,children:_jsx(_components.p,{children:`The version of the event schema`})}),`\n`,_jsx(ParamField,{path:`request_id`,type:`string`,id:`param-request-id-1`,children:_jsx(_components.p,{children:`A unique identifier for the API request that triggered this event (optional)`})}),`\n`,_jsx(ParamField,{path:`idempotency_key`,type:`string`,required:true,id:`param-idempotency-key-1`,children:_jsx(_components.p,{children:`A unique key to ensure the webhook is processed only once`})}),`\n`,_jsx(ParamField,{path:`payment`,type:`object`,required:true,id:`param-payment`,children:_jsx(_components.p,{children:`Payment information and details`})}),`\n`,_jsxs(Expandable,{title:`payment`,defaultOpen:true,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid-3`,children:_jsx(_components.p,{children:`Primary key of the payment (nanoid)`})}),_jsx(ParamField,{path:`onchain_id`,type:`string`,required:true,id:`param-onchain-id-2`,children:_jsx(_components.p,{children:`Identifier of the payment on the blockchain`})}),_jsx(ParamField,{path:`group_onchain_id`,type:`string`,required:true,id:`param-group-onchain-id-1`,children:_jsx(_components.p,{children:`On-chain group ID that this payment belongs to`})}),_jsx(ParamField,{path:`invoice_nanoid`,type:`string`,required:true,id:`param-invoice-nanoid-1`,children:_jsx(_components.p,{children:`Reference to the associated invoice nanoid`})}),_jsx(ParamField,{path:`creation_transaction`,type:`string`,id:`param-creation-transaction-1`,children:_jsx(_components.p,{children:`Transaction nanoid of the blockchain tx that created the payment`})}),_jsx(ParamField,{path:`process_transaction`,type:`string`,id:`param-process-transaction-1`,children:_jsx(_components.p,{children:`Transaction nanoid of the blockchain tx that processed the payment`})}),_jsx(ParamField,{path:`created_at`,type:`string`,required:true,id:`param-created-at-2`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment row was created`})}),_jsx(ParamField,{path:`updated_at`,type:`string`,required:true,id:`param-updated-at-2`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment row was last updated`})}),_jsx(ParamField,{path:`pay_at_time`,type:`string`,required:true,id:`param-pay-at-time-1`,children:_jsx(_components.p,{children:`Unix timestamp (seconds) when the payment becomes executable`})}),_jsx(ParamField,{path:`pay_type`,type:`string`,required:true,id:`param-pay-type-1`,children:_jsx(_components.p,{children:`Numeric enum value describing the on-chain payment type`})}),_jsx(ParamField,{path:`token`,type:`object`,required:true,id:`param-token-1`,children:_jsx(_components.p,{children:`Token information for this payment`})}),_jsxs(Expandable,{title:`token`,children:[_jsx(ParamField,{path:`address`,type:`string`,required:true,id:`param-address-1`,children:_jsx(_components.p,{children:`ERC-20 token contract address`})}),_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`Token name (e.g., “USD Coin”)`})}),_jsx(ParamField,{path:`symbol`,type:`string`,required:true,id:`param-symbol-1`,children:_jsx(_components.p,{children:`Token symbol (e.g., “USDC”)`})}),_jsx(ParamField,{path:`decimals`,type:`number`,required:true,id:`param-decimals-1`,children:_jsx(_components.p,{children:`Number of decimal places for the token`})})]}),_jsx(ParamField,{path:`recipients`,type:`array`,required:true,id:`param-recipients-1`,children:_jsx(_components.p,{children:`Array of payment recipients`})}),_jsxs(Expandable,{title:`recipients[]`,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid-4`,children:_jsx(_components.p,{children:`Primary key of the recipient (nanoid)`})}),_jsx(ParamField,{path:`email`,type:`string`,required:true,id:`param-email-1`,children:_jsx(_components.p,{children:`Email address of the recipient`})}),_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name-3`,children:_jsx(_components.p,{children:`Name of the recipient`})}),_jsx(ParamField,{path:`entity_type`,type:`string`,required:true,id:`param-entity-type-1`,children:_jsx(_components.p,{children:`The type of entity (user, team, company)`})}),_jsx(ParamField,{path:`recipient_address`,type:`string`,required:true,id:`param-recipient-address-1`,children:_jsx(_components.p,{children:`Blockchain wallet address of the recipient (payee).`})})]}),_jsx(ParamField,{path:`payer_address`,type:`string`,required:true,id:`param-payer-address-1`,children:_jsx(_components.p,{children:`Blockchain wallet address of the paying team account.`})}),_jsx(ParamField,{path:`amount`,type:`string`,required:true,id:`param-amount-1`,children:_jsx(_components.p,{children:`Payment amount in the token smallest units`})}),_jsx(ParamField,{path:`amount_cents`,type:`number`,required:true,id:`param-amount-cents-1`,children:_jsx(_components.p,{children:`Payment amount in cents (USD equivalent)`})}),_jsx(ParamField,{path:`invoice_type`,type:`string`,id:`param-invoice-type-1`,children:_jsx(_components.p,{children:`Type of invoice (e.g., “time_entry”, “flat”, “recurring”)`})}),_jsx(ParamField,{path:`invoice_description`,type:`string`,id:`param-invoice-description-1`,children:_jsx(_components.p,{children:`Description of the work or service being paid for`})}),_jsx(ParamField,{path:`role_description`,type:`string`,id:`param-role-description-1`,children:_jsx(_components.p,{children:`Role or position description for the work`})}),_jsx(ParamField,{path:`currency`,type:`string`,id:`param-currency-1`,children:_jsx(_components.p,{children:`Currency code for the payment (e.g., “USD”, “EUR”)`})}),_jsx(ParamField,{path:`external_id`,type:`string | null`,id:`param-external-id-1`,children:_jsxs(_components.p,{children:[`Your own reference for this payment, as sent in `,_jsx(_components.code,{children:`to[].external_id`}),`. Null when none was set.`]})}),_jsx(ParamField,{path:`payment_group`,type:`object`,required:true,id:`param-payment-group`,children:_jsx(_components.p,{children:`Information about the payment group this payment belongs to`})}),_jsxs(Expandable,{title:`payment_group`,children:[_jsx(ParamField,{path:`nanoid`,type:`string`,required:true,id:`param-nanoid-5`,children:_jsx(_components.p,{children:`Primary key of the payment group (nanoid)`})}),_jsx(ParamField,{path:`onchain_id`,type:`string`,required:true,id:`param-onchain-id-3`,children:_jsx(_components.p,{children:`Identifier of the payment group on the blockchain`})}),_jsx(ParamField,{path:`created_at`,type:`string`,required:true,id:`param-created-at-3`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment group was created`})}),_jsx(ParamField,{path:`updated_at`,type:`string`,required:true,id:`param-updated-at-3`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the payment group was last updated`})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`payment-failed`,children:`payment.failed`}),`\n`,_jsxs(_components.p,{children:[`Triggered when a submitted payment transaction fails on-chain (for example, it reverts). The payment is never created on-chain, so it does not appear in `,_jsx(_components.code,{children:`GET /v2/payments`}),`. Requests rejected by validation return an error from the API call itself and do not trigger this event.`]}),`\n`,_jsx(Heading,{level:`3`,id:`field-reference-3`,children:`Field reference`}),`\n`,_jsx(ParamField,{path:`object`,type:`string`,required:true,id:`param-object-2`,children:_jsx(_components.p,{children:`The type of object this webhook represents (always “event”)`})}),`\n`,_jsx(ParamField,{path:`created`,type:`number`,required:true,id:`param-created-2`,children:_jsx(_components.p,{children:`The Unix timestamp when the event was created`})}),`\n`,_jsx(ParamField,{path:`event_type`,type:`string`,required:true,id:`param-event-type-2`,children:_jsx(_components.p,{children:`The type of event that occurred`})}),`\n`,_jsx(ParamField,{path:`event_version`,type:`string`,required:true,id:`param-event-version-2`,children:_jsx(_components.p,{children:`The version of the event schema`})}),`\n`,_jsx(ParamField,{path:`request_id`,type:`string`,id:`param-request-id-2`,children:_jsx(_components.p,{children:`Nanoid of the failed transaction`})}),`\n`,_jsx(ParamField,{path:`idempotency_key`,type:`string`,required:true,id:`param-idempotency-key-2`,children:_jsx(_components.p,{children:`A unique key to ensure the webhook is processed only once`})}),`\n`,_jsx(ParamField,{path:`payment`,type:`object`,required:true,id:`param-payment-1`,children:_jsx(_components.p,{children:`Details of the failed payment`})}),`\n`,_jsxs(Expandable,{title:`payment`,defaultOpen:true,children:[_jsx(ParamField,{path:`tx_nanoid`,type:`string`,required:true,id:`param-tx-nanoid`,children:_jsxs(_components.p,{children:[`Nanoid of the failed blockchain transaction. Matches the `,_jsx(_components.code,{children:`transaction`}),` returned by `,_jsx(_components.code,{children:`PUT /v2/payments`})]})}),_jsx(ParamField,{path:`payment_nanoid`,type:`string`,id:`param-payment-nanoid`,children:_jsx(_components.p,{children:`Primary key of the payment (nanoid), when resolvable`})}),_jsx(ParamField,{path:`recipient_nanoid`,type:`string`,id:`param-recipient-nanoid`,children:_jsx(_components.p,{children:`Nanoid of the payment recipient (payee)`})}),_jsx(ParamField,{path:`recipient_name`,type:`string`,id:`param-recipient-name`,children:_jsx(_components.p,{children:`Display name of the payment recipient`})}),_jsx(ParamField,{path:`payer_nanoid`,type:`string`,required:true,id:`param-payer-nanoid`,children:_jsx(_components.p,{children:`Nanoid of the paying team (payer)`})}),_jsx(ParamField,{path:`payer_name`,type:`string`,id:`param-payer-name`,children:_jsx(_components.p,{children:`Display name of the payer team`})}),_jsx(ParamField,{path:`amount_cents`,type:`number`,required:true,id:`param-amount-cents-2`,children:_jsx(_components.p,{children:`Payment amount in cents (USD equivalent)`})}),_jsx(ParamField,{path:`currency`,type:`string`,id:`param-currency-2`,children:_jsx(_components.p,{children:`Currency code of the payment`})}),_jsx(ParamField,{path:`error_message`,type:`string`,required:true,id:`param-error-message`,children:_jsx(_components.p,{children:`Failure reason reported for the transaction`})}),_jsx(ParamField,{path:`failed_at`,type:`string`,required:true,id:`param-failed-at`,children:_jsx(_components.p,{children:`ISO-8601 timestamp when the failure was processed`})})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`payment.group.created (v2)`,numberOfLines:`51`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`51`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1751590453`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req-1751590452487\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payment.group.created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"idempotency_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"85420805-0b5e-4b11-b7f4-c6f05db7120b_v2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment_group\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pg-abc123def456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"onchain_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoice_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"time_entry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoice_description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Development work for Q1 2024\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role_description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Senior Frontend Developer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pa-xyz789abc123456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"onchain_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"67890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"group_onchain_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoice_nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"iv-def456ghi789012\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"creation_transaction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tx-abc123def456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"process_transaction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pay_at_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1705312200\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pay_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD Coin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"decimals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipients\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pa-xyz789abc123456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"contractor@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Doe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entity_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient_address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x24D5ad606b98A25287e393Ad0EF410F489F5E780\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payer_address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x47448085d91b06F3A1D592e9E189B78a867594Ef\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_cents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"external_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INV-2024-001\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`payment.sent (v2)`,numberOfLines:`49`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`49`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1751590453`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req-1751590452487\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payment.sent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"idempotency_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"85420805-0b5e-4b11-b7f4-c6f05db7120b_v2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pa-xyz789abc123456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"onchain_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"67890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"group_onchain_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoice_nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"iv-def456ghi789012\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"creation_transaction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tx-abc123def456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"process_transaction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tx-def456ghi789012\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:35:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pay_at_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1705312200\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pay_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD Coin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"decimals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipients\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pa-xyz789abc123456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"contractor@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Doe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entity_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient_address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x24D5ad606b98A25287e393Ad0EF410F489F5E780\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payer_address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x47448085d91b06F3A1D592e9E189B78a867594Ef\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_cents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoice_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"time_entry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoice_description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Development work for Q1 2024\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role_description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Senior Frontend Developer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"external_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INV-2024-001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment_group\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pg-abc123def456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"onchain_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`payment.failed (v2)`,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1751590453`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tx-abc123def456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payment.failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"idempotency_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"85420805-0b5e-4b11-b7f4-c6f05db7120b_v2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tx_nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tx-abc123def456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment_nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pa-xyz789abc123456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient_nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"us-r456abc789def01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Doe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payer_nanoid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"te-p789abc123def45\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payer_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Engineering\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount_cents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Transaction reverted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"failed_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:35:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`implementation-notes`,children:`Implementation Notes`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Payment lifecycle`}),`: Payment groups are created first (triggering `,_jsx(_components.code,{children:`payment.group.created`}),`), then individual payments within the group are processed and sent (triggering `,_jsx(_components.code,{children:`payment.sent`}),` for each).`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Processing order`}),`: Always handle `,_jsx(_components.code,{children:`payment.group.created`}),` before individual `,_jsx(_components.code,{children:`payment.sent`}),` events, as the group must exist before payments can be processed.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Tracking outcomes`}),`: Use `,_jsx(_components.code,{children:`payment.sent`}),` and `,_jsx(_components.code,{children:`payment.failed`}),` as the primary signals for a payment’s outcome, and match them to the `,_jsx(_components.code,{children:`transaction`}),` returned by `,_jsx(_components.code,{children:`PUT /v2/payments`}),`. `,_jsx(_components.code,{children:`GET /v2/payments`}),` only lists payments that exist on-chain, so it can confirm success but cannot distinguish a pending payment from a failed one. A `,_jsx(_components.code,{children:`Removed`}),` state means the payer cancelled the payment; it is not a failure.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Idempotency`}),`: Use the `,_jsx(_components.code,{children:`idempotency_key`}),` field to ensure your webhook handlers don’t process the same payment multiple times.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Payment Events","description":"Webhook events related to payment processing and execution","href":"/webhooks/events/payment"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"payment.group.created","slug":"payment-group-created","depth":2,"children":[{"title":"Field reference","slug":"field-reference","depth":3,"children":[]}]},{"title":"payment.sent","slug":"payment-sent","depth":2,"children":[{"title":"Field reference","slug":"field-reference-2","depth":3,"children":[]}]},{"title":"payment.failed","slug":"payment-failed","depth":2,"children":[{"title":"Field reference","slug":"field-reference-3","depth":3,"children":[]}]},{"title":"Implementation Notes","slug":"implementation-notes","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"payment.group.created (v2)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"51\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"object\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"event\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1751590453\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"request_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"req-1751590452487\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"payment.group.created\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event_version\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2.0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"idempotency_key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"85420805-0b5e-4b11-b7f4-c6f05db7120b_v2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payment_group\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pg-abc123def456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"onchain_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"12345\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:30:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:30:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"invoice_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"time_entry\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"invoice_description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Development work for Q1 2024\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"role_description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Senior Frontend Developer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payments\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pa-xyz789abc123456\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"onchain_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"67890\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"group_onchain_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"12345\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"invoice_nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"iv-def456ghi789012\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"creation_transaction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tx-abc123def456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"process_transaction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:30:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:30:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pay_at_time\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1705312200\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pay_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"token\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"address\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD Coin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"symbol\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USDC\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"decimals\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">6\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recipients\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pa-xyz789abc123456\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"contractor@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"John Doe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entity_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recipient_address\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0x24D5ad606b98A25287e393Ad0EF410F489F5E780\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payer_address\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0x47448085d91b06F3A1D592e9E189B78a867594Ef\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1000000000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount_cents\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">100000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"external_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"INV-2024-001\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"payment.sent (v2)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"49\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"object\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"event\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1751590453\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"request_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"req-1751590452487\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"payment.sent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event_version\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2.0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"idempotency_key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"85420805-0b5e-4b11-b7f4-c6f05db7120b_v2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payment\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pa-xyz789abc123456\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"onchain_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"67890\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"group_onchain_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"12345\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"invoice_nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"iv-def456ghi789012\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"creation_transaction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tx-abc123def456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"process_transaction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tx-def456ghi789012\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:30:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:35:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pay_at_time\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1705312200\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pay_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"token\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"address\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD Coin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"symbol\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USDC\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"decimals\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">6\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recipients\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pa-xyz789abc123456\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"contractor@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"John Doe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entity_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recipient_address\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0x24D5ad606b98A25287e393Ad0EF410F489F5E780\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payer_address\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0x47448085d91b06F3A1D592e9E189B78a867594Ef\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1000000000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount_cents\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">100000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"invoice_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"time_entry\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"invoice_description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Development work for Q1 2024\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"role_description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Senior Frontend Developer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"external_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"INV-2024-001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payment_group\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pg-abc123def456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"onchain_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"12345\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:30:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:30:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"payment.failed (v2)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"object\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"event\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1751590453\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"request_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tx-abc123def456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"payment.failed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event_version\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2.0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"idempotency_key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"85420805-0b5e-4b11-b7f4-c6f05db7120b_v2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payment\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tx_nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tx-abc123def456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payment_nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pa-xyz789abc123456\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recipient_nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"us-r456abc789def01\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recipient_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"John Doe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payer_nanoid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"te-p789abc123def45\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payer_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Acme Engineering\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount_cents\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">100000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error_message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Transaction reverted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"failed_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:35:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"subdomain":"rise-067e2e54","siteName":"Rise API","title":"Payment Events - Rise API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T15:35:33.674Z","originalFileLocation":"webhooks/events/payment.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Webhook events related to payment processing and execution\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rise API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rise-067e2e54/b2iWOqZmzIHdD8oP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/rise-067e2e54/b2iWOqZmzIHdD8oP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rise-067e2e54/b2iWOqZmzIHdD8oP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rise-067e2e54/b2iWOqZmzIHdD8oP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rise-067e2e54/b2iWOqZmzIHdD8oP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rise-067e2e54/b2iWOqZmzIHdD8oP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rise-067e2e54/b2iWOqZmzIHdD8oP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rise-067e2e54/b2iWOqZmzIHdD8oP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rise-067e2e54/b2iWOqZmzIHdD8oP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Payment Events - Rise API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Webhook events related to payment processing and execution\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rise API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.riseworks.io/webhooks/events/payment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rise-067e2e54.mintlify.site/_mintlify/api/og/v2?division=Webhook+Payloads\u0026amp;title=Payment+Events\u0026amp;description=Webhook+events+related+to+payment+processing+and+execution\u0026amp;theme=4bc0e62bdceeecedb98d5f94\u0026amp;signature=7e463f3e877f9de235ec058506a077939cff8c274588528e3db0816673cc7f76\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Payment Events - Rise API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Webhook events related to payment processing and execution\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rise-067e2e54.mintlify.site/_mintlify/api/og/v2?division=Webhook+Payloads\u0026amp;title=Payment+Events\u0026amp;description=Webhook+events+related+to+payment+processing+and+execution\u0026amp;theme=4bc0e62bdceeecedb98d5f94\u0026amp;signature=7e463f3e877f9de235ec058506a077939cff8c274588528e3db0816673cc7f76\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/rise-067e2e54/b2iWOqZmzIHdD8oP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rise API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5e59ec\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.riseworks.io/webhooks/events/payment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/webhooks/events/payment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.riseworks.io/#organization\",\"name\":\"Rise API\",\"url\":\"https://docs.riseworks.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://cdn.prod.website-files.com/624f0c4263953ffe82f4e446/68092904f1a7fae9edc78b9b_RiseLogo.webp\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.riseworks.io#website\",\"name\":\"Rise API\",\"url\":\"https://docs.riseworks.io\",\"publisher\":{\"@id\":\"https://docs.riseworks.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.riseworks.io/webhooks/events/payment#webpage\",\"url\":\"https://docs.riseworks.io/webhooks/events/payment\",\"name\":\"Payment Events\",\"description\":\"Webhook events related to payment processing and execution\",\"dateModified\":\"2026-11-06T15:35:33.674Z\",\"isPartOf\":{\"@id\":\"https://docs.riseworks.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.riseworks.io/webhooks/events/payment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.riseworks.io/webhooks/events/payment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rise API\",\"item\":\"https://docs.riseworks.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Payment Events\",\"item\":\"https://docs.riseworks.io/webhooks/events/payment\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.riseworks.io/webhooks/events/payment#article\",\"headline\":\"Payment Events\",\"name\":\"Payment Events\",\"description\":\"Webhook events related to payment processing and execution\",\"url\":\"https://docs.riseworks.io/webhooks/events/payment\",\"mainEntityOfPage\":{\"@id\":\"https://docs.riseworks.io/webhooks/events/payment#webpage\"},\"dateModified\":\"2026-11-06T15:35:33.674Z\",\"publisher\":{\"@id\":\"https://docs.riseworks.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.riseworks.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rise API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Rise API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/webhooks/events/payment.md","siteName":"Rise API","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":""}]},{"tab":"Core Concepts","pages":[{"title":"Core Concepts","href":"/concepts/wallets"}]},{"tab":"Integration Guides","pages":[{"title":"Integration Guides","href":"/guides/web3-integration"}]},{"tab":"Webhooks","groups":[{"group":"Getting Started","pages":[{"title":"Webhook Overview","href":"/webhooks/getting-started/overview"},{"title":"Webhook Quick Start","href":"/webhooks/getting-started/quickstart"},{"title":"Security and Verification","href":"/webhooks/getting-started/security"}]},{"group":"Implementation","pages":[{"title":"Webhook Management","href":"/webhooks/implementation/management"},{"title":"Event Types Overview","href":"/webhooks/implementation/event-types"},{"title":"Testing Webhooks","href":"/webhooks/implementation/testing"}]},{"group":"Operations","pages":[{"title":"Delivery and Retries","href":"/webhooks/operations/delivery"},{"title":"Monitoring Webhooks","href":"/webhooks/operations/monitoring"},{"title":"Troubleshooting Webhooks","href":"/webhooks/operations/troubleshooting"}]},{"group":"Reference","pages":[{"title":"Migration Guide","description":"Upgrading from Rise Webhooks v1 to v2","href":"/webhooks/reference/migration"}]},{"group":"Webhook Payloads","pages":[{"title":"Payment Events","href":"/webhooks/events/payment"},{"title":"Deposit Events","description":"Webhook events related to fund deposits and incoming transfers","href":"/webhooks/events/deposit"},{"title":"Invite Events","href":"/webhooks/events/invite"},{"title":"Document Events","href":"/webhooks/events/document"},{"title":"Security Events","href":"/webhooks/events/security"}]}]},{"tab":"V1 Legacy","pages":[{"title":"V1 Legacy","href":"/v1-legacy/overview"}]},{"tab":"V1 Legacy API Reference","pages":[{"title":"V1 Legacy API Reference","href":"/api-reference-v1/auth/get-siwe-v1-legacy"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/authentication/get-siwe"}]},{"tab":"Institutional API Reference","hidden":true,"pages":[{"title":"Institutional API Reference","href":"/api-reference/bill-pay/list-submitted-bill-pay-payments-with-their-business-status"}]}]},"basePath":"","title":"Payment Events - Rise API","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["2b790eda92"],"chunks":["ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","utils-BN7RXSMJ.js","utils-DWvOwgy_.js","isEqual-CoOaxexF.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","snippetPresets-BgfXU7Bw.js","style-to-object-BY3JEAdk.js","cloneDeep-CAwdfOU2.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-CmCoerhe.js"]}