Activate merchant application payment provider
Activates the previously configured payment provider for the given application. The application must belong to the authenticated merchant.
curl -X PATCH "https://api.example.com/api/v1/applications/example_string/providers/stripe/activate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
import requests
import json
url = "https://api.example.com/api/v1/applications/example_string/providers/stripe/activate"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)"
}
response = requests.patch(url, headers=headers)
print(response.json())
const response = await fetch("https://api.example.com/api/v1/applications/example_string/providers/stripe/activate", {
method: "PATCH",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("PATCH", "https://api.example.com/api/v1/applications/example_string/providers/stripe/activate", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN (JWT)")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api.example.com/api/v1/applications/example_string/providers/stripe/activate')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN (JWT)'
response = http.request(request)
puts response.body
{
"applicationId": "00000000-0000-0000-0000-000000000000",
"provider": "stripe",
"isActive": true,
"paymentMethods": [
"card",
"blik"
],
"keyFingerprint": "rk_live_****x1sf",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
{
"error": "Unauthorized",
"message": "Authentication required. Please provide a valid API token",
"code": 401
}
{
"error": "Forbidden",
"message": "You don't have permission to access this resource",
"code": 403
}
{
"error": "Not Found",
"message": "The requested resource was not found",
"code": 404
}
{
"error": "Conflict",
"message": "The request conflicts with the current state of the resource",
"code": 409,
"details": "Resource already exists"
}
{
"error": "Error",
"message": "Service temporarily unavailable.",
"code": 502
}
{
"error": "Error",
"message": "Request timed out.",
"code": 504
}
/api/v1/applications/{applicationId}/providers/{providerName}/activateTarget server for requests. Edit to use your own host.
Bearer token (JWT) - just enter the token, "Bearer" prefix will be added automatically
ID of the application that owns the provider configuration.
Name identifier of the payment provider to activate.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token (JWT). Authentication token required.
Path Parameters
ID of the application that owns the provider configuration.
Responses
Merchant application ID this configuration belongs to.
Payment provider name.
Whether the configuration is active.
Enabled payment method types.
First 8 characters and last 4 characters of the API key with the middle redacted. Used to identify the key without exposing its value.
Creation timestamp.
Last update timestamp.