> For the complete documentation index, see [llms.txt](https://remitee.gitbook.io/remitee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://remitee.gitbook.io/remitee/quick-start/step-2-accept-a-quote.md).

# Step 2 - Accept a quote

## Create a Payment

The payment data structure must encompass all essential details required to execute the transaction, including information about the sender, the beneficiary, and the quotation. From now on, this structure will be referred to as "UserInfo".

{% hint style="info" %}
The UserInfo data structure is modeled after [ISO 20200](https://www.iso20022.org/catalogue-messages).&#x20;
{% endhint %}

The UserInfo structure is consistent and unique across all country destinations, yet the mandatory fields required and validations will vary for each country. You can get all details in this link [UserInfo](/remitee/reference/catalogs/userinfo.md)

## Parameters to take into account

### QuoteId

It is the quote ID you generated before; a payment needs to be associated with a quote.

### ReferenceId

This is the idempotency ID of the payment, generated by your systems. It can be used to identify a payment with an ID that both parties understand.

### UserInfo

Here, you will input the sender, beneficiary, and payment method information required to execute the transaction.

You can get a full description here:

{% content-ref url="/pages/jFww5S6GZVHj6DUt3kIk" %}
[UserInfo](/remitee/reference/catalogs/userinfo.md)
{% endcontent-ref %}

### WebhookUrl

This URL is used to post notifications about when the transaction is locked or when a lock is declined. It's not mandatory, but we would recommend using it. Alternatively, you can use this method: [Step 4 - Get the payment status](/remitee/quick-start/step-4-get-the-payment-status.md)

## API call

{% openapi src="/files/YahZGQnrWvy8s9zYIqJW" path="/api/Payments" method="post" %}
[RemiteeSwagger.yaml](https://94797708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuxJDnI5I9Wh6PMf08w8t%2Fuploads%2FLRm28ipEpl1FPm7GLHbC%2FRemiteeSwagger.yaml?alt=media\&token=9cc54d6e-7f4e-4319-b6f3-b75cd04fe56e)
{% endopenapi %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://remitee.gitbook.io/remitee/quick-start/step-2-accept-a-quote.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.
