Kushki Developer Portal
  1. APPIAN-SUBMERCHANT-REGISTER
Kushki Developer Portal
  • KUSHKI API
    • Kushki Developer Portal 🚀
    • Perú 🇵🇪
    • Ecuador 🇪🇨
    • Chile 🇨🇱
    • México 🇲🇽
    • Colombia 🇨🇴
    • Libraries & SDKs (Online Payments)
      • Release notes
      • Mobile
        • Kushki Android
        • Kushki iOS 
        • Kushki iOS ARM Setup
      • Web
        • Kushki.js 🌐
        • kushki.js-hosted-fields
          • kushki.js Hosted Fields
          • Guía de migración a Kushki.js 2.0
          • Javascript
          • Card Payouts
            • Interfaces
              • Interface `FormValidity`
              • Interface `Styles`
              • Interface `CardPayoutUniqueTokenResponse`
              • Interface `CardPayoutSubscriptionTokenResponse`
              • Interface `CardPayoutOptions`
              • Interface `Fields`
              • Interface `Field`
              • Interface `FieldValidity`
            • Type Aliases
              • Type Alias `InputTypeEnum`
              • Type Alias `CardPayoutTokenResponse`
            • Errors
              • Errors
            • Card Payouts Interface
              • Interface `ICardPayouts`
            • Enumerations
              • Enumeration `InputModelEnum`
            • Methods
              • initCardPayoutToken method
            • Types
              • Type Alias `CssProperties`
          • Antifraud
            • Interfaces
              • Untitled Doc
              • Untitled Doc
              • SiftScienceObject Interface
            • Methods
              • Untitled Doc
              • requestInitAntiFraud method
              • Untitled Doc
          • Kushki
            • Interfaces
              • Untitled Doc
              • CommissionConfigurationRequest interfaces
              • Untitled Doc
            • Classes
              • Untitled Doc
            • Methods
              • requestBankList function
              • requestCommissionConfiguration function
              • Kushki.js Hosted Fields init function
          • Card
            • Card-Interface
              • Untitled Doc
              • Untitled Doc
            • Interfaces
              • Untitled Doc
              • AppleTokenResponse Interface
              • Untitled Doc
              • Untitled Doc
              • BrandByMerchantResponse Interface
              • ApplePayOptions Interface
              • ApplePayPaymentContact Interface
              • ApplePayGetTokenOptions Interface
              • Untitled Doc
              • Untitled Doc
              • MasterCardBrandingRequest Interface
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • VisaBrandingRequest Interface
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
            • CarApplePay interface
              • ICardApplePay Interface
            • Errors
              • Untitled Doc
            • Methods
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • requestInitCardBrandingAnimation method
              • Untitled Doc
              • requestBrandsByMerchant method
            • Types
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
    • Schemas
      • webhooksChargeback
      • one-and-two-step-payment
      • webhooks
      • transactionType
      • threeDomainSecure
      • product
      • payment_submethod
      • paymentMethod
      • orderDetails
      • headers
      • extraTaxes
      • documentType
      • currency
      • currency-cash-in
      • currency-CL
      • binInfo
      • UnexpectedErrorResponse
      • SubscriptionUpdate
      • SubscriptionAdjustmentRequest
      • Subscription
      • Submerchant
      • Shipping-Address
      • Promotions
      • Metadata
      • Language
      • InvalidBinResponse
      • GetConfigurationRequest
      • ErrorResponse
      • Deferred
      • Country
      • ContactDetails
      • ChargesVoidCardResponse
      • Channel
      • Card
      • Billing-Address
      • BadRequestResponse
      • Amount
      • Amount-cash-in
      • Amount-CL
  • APPIAN-SUBMERCHANT-REGISTER
    • Submerchant Validation in Batch
      POST
    • Query submerchant status by requestId/submerchantId
      GET
    • Get submerchantIds
      GET
    • Get credentials for submerchants
      POST
  1. APPIAN-SUBMERCHANT-REGISTER

Get credentials for submerchants

POST
/onboarding/v1/submerchants/credentials
Allows a PSP (Payment Service Provider) to retrieve the transactional credentials (public and private keys) of one or more submerchants already created in Kushki.
This endpoint is authenticated using the PSP API Key, which is generated through the Appian portal. It is designed for PSPs managing multiple merchants under their ecosystem, enabling secure access to credential data per submerchant.

Important considerations#

You can submit multiple merchantIds in a single request.
For successful responses, the returned publicCredential and privateCredential are the keys used for transactional operations such as charges and subscriptions.
This endpoint only returns credentials for submerchants associated with the authenticated PSP.
If a merchantId is not valid or does not meet the criteria, the API will return the submerchantId and a descriptive message.
The submerchant does not belong to the authenticated PSP: The ID is valid but belongs to a different PSP.
Submerchant not found: The ID does not exist in the system, or the onboarding process is not yet complete.

Request

Header Params

Body Params application/json

Examples

Responses

🟢201
application/json
Created
Body

🟠400
🟠403
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/onboarding/v1/submerchants/credentials' \
--header 'X-Api-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "submerchantIds": [
        "20090200103691174000",
        "00000000108451820000",
        "80000000101279730000",
        "10000000103480033000"
    ]
}'
Response Response Example
201 - 201 Created
{
    "pspId": "138",
    "credentials": [
        {
            "submerchantId": "20000000123456789000",
            "publicCredential": "a1b2c3d4e5f64718a9b01234abcd5678",
            "privateCredential": "f1e2d3c4b5a60987cdef1234abcd5678"
        },
        {
            "submerchantId": "20000000987654321000",
            "publicCredential": "1234abcd5678ef9012bc3456de7890fa",
            "privateCredential": "abcd1234ef5612cd7890ab34cdef5678"
        },
        {
            "submerchantId": "99999999123456780000",
            "message": "The submerchant does not belong to the authenticated PSP"
        }
    ]
}
Modified at 2026-01-29 21:17:00
Previous
Get submerchantIds
Built with