Invincible Pay
Users

Generate api key

Create a new API key.

POST
/v1/users/me/api-keys

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.invinciblepay.com/v1/users/me/api-keys" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "api_key": "string",
  "api_secret": "string",
  "created_at": 0,
  "name": "string",
  "status": "active",
  "user_id": "string"
}
{
  "error": "string",
  "error_code": {}
}
{
  "error": "string",
  "error_code": {}
}
{
  "error": "string",
  "error_code": {}
}
{
  "error": "string",
  "error_code": {}
}