Kushki Developer Portal
  1. ONE-CLICK & SCHEDULED PAYMENTS
Kushki Developer Portal
  • Back to home
  • Ecuador 🇪🇨
  • 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. Bin Info
      • 7. Bin Info V2
      • 8. Validate OTP
      • 7. Bin Info V2
      • 1. Request a card token
      • 4. Refund a transaction
      • 8. Validate OTP
      • 3. Void a transaction
      • 2. Make a charge or deferred charge
      • 5. Request deferred options
      • 6. Bin Info
    • ONE-CLICK & SCHEDULED PAYMENTS
      • 1. Request a recurring charge token
        POST
      • 2. Create a recurring charge
        POST
      • 3. Update recurring charge card data
        PUT
      • 4. Make an One-click payment
        POST
      • 5. Cancel a recurring charge
        DELETE
      • 6. Update a recurring charge
        PATCH
      • 7. Add a temporary charge or discount
        PUT
      • 8. Get recurring charge Info
        GET
      • 7. Add a temporary charge or discount
        PUT
      • 4. Make an One-click payment
        POST
      • 3. Update recurring charge card data
        PUT
      • 6. Update a recurring charge
        PATCH
      • 5. Cancel a recurring charge
        DELETE
      • 1. Request a recurring charge token
        POST
      • 8. Get recurring charge Info
        GET
      • 2. Create a recurring charge
        POST
    • TRANSFER IN
      • 1. Get Bank List
      • 2. Request a Transfer In token
      • 3. Init Transaction
      • 4. Get Status
      • 4. Get Status
      • 2. Request a Transfer In token
      • 3. Init Transaction
      • 1. Get Bank List
    • CASH IN
      • 1. Request a cash in token
      • 2. Init Transaction
      • 3. Transaction Status
      • 4. Update a cash in transaction
      • 5. Delete a cash in transaction
      • 1. Request a cash in token
      • 3. Transaction Status
      • 5. Delete a cash in transaction
      • 2. Init Transaction
      • 4. Update a cash in transaction
    • SMARTLINKS V2
      • 1. Create a Smartlink
      • 2. Get a Smartlink
      • 3. Delete a Smartlink
      • 4. Update a Smartlink
      • 3. Delete a Smartlink
      • 1. Create a Smartlink
      • 2. Get a Smartlink
      • 4. Update 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
      • 2. Search credentials
      • 3. Advanced search
      • 4. Activate or deactivate
      • 5. Delete credential
      • 6. Update credential
      • 7. Regenerate a credential
      • 1. Create a credential
      • 7. Regenerate a credential
      • 3. Advanced search
      • 6. Update credential
      • 5. Delete credential
      • 4. Activate or deactivate
      • 2. Search credentials
    • PAYMENT BUTTON
      • 1. Create a payment button
      • 1. Create a payment button
  1. ONE-CLICK & SCHEDULED PAYMENTS

6. Update a recurring charge

PATCH
/subscriptions/v1/card/{{subscriptionId}}

Request

Header Params

Body Params application/json

Examples

Responses

🟠400
application/json
Body

🟢204
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH '/subscriptions/v1/card/{{subscriptionId}}' \
--header 'Private-Merchant-Id: {{EC-Private-Merchant-Id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "planName": "Premium",
  "periodicity": "monthly",
  "contactDetails": {
    "firstName": "John",
    "lastName": "Doe",
    "email": "user@example.com"
  },
  "amount": {
    "subtotalIva": 10,
    "subtotalIva0": 4.95,
    "ice": 3.5,
    "iva": 1.4,
    "currency": "USD"
  },
  "startDate": "2017-01-18",
  "endDate": "2020-01-18",
  "language": "es",
  "retryConfiguration": {
    "retryType": "scheduled",
    "value": [
      10
    ]
  }
}'
Response Response Example
400 - 400 - Invalid subscription id
{
    "code": "K012",
    "message": "ID de suscripción no válida."
}
Modified at 2026-01-06 19:33:02
Previous
5. Cancel a recurring charge
Next
7. Add a temporary charge or discount
Built with