# Receiving invoice details without redirection

To receive payment details and display them in your interface without redirecting to a payment page, you need to implement API integration.

When creating an invoice via API, specify the user’s payment currency in the `currency` parameter. In response, the system will return the invoice details — wallet address, network, and the exact amount in the selected currency.

**How it works:**

1. **API integration**\
   Connect to the API using the keys from your CryptoCloud dashboard.
2. **Invoice creation**\
   For each order, send a request to create an invoice, specifying the `currency` parameter.
3. **Receiving payment details**\
   The API response returns the wallet address, network, and payment amount. You display this data to the customer in your interface.
4. **Invoice payment**\
   The customer transfers funds using the provided payment details.
5. **Payment notification (Postback)**\
   After funds are received, CryptoCloud sends a POST notification to the specified URL. You process the notification and update the order status in your system.
6. **Invoice status check (optional)**\
   The invoice status can be requested via API using the INV number for reconciliation or rechecks.

More details about Host2Host integration are available [in the section](https://docs.cryptocloud.plus/en/api-reference-v2/h2h).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.cryptocloud.plus/en/payments/h2h.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
