> For the complete documentation index, see [llms.txt](https://docs.udara360.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.udara360.io/udara360-docs-1/cards/providus/requestinstantcard.md).

# RequestInstantCard

The "RequestInstantCard" endpoint allows customers to request an instant card by specifying a card profile, the number of cards to request, and the default name to be printed on the card.

<mark style="color:yellow;">`POST`</mark> `/api/Card/v{{version}}/Providus/RequestInstantCard`

To request an instant card, provide the `cardProfile` to use, the `amount` of cards to request, and the `defaultNameOnCard` to print.

**Headers**

| Name                                           | Value              |
| ---------------------------------------------- | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | `application/json` |
| Request-Reference                              | `unique_string`    |

**Body**

<table><thead><tr><th>Name</th><th>Data Type</th><th data-type="checkbox">Required/Optional</th><th>Description</th></tr></thead><tbody><tr><td><code>cardProfile</code></td><td><em>string</em></td><td>true</td><td>The card profile to use for the request.</td></tr><tr><td><code>amount</code></td><td><em>integer</em></td><td>true</td><td>The number of cards to request.</td></tr><tr><td><code>defaultNameOnCard</code></td><td><em>string</em></td><td>true</td><td>The default name to be printed on the card(s).</td></tr></tbody></table>

Here is an example request and response with a sample payload sent to the endpoint in Curl format.

<details>

<summary>Sample Request</summary>

```json
curl --location -g '{{baseUrl}}/api/Card/v{{version}}/Providus/RequestInstantCard' \
--header 'Content-Type: application/json' \
--data '{
  "cardProfile": "TestCP",
  "amount": 1,
  "defaultNameOnCard": "TEST CARD"
}'
```

</details>

<details>

<summary>Response: <code>200</code></summary>

```json
{
  "status": true,
  "message": "Request Successful",
  "data": {
    "success": true,
    "batchNumber": "123456678",
    "failedValidations": []
  }
}
```

</details>
