Skip to main content
PUT
/
api
/
v2
/
network
/
aff-billing
/
payment-method
View/update payment method (PUT)
curl --request PUT \
  --url 'https://{domain}/api/v2/network/aff-billing/payment-method/?api-key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 1,
  "payment_method_type": "string",
  "is_primary": true,
  "supported_currencies": [
    "string"
  ]
}
'
{
  "status": "success",
  "code": 200,
  "name": "OK",
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.scaleo.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

api-key
string
query
required

API key passed as query parameter. User must have api_status enabled.

Body

application/json
id
integer
payment_method_type
string
details
object
is_primary
boolean
supported_currencies
string[]

Response

Payment method updated.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string