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

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
affiliate_id
integer
payment_method_type
string

Payment method type (e.g. bank_wire, paypal).

details
object

Payment method details (structure varies by type).

is_primary
boolean
supported_currencies
string[]

Response

Payment method created.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object