Skip to main content
POST
Update direct payment gateway credentials

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

name
enum<string>
required

Direct gateway provider.

Available options:
stripe,
authorize_net,
paypal,
qpaypro

Body

application/json

Validated request fields for this operation.

stripe_gateway_id
integer

Existing current-organization gateway record ID.

Example:

42

id
integer

Existing current-organization gateway record ID.

Example:

42

paypal_gateway_id
integer

Existing current-organization gateway record ID.

Example:

42

qpay_gateway_id
integer

Existing current-organization gateway record ID.

Example:

42

stripe
string
write-only

Presence enables saving direct Stripe; an empty value may remove the resulting row.

Example:

"REDACTED"

pivateKey
string
write-only

Legacy misspelled Stripe private-key field.

Example:

"REDACTED"

publicKey
string
write-only

Stripe publishable key, Authorize.Net transaction key or PayPal client ID, depending on gateway.

Example:

"REDACTED"

privateKey
string
write-only

Authorize.Net API login or PayPal client secret, depending on gateway.

Example:

"REDACTED"

stripe_webhook_signing_secret
string
write-only

Stripe endpoint signing secret.

Example:

"REDACTED"

paypal_webhook_id
string
write-only

PayPal webhook identifier.

Example:

"REDACTED"

paypal
string
write-only

Presence enables saving PayPal. Empty public and private keys remove an existing row.

Example:

"REDACTED"

x_login
string
write-only

Qpaypro login; all three Qpaypro fields are needed to save.

Example:

"REDACTED"

x_api_secret
string
write-only

Qpaypro API secret.

Example:

"REDACTED"

x_private_key
string
write-only

Qpaypro private key.

Example:

"REDACTED"

Response

Operation result.

message
string
Example:

"Settings saved successfully."