Skip to main content

Preview SIM card orders

POST 

/sim_card_order_preview

Preview SIM card order purchases.

Request

Body

    quantity integerrequired

    Possible values: >= 1

    The amount of SIM cards that the user would like to purchase in the SIM card order.

    address_id int64required

    Uniquely identifies the address for the order.

Responses

202: Successful response

Schema

    data

    object

    total_cost

    object

    amount string

    A string representing the cost amount.

    currency currency

    ISO 4217 currency string.

    shipping_cost

    object

    amount string

    A string representing the cost amount.

    currency currency

    ISO 4217 currency string.

    sim_cards_cost

    object

    amount string

    A string representing the cost amount.

    currency currency

    ISO 4217 currency string.

    record_type string

    Identifies the type of the resource.

    quantity integer

    The amount of SIM cards requested in the SIM card order.

422: Unprocessable entity. Check the 'detail' field in response for details.

Schema

    errors

    Error[]

  • Array [

  • code intrequired
    title stringrequired
    detail string

    source

    object

    pointer json-pointer

    JSON pointer (RFC6901) to the offending entity.

    parameter string

    Indicates which query parameter caused the error.

    meta object
  • ]

Loading...