Partner API
test
  • latest
  • test
  1. Virtual Cards
Partner API
test
  • latest
  • test
  • Getting Started
    • Introduction
    • Authentication
    • Business Use Cases
  • API References
    • Partner Operations
      • Balances & Transaction History
        • Get Balances
        • Get Transaction History
        • Create Wallet
        • Create transfer master balance
      • Exchange Operations
        • Retrieve Exchange Rate
        • Create and Finalize an Exchange
        • Retrieve Detailed Exchange Information
        • Retrieve Exchange Rate and Create a Lock
      • SEPA Transfers
      • Crypto Deposits
        • Update Travel Rule
      • Crypto Withdrawal
        • Get Crypto Withdrawal Details
        • Create Crypto Withdrawal
      • Orders
        • Retrieve Order Rate and Create a Lock
        • Create and Finalize an Order
        • Get Order Details
        • Get Rates
      • Payment link
        • Generate Payment Link
        • Get Payment Link Details
    • User Operations
      • Onboarding & KYC Flow
        • Create User Account
        • Method A: Add KYC File
        • Method B: Creating KYC Verification
        • Method B: Redirect to Verification
        • Method B: Get KYC Status
        • Add User Verification
        • Add POA File
      • Account Management
        • Update Existing User
        • Delete User
        • Suspend User
        • Unsuspend User
      • Balances & Transaction History
        • Get User Balances
        • Get User Transaction History
      • Currency Exchange
        • Retrieve Exchange Rate
        • Retrieve Exchange Rate and Create a Lock
        • Create and Finalize an Exchange
        • Retrieve Detailed Exchange Information
      • Internal Transfers
        • Create a Transfer
        • Get Transfer Details
      • Virtual Cards
        • Create Virtual Card
          POST
        • Get All User Cards
          GET
        • Get Card Details
          GET
        • Update Card PIN
          PATCH
        • Block Card
          PATCH
        • Unblock Card
          PATCH
        • Get Card Limits
          GET
        • Update Card Limits
          PATCH
        • Delete Card
          DELETE
      • Crypto Deposits
        • Update Travel Rule
      • Crypto Withdrawals
        • Get Network Fee
        • Create Crypto Withdrawal
        • Get Crypto Withdrawal Details
      • SEPA Transfers Copy
  • Integration
    • SDKs & Integration Guides
    • Transaction Processing
    • Error Handling
    • Rate Limiting
    • Webhooks
      • User & KYC Webhooks
        • User Balance Generation Webhook
        • KYC File Added Webhook
        • POA Verification Status Webhook
        • KYC Verification Status Webhook
        • Create Wallet Webhook
      • Transfers & Payments Webhooks
        • P2P Transfer Webhook
        • SEPA Transfer Webhook
        • SEPA Deposit Webhook
        • Crypto Withdrawal Webhook
        • Crypto Deposit Webhook
        • Exchange Webhook
        • Card Transaction Webhook
        • Order status Webhook
        • Payment Link Webhook
      • Card Webhooks
        • Card 3DS Code Webhook
        • Card Activation Code Webhook
  • Reference
    • Supported Countries
    • Supported Currencies
    • Fees
    • FAQ
    • Changelog
    • Support
  1. Virtual Cards

Update Card PIN

Testing Env
https://partner-api-stage.p100.io
Testing Env
https://partner-api-stage.p100.io
PATCH
/v1/card/pin
This endpoint allows you to update the PIN code for a specific virtual card belonging to a user. Use this endpoint when a user wants to change their card's PIN for security reasons or if they have forgotten their current PIN. The request requires the user's external ID, the card ID, and the new PIN code. A successful response confirms that the PIN has been updated and the card can be used with the new PIN immediately.

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠401Access Denied
🟠400P403: Validation error
🟠400P434: Card not exist
🟠400P500: Unknown exception
🟠400P501: Service temporarily unavailable
🟠400P459: User not verified
🟠400P461: User not extended
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://partner-api-stage.p100.io/v1/card/pin' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "externalUserId": "985f38c8-9a33-423b-86be-86a5997feaa9",
    "cardId": "9eefa38e-6db4-40de-bc1b-719cd9d2cf05",
    "pin": "1234"
}'
Response Response Example
200 - Success
{
    "message": "Card pin updated successfully"
}
Previous
Get Card Details
Next
Block Card
Built with