> ## Documentation Index
> Fetch the complete documentation index at: https://doc.raliopay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Payin Completed

> Webhook event fired when a funding has been processed successfully

<Info>
  **Event Name:** `payin_completed`
</Info>

<Note>
  The payin\_completed event is sent when a payin has been fully processed and the final amount has been credited to the destination wallet. At this point, funds are available and ready to be used.
</Note>

## Event Payload

The webhook payload contains the following structure:

<CodeGroup>
  ```json Example Payload - bankPayin theme={null}
  {
    "eventId": "4a2b85b3-3430-40a3-9a09-f8920c76f48f",
    "eventType": "payin_completed",
    "timestamp": "2026-02-26T17:02:28.7667797-05:00",
    "data": {
      "status": "COMPLETED",
      "payinType": "bankPayin",
      "orderId": "f96889bc-e2aa-4065-9239-359b332215f4",
      "source": {
        "type": "bankAccount",
        "routingType": "IBAN",
        "accountNumber": "ES6621000418401234567891",
        "bankConceptTransfer": "BILLING 1124",
        "payer": {
          "name": "John Doe"
        }
      },
      "destination": {
        "type": "account",
        "creditedAccountId": "37bc63f7-8b90-44f1-b079-8c84ac6a2fa7",
        "creditedUserId": "670fc7b3-f84e-4e83-9f18-7e4276bd5c43"
      },
      "amounts": {
        "receivedAmount": {
          "amount": 15000,
          "currency": "USD"
        },
        "fees": {
          "currency": "EUR",
          "total": 506,
          "breakdown": {
            "systemFee": 253,
            "merchantFee": 253
          }
        },
        "amountAfterFees": {
          "amount": 12124,
          "currency": "EUR"
        },
        "fx": {
          "pair": "USD/EUR",
          "rate": "0.8420077465"
        },
        "creditedAmount": {
          "amount": 12124,
          "currency": "EUR"
        }
      }
    }
  }
  ```

  ```json Example Payload - cryptoPayin theme={null}
  {
    "eventId": "63b47f5b-7240-4801-bcaf-acc2b16e7bab",
    "eventType": "payin_completed",
    "timestamp": "2026-02-26T17:07:23.2517094-05:00",
    "data": {
      "status": "COMPLETED",
      "payinType": "cryptoPayin",
      "orderId": "ca5088fc-18be-401c-8133-221485524892",
      "source": {
        "type": "crypto",
        "cryptoTxHash": "a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
      },
      "destination": {
        "type": "account",
        "creditedAccountId": "37bc63f7-8b90-44f1-b079-8c84ac6a2fa7",
        "creditedUserId": "670fc7b3-f84e-4e83-9f18-7e4276bd5c43"
      },
      "amounts": {
        "receivedAmount": {
          "amount": 15000,
          "currency": "USDC"
        },
        "fees": {
          "currency": "EUR",
          "total": 252,
          "breakdown": {
            "systemFee": 126,
            "merchantFee": 126
          }
        },
        "amountAfterFees": {
          "amount": 12378,
          "currency": "EUR"
        },
        "fx": {
          "pair": "USDC/EUR",
          "rate": "0.8420077465"
        },
        "creditedAmount": {
          "amount": 12378,
          "currency": "EUR"
        }
      }
    }
  }
  ```

  ```json Excample Payload - cardPayin theme={null}
  {
    "eventId": "8381e41d-67de-49ce-bb71-04d279cdd7b6",
    "eventType": "payin_completed",
    "timestamp": "2026-02-26T16:56:01.7932022-05:00",
    "data": {
      "status": "COMPLETED",
      "payinType": "cardPayin",
      "orderId": "8fa466e5-986f-4111-a64a-2d7c369108db",
      "ownReference": "Merchant internal reference for reconciliation",
      "source": {
        "type": "card",
        "payer": {
          "name": "John Doe",
          "email": "john@mail.com",
          "phone": "123456789"
        },
        "cardBin": "999999",
        "cardLastFour": "9999"
      },
      "destination": {
        "type": "account",
        "creditedAccountId": "37bc63f7-8b90-44f1-b079-8c84ac6a2fa7",
        "creditedUserId": "670fc7b3-f84e-4e83-9f18-7e4276bd5c43"
      },
      "amounts": {
        "receivedAmount": {
          "amount": 10000,
          "currency": "EUR"
        },
        "fees": {
          "currency": "EUR",
          "total": 300,
          "breakdown": {
            "systemFee": 200,
            "merchantFee": 100
          }
        },
        "amountAfterFees": {
          "amount": 9700,
          "currency": "EUR"
        },
        "creditedAmount": {
          "amount": 9700,
          "currency": "EUR"
        }
      }
    }
  }
  ```
</CodeGroup>
