# Scenario 1 (Verve Card Type)

<mark style="color:green;">`POST`</mark> `https://seerbitapi.com/api/v2/payments/initiates`

**Scenario 1 (Verve Card Type)**

1. The customers gets prompted to enter card pin.
2. After the customer enters the card pin, call the payment service again using payment/initiates endpoint.
3. An OTP (one time password) is sent to the cardholders registered phone number or email to validate the transaction.
4. To Validate the transaction Call the Validate OTP payments/otp endpoint with the customers OTP and Pass the transactions linking reference in the request body.

{% tabs %}
{% tab title="cURL" %}

```javascript
curl --location 'https://seerbitapi.com/api/v2/payments/initiates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTION_KEY' \
--data '{
	"transaction":
		{
		 "linkingreference":"F468778061587905955047",
         "otp":"496865"
         }
}'
```

{% endtab %}

{% tab title="Response" %}

```javascript
{
	"status": "SUCCESS",
	"data": {
		"code": "00",
		"payments": {
			"reference": "LKJHGFDR123UI23992JN23R",
			"linkingreference": "F468778061587905955047"
		},
		"message": "Successful"
	}
}
```

{% endtab %}
{% endtabs %}


---

# 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://apis.seerbit.com/api-endpoints/card-payment/scenario-1-verve-card-type.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.
