Skip to main content
POST
/
accounts
/
{id}
/
payment-methods
Step 1 -- Create a Stripe SetupIntent for a payment method
curl --request POST \
  --url https://api.arcuserp.com/v1/accounts/{id}/payment-methods \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "card"
}'
{
  "object": "setup_intent",
  "client_secret": "<string>",
  "setup_intent_id": "<string>",
  "status": "<string>",
  "publishable_key": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.arcuserp.com/llms.txt

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

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Path Parameters

id
string<uuid>
required

Body

application/json
type
enum<string>
default:card
Available options:
card,
us_bank_account

Response

SetupIntent created

object
enum<string>
Available options:
setup_intent
client_secret
string
setup_intent_id
string
status
string
publishable_key
string