Subscription

Cadastra uma nova assinatura

Changed on
post/api/v1/Subscription

Request

  • Base URL
    https://api.meucartaosim.com.br (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header Authorization

Request body

personIdinteger
planIdinteger
paymentMethodIdinteger
dueTypestring nullable
dueDayinteger
dueReferencestring nullable
establishmentIdinteger
voucherIdinteger nullable
adhesionTermstring nullable
freeDependentsinteger
maxDependentsinteger
installmentinteger
dependentValuenumber double
paymentMethodCodestring nullable
enelClientIdstring nullable
indicatedBystring nullable
isPresentialboolean
registerUserIdinteger
creditCardTokenstring nullable
isMigratingboolean
useCheckoutSessionboolean
channelstring nullable

Response

OK

totalinteger
responseTimeinteger
feedbackstring nullable
status'Continue' | 'SwitchingProtocols' | 'Processing' | 'EarlyHints' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultiStatus' | 'AlreadyReported' | 'IMUsed' | 'MultipleChoices' | 'MovedPermanently' | 'Found' | 'SeeOther' | 'NotModified' | 'UseProxy' | 'Unused' | 'TemporaryRedirect' | 'PermanentRedirect' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'MisdirectedRequest' | 'UnprocessableEntity' | 'Locked' | 'FailedDependency' | 'UpgradeRequired' | 'PreconditionRequired' | 'TooManyRequests' | 'RequestHeaderFieldsTooLarge' | 'UnavailableForLegalReasons' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported' | 'VariantAlsoNegotiates' | 'InsufficientStorage' | 'LoopDetected' | 'NotExtended' | 'NetworkAuthenticationRequired'

Changes

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: text/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/*+json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: text/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/*+json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: text/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/*+json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: text/json)

    • breaking

      the // request property's minLength was increased from 0 to 1 (media type: application/*+json)

    • info

      added the new optional request property // (media type: application/json)

    • info

      added the new optional request property // (media type: text/json)

    • info

      added the new optional request property // (media type: application/*+json)

    • info

      added the new optional request property // (media type: application/json)

    • info

      added the new optional request property // (media type: text/json)

    • info

      added the new optional request property // (media type: application/*+json)

    • info

      added the new optional request property // (media type: application/json)

    • info

      added the new optional request property // (media type: text/json)

    • info

      added the new optional request property // (media type: application/*+json)

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status