Artha API
  1. Card Operations
  • Introduction
  • Authentication
  • KYC/KYB Requirements
  • API Setup Guide
  • Customers
    • Create Customer
      POST
    • List Customers
      GET
    • Get Customer
      GET
    • Update Customer
      PATCH
  • Cards
    • Submit KYC/KYB Applicant
      POST
    • Issue Card
      POST
    • Cards List
      GET
    • Get Card
      GET
    • Get Sensitive Card Details
      GET
  • Card Operations
    • Activate Card
      POST
    • Freeze Card
      POST
    • Unfreeze Card
      POST
    • Cancel Card
      POST
    • Replace Card
      POST
    • Set / Reset Card PIN
      POST
    • Get Card Limits
      GET
    • Update Card Limits
      POST
  • Funding
    • Top Up Card
      POST
    • Get Card Balance
      GET
    • List Top-Up History
      GET
  • Transactions
    • List All Transactions
      GET
    • List Card Transactions
      GET
    • List Customer Transactions
      GET
    • Get Transaction
      GET
  • Products
    • List Products
    • Get Product
  • Utilities
    • Upload Documents
  • Webhook's
    • Webhooks
  1. Card Operations

Set / Reset Card PIN

POST
/{{baseurl}}/api/v1/cards/{cardId}/pin/set
Sets or resets the card's PIN. Must be 4–6 digits.
⚠️ Required Fields
FieldTypeDescriptionConstraints
pinstringNew PINMin: 4 · Max: 6

Request

Path Params

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200
PIN set successfully.
This response does not have a body.
🟠401
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/{{baseurl}}/api/v1/cards//pin/set' \
--header 'X-API-Key;' \
--header 'X-Signature;' \
--header 'X-Timestamp;' \
--header 'X-Nonce;' \
--header 'X-Body-Hash;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pin": "1234"
}'
Modified at 2026-02-19 17:53:55
Previous
Replace Card
Next
Get Card Limits
Built with