Skip to main content
POST
Error

Authorizations

X-API-KEY
string
header
required

The authorization key obtained from the CSP organization.

Headers

X-B3-TraceId
string

The TraceId indicates the overall ID of the trace. Every span in a trace shares this ID. The X-B3-TraceId header is encoded as 32 or 16 lower-hex characters. For example, a 128-bit TraceId header might look like 463ac35c9f6413ad48485a3953bb6124.

X-B3-SpanId
string

The SpanId is 64-bit in length and indicates the position of the current operation in the trace tree. The value should not be interpreted; it may or may not be derived from the value of the TraceId. The X-B3-SpanId header is encoded as 16 lower-hex characters. For example, a SpanId header might look like a2fb4a1d1a96d312. Unless propagating only the Sampling State, the X-B3-SpanId header is required.

X-B3-ParentSpanId
string

The ParentSpanId is 64-bit in length and indicates the position of the parent operation in the trace tree. When the span is the root of the trace tree, there is no ParentSpanId. The X-B3-ParentSpanId header may be present on a child span and must be absent on the root span. It is encoded as 16 lower-hex characters. For example, a ParentSpanId header might look like 0020000000000001.

Body

application/json

An account is the end customer account which is referenced in the billing system. The Account holds the terms of a relationship for the partner services that has been entitled to a Customer.

identifierType
enum<string>
required

The type of a customer account identifier.

Available options:
ban,
msisdn,
email,
stbtoken,
esn
Maximum string length: 20
identifier
string
required

An identifier that can be used to locate an aggregator customer account.

Maximum string length: 256
Pattern: ^[0-9]{10}$
partnerCode
string
required

Identifies the OTT service requesting the account validation. If this parameter is missing, the request is being triggered by internal MarketONE processes.

Maximum string length: 16
metadata
object

A set of key/value pairs that you can attach to an object. Useful for storing additional information.

Response

An account object.

The Account represents a billing relationship with a customer. As such it can contain as much or as little information as you collect about customers (people or organizations) to which you offer billing and subscriptions. Subscriptions and Transactions must belong to an Account - as such, Accounts will be required in MarketONE for billing. An Account can have any number of children accounts and may have up to one parent account. An Account owns the “on file” payment methods to be used for billing. Payment Methods can be created at the same time as an Account being created or updated, but when updating an existing Payment Method the Payment Method Endpoint must be used.

status
string
required

Account status

payment_methods
object[]
required

The payment methods for this Account.

id
string

Primary account identifier. Either id or external_id is mandatory.

Maximum string length: 128
external_id
string

An additional Aggregator-specified unique identifier for when you have two external (non-MarketONE) systems using two different identification schemes for the same customer. It can be used in place of vid or id. Mandatory in case id is not provided.

Maximum string length: 128
partner_customer_id
string

Optional parameter used in case of migration of an existing customer and the same partner customer id need to be reused..

type
string

Account type

email
string

The email address associated with this Account.

language
string

The language (code) preferred for communications.

name
string

The name of the customer primarily associated with this Account.

shipping_address
object

The Address object represents a physical or mailing address.

metadata
object

A set of key/value pairs that you can attach to an object. Useful for storing additional information.