Public
Documentation Settings

GiftKarte — Issuance API

POSTIssuance API

https://giftkarte.com/api/v1/issuance

Create Issuance

This endpoint allows you to create a new issuance entry.

Request Body

  • auth_key (string, required): The authentication key.

  • company_id (number, required): The ID of the company.

  • employee_id (number, required): The ID of the employee.

  • employee_name (string, required): The name of the employee.

  • employee_email (string, required): The email of the employee.

  • employee_phone (string, required): The phone number of the employee.

  • points_redeemed (number, required): The points redeemed by the employee.

  • amount_pkr (number, required): The amount in PKR.

  • company_name (string, required): The name of the company.

Response

  • message (string): A message indicating the status of the request.

  • status (string): The status of the request.

Example

json
{
    "auth_key": "your-api-key-here",
    "company_id": 123,
    "employee_id": 456,
    "employee_name": "John Doe",
    "employee_email": "john.doe@example.com",
    "employee_phone": "921234567890",
    "points_redeemed": 1000,
    "amount_pkr": 5000,
    "company_name": "Example Company"
}
HEADERS
Content-Type

application/json

Bodyraw (json)
json
{
    "auth_key": "b746d81-33cba4946241-b746-33cba4946241",
    "company_id": 123,
    "employee_id": 456,
    "employee_name": "John Doe",
    "employee_email": "john.doe@example.com",
    "employee_phone": "921234567890",
    "points_redeemed": 1000,
    "amount_pkr": 5000,
    "company_name": "Example Company"
}
Loading