create_payment_account
POST /v1/payments/accounts
POST
/v1/payments/accounts
Request Body required
Section titled “Request Body required ”object
label
required
string
metadata
owner_id
required
string
owner_type
required
string
private_key
string | null
public_address
string | null
rail
required
string
Responses
Section titled “ Responses ”Payment account created
object
created_at
required
string format: date-time
id
required
Prefixed identifier with ‘payacct’ prefix
string
Example
payacct_01933b5a00007000800000000000001 label
required
string
metadata
required
organization_id
required
string
owner_id
required
string
owner_type
required
Principal class that owns a payment account.
string
public_address
string | null
rail
required
Payment rail used to settle a machine payment.
string
status
required
string
updated_at
required
string format: date-time
Invalid input
Standard error response for API endpoints.
object
error
required
Error message describing what went wrong.
string