Partner API
  1. Virtual Cards
Partner API
  • Getting Started
    • Introduction
    • Authentication
    • Business Use Cases
  • API References
    • Partner Operations
      • Get Balances
      • Get Transaction History
      • Retrieve Exchange Rate and Create a Lock
      • Create and Finalize an Exchange
      • Create Crypto Withdrawal
      • Create a SEPA Transfer
      • Get SEPA Transfer Details
    • User Accounts with KYC
      • Create User Account and Generate Balances
      • Add KYC File
      • Add POA File
      • Add User Verification
      • Update Existing User
      • Delete User
      • Suspend User
      • Unsuspend User
      • Get User Balances
      • Get User Transaction History
    • User Accounts without KYC
      • Create User Account and Generate Balances Without KYC
      • Update Existing User
      • Delete User
      • Suspend User
      • Unsuspend User
      • Get User Balances
      • Get User Transaction History
    • KYC by P100
      • Creating KYC Verification
      • Redirect to Verification
      • Get KYC Status
    • Currency Exchange
      • Retrieve Exchange Rate
      • Retrieve Exchange Rate and Create a Lock
      • Create and Finalize an Exchange
      • Retrieve Detailed Exchange Infromation
    • Crypto Deposits
      • Update Travel Rule
    • Crypto Withdrawals
      • Get Network Fee
      • Create Crypto Withdrawal
      • Get Crypto Withdrawal Details
    • 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
    • Custom Fiat Operations
      • SEPA Deposit & Withdrawal
  • Integration
    • SDKs & Integration Guides
    • Transaction Processing
    • Error Handling
    • Rate Limiting
    • Webhooks
      • User & KYC Webhooks
        • User Balance Generation
        • KYC File Added
        • POA Verification Status
        • KYC Verification Status
      • Transfers & Payments Webhooks
        • P2P Transfer Webhook
        • SEPA Transfer
        • SEPA Deposit
        • Crypto Withdrawal
        • Crypto Deposit
        • Exchange
        • Card Transaction
      • Card Webhooks
        • Card 3DS Code
        • Card Activation Code
  • 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 Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://partner-api-stage.p100.io/v1/card/pin' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--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"
}

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
Previous
Get Card Details
Next
Block Card
Built with