Kushki Developer Portal
  1. PAYMENT CREDENTIALS
Kushki Developer Portal
  • Back to home
  • Perú 🇵🇪
  • Bienvenidos
  • ONLINE PAYMENTS
    • CARD
      • 1. Request a card token
      • 2. Make a charge or deferred charge
      • 3. Void a transaction
      • 4. Refund a transaction
      • 5. Request deferred options
      • 6. Authorize payments
      • 7. Capture an authorized payment
      • 8. Bin Info
      • 9. Bin Info V2
      • 10. Validate OTP
      • 5. Request deferred options
      • 2. Make a charge or deferred charge
      • 1. Request a card token
      • 8. Bin Info
      • 7. Capture an authorized payment
      • 10. Validate OTP
      • 4. Refund a transaction
      • 9. Bin Info V2
      • 6. Authorize payments
      • 3. Void a transaction
    • ONE-CLICK & SCHEDULED PAYMENTS
      • 1. Request a recurring charge token
      • 2. Create a recurring charge
      • 3. Update recurring charge card data
      • 4. Make an One-click payment
      • 5. Cancel a recurring charge
      • 6. Update a recurring charge
      • 7. Add a temporary charge or discount
      • 8. Authorize payments
      • 9. Capture an authorized payment
      • 10. Get recurring charge Info
      • 9. Capture an authorized payment
      • 7. Add a temporary charge or discount
      • 8. Authorize payments
      • 5. Cancel a recurring charge
      • 4. Make an One-click payment
      • 1. Request a recurring charge token
      • 2. Create a recurring charge
      • 10. Get recurring charge Info
      • 6. Update a recurring charge
      • 3. Update recurring charge card data
    • TRANSFER IN
      • 2. Request a Transfer In token
      • 3. Init Transaction
      • 4. Get Status
      • 2. Request a Transfer In token
      • 4. Get Status
      • 3. Init Transaction
    • CASH IN
      • 1. Request a cash in token
      • 2. Init Transaction
      • 3. Transaction Status
      • 2. Init Transaction
      • 1. Request a cash in token
      • 3. Transaction Status
    • SMARTLINKS V2
      • 1. Create a Smartlink
      • 2. Get a Smartlink
      • 3. Delete a Smartlink
      • 4. Update a Smartlink
      • 4. Update a Smartlink
      • 2. Get a Smartlink
      • 3. Delete a Smartlink
      • 1. Create a Smartlink
    • ANALYTICS
      • 1. Get transactions list
      • 1. Get transactions list
    • GATEWAY STATUS
      • 1. Get gateway status
      • 1. Get gateway status
    • COMMISSIONS
      • 1. Get Commission Configuration
      • 1. Get Commission Configuration
    • PAYMENT CREDENTIALS
      • 1. Create a credential
        POST
      • 2. Search credentials
        POST
      • 3. Advanced search
        POST
      • 4. Activate or deactivate
        PATCH
      • 5. Delete credential
        DELETE
      • 6. Update credential
        PATCH
      • 7. Regenerate a credential
        PATCH
      • 6. Update credential
        PATCH
      • 7. Regenerate a credential
        PATCH
      • 2. Search credentials
        POST
      • 4. Activate or deactivate
        PATCH
      • 3. Advanced search
        POST
      • 1. Create a credential
        POST
      • 5. Delete credential
        DELETE
    • PAYMENT BUTTON
      • 1. Create a payment button
      • 1. Create a payment button
  • CARD PRESENT PAYMENTS (API RAW)
    • Get BIN Info
    • Balance inquiries
    • BIN info V2
    • Request deferred options
  1. PAYMENT CREDENTIALS

6. Update credential

PATCH
/payment-credentials/v1/credential/{{credentialId}}

Request

Header Params

Body Params application/json

Examples

Responses

🟠404
application/json
Body

🟠402
🟢200
🟠400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH '/payment-credentials/v1/credential/{{credentialId}}' \
--header 'Private-Merchant-Id: {{PE-Private-Merchant-Id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "alias": "Credencial de prueba actualizada",
  "merchantId": "{{PE-merchant_id}}",
  "metadata": {
    "key1": "metadata 1",
    "key2": "RS-1234"
  }
}'
Response Response Example
404 - 404 - E005 - No existen las credenciales
{
    "code": "E005",
    "message": "No existen las credenciales"
}
Modified at 2026-01-06 19:33:02
Previous
7. Regenerate a credential
Next
7. Regenerate a credential
Built with