Skip to main content
POST
/
accounts
/
{id}
/
payment-methods
/
{pm_id}
/
attach
Step 2 -- Attach a confirmed Stripe PaymentMethod to the account
curl --request POST \
  --url https://api.arcuserp.com/v1/accounts/{id}/payment-methods/{pm_id}/attach \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "save_for_future": true
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "object": "payment_method",
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "method_type": "credit_card",
  "is_default": true,
  "is_verified": true,
  "last4": "<string>",
  "brand": "<string>",
  "exp_month": 123,
  "exp_year": 123,
  "bank_name": "<string>",
  "account_type": "<string>",
  "stripe_payment_method_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

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

Account ID

pm_id
string
required

Stripe PaymentMethod ID (e.g. pm_xyz)

Body

application/json
save_for_future
boolean
default:true

Response

Payment method attached

A reusable payment instrument stored on an account (card, ACH bank account, etc.).

id
string<uuid>
object
enum<string>
Available options:
payment_method
account_id
string<uuid>
method_type
enum<string>
Available options:
credit_card,
debit_card,
ach,
wire,
check_on_file,
store_credit
is_default
boolean
is_verified
boolean

ACH microdeposit-verified or card-AVS-verified.

last4
string | null
brand
string | null

visa, mastercard, amex, etc.

exp_month
integer | null
exp_year
integer | null
bank_name
string | null
account_type
string | null

checking / savings (ACH only).

stripe_payment_method_id
string | null
read-only
created_at
string<date-time>
read-only