ROZO Intents API
    • Payments
      • Get Payment
        GET
      • Create Payment
        POST
      • Get Payment by Order ID
        GET
      • Register Payin Transaction Hash
        POST
      • List Payments
        GET
    • Payout confirmed on the destination chain
    • Payin confirmed on the source chain
    • Schemas
      • PaymentRequest
      • WebhookEventType
      • CreatePaymentRequest
      • WebhookEvent
      • PaymentUpdateRequest
      • PaymentResponse
      • PaymentListResponse
      • DisplayInfo
      • TransactionsResponse
      • SourceRequest
      • SourceResponse
      • DestinationRequest
      • DestinationResponse
      • ErrorResponse
      • ChainId
      • TokenSymbol
      • PaymentStatus
      • PaymentErrorCode
      • FeeType

    WebhookEvent

    Outbound webhook payload. Shape is
    { event_id, type, timestamp, data: PaymentResponse }. The
    data block matches the response of GET /payments/{id}, so
    reconciliation is a straight key-by-key compare.

    {
        "type": "payment_payin_completed",
        "data": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "appId": "string",
            "orderId": "string",
            "errorCode": "string",
            "errorMessage": "string",
            "createdAt": "2019-08-24T14:15:22.123Z",
            "updatedAt": "2019-08-24T14:15:22.123Z",
            "expiresAt": "2019-08-24T14:15:22.123Z",
            "webhookSecret": "string",
            "metadata": {},
            "status": "payment_unpaid",
            "type": "exactIn",
            "display": {
                "title": "string",
                "description": "string",
                "currency": "string"
            },
            "destination": {
                "chainId": "string",
                "receiverAddress": "string",
                "receiverMemo": "string",
                "tokenSymbol": "string",
                "tokenAddress": "string",
                "amount": "string",
                "txHash": "string",
                "confirmedAt": "2019-08-24T14:15:22.123Z"
            },
            "source": {
                "chainId": "string",
                "tokenSymbol": "string",
                "tokenAddress": "string",
                "amount": "string",
                "receiverAddress": "string",
                "receiverMemo": "string",
                "fee": "string",
                "senderAddress": "string",
                "txHash": "string",
                "amountReceived": "string",
                "confirmedAt": "2019-08-24T14:15:22.123Z"
            }
        },
        "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
        "timestamp": "2019-08-24T14:15:22.123Z"
    }
    Built with