Skip to content
Navigation

Charge the stored card of a subscription again, without the customer (Idempotency-Key required)

POST
/v1/payments/{paymentId}/merchant-charges

Merchant-initiated charge (renewal of a subscription, card-on-file) on the card of a succeeded payment whose lines contain a subscription line: a new payment (own paymentId, sourcePaymentId = the source), same card, and the MID or profile of its series, no session, no security code, no 3DS (a 3DS asked by the provider fails it with three_ds_unsupported). Answers 201 also for a refusal (status failed). A timeout gives status processing: never charge again while a payment is processing; find it with GET /v1/payments?orderRef=. Never counted in the MID caps nor as a new sale. 409 CARD_TOKEN_REVOKED when the card token of the series (the first payment, or the one this source was charged from) was revoked. Another MID (NV6, lot Q22) only when the merchant asked for it, with the scheme reference of the first payment: a MID of that site); routing.transfer tells it. 409 MID_PAUSED (errors[0].code: mid_paused, network_reference_missing or mid_not_accepting) when its MID is closed and nothing replaces it: nothing is charged, recorded nor counted as a try, the webhook renewal.paused tells it (once an hour per order), and the same request (same Idempotency-Key) goes through once a MID is open. 409 MID_TRANSFER_NOT_POSSIBLE: the MID named by midId cannot take this card or this series.

Authorization

  • cmsHmac
    API key in header
    required

    Authorization: <token>

Path parameters

  • paymentId
    string
    required
    pattern: ^pay_[0-9a-f]{32}$

Header parameters

  • Idempotency-Key
    string
    required

    Mandatory on every POST. Same key and same request: the stored answer is replayed (Idempotent-Replayed: true); another request: IDEMPOTENCY_KEY_REUSED; still running: IDEMPOTENCY_IN_PROGRESS (409, Retry-After).

    pattern: ^(?!alert:|external:)[A-Za-z0-9_.:-]{8,255}$
  • Api-Version
    optional
    2026-11-18

    Version of the API: absent, the current version answers; an unknown value is refused (API_VERSION_UNSUPPORTED, 400). Every other answer gives the version that produced it.

    default: "2026-11-18"

Request body JSON required

  • amount
    object
    required
    • amount
      integer
      required
      maximum: 99999999 · minimum: 0
    • currency
      EUR
      required
  • orderRef
    string
    required
    pattern: ^[A-Za-z0-9][A-Za-z0-9._:/#-]{0,63}$
  • lines
    optional
    array of
    object
    • lineRef
      string
      required
      pattern: ^[A-Za-z0-9_.:-]{1,64}$
    • kind
      product
      or
      subscription
      or
      option
      required
    • name
      string
      required
      maxLength: 200 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • quantity
      integer
      required
      maximum: 100 · minimum: 1
    • unitPrice
      object
      required
      • amount
        integer
        required
        maximum: 99999999 · minimum: 0
      • currency
        EUR
        required
    • shipPrice
      object
      required
      • amount
        integer
        required
        maximum: 99999999 · minimum: 0
      • currency
        EUR
        required
    • isShippable
      boolean
      required
    • offerRef
      string
      required
      pattern: ^[A-Za-z0-9_-]{1,32}$
    • variantRef
      optional
      string
      pattern: ^[A-Za-z0-9_-]{1,32}$
  • reason
    optional
    recurring
    or
    unscheduled
    default: "recurring"
  • billingCycleRef
    optional
    string
    pattern: ^[A-Za-z0-9_.:-]{1,64}$
  • cbProtectionDays
    optional

    Any of the following:

    • integer
    • null
  • midId
    optional
    string
    pattern: ^mid_[0-9a-f]{32}$
  • customer
    optional
    object

    Customer of the charge, as known today: replaces the known customer as a whole, and becomes the latest known customer for the next charges. Optional: the latest known one is used. Required when none is known (first charge of an imported card, or CUSTOMER_DATA_REQUIRED).

    • email
      string
      required
      maxLength: 254
    • firstName
      string
      required
      maxLength: 64 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • lastName
      string
      required
      maxLength: 64 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • phone
      optional
      string
      pattern: ^\+[1-9][0-9]{6,14}$
  • billingAddress
    optional
    object

    Billing address of the charge: replaces the known one as a whole, and becomes the latest known one for the next charges. Optional: the latest known one is used. Required when none is known (first charge of an imported card, or CUSTOMER_DATA_REQUIRED).

    • line1
      string
      required
      maxLength: 100 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • postalCode
      string
      required
      maxLength: 16 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • city
      string
      required
      maxLength: 64 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • country
      string
      required
      pattern: ^[A-Z]{2}$
    • line2
      optional
      string
      maxLength: 100 · minLength: 0 · pattern: ^[^\p{Cc}]*$
  • shippingAddress
    optional
    object

    Shipping address of the charge: replaces the known one as a whole, and becomes the latest known one for the next charges. Optional: the latest known one, if any; none when customer and billingAddress are given without it.

    • line1
      string
      required
      maxLength: 100 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • postalCode
      string
      required
      maxLength: 16 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • city
      string
      required
      maxLength: 64 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • country
      string
      required
      pattern: ^[A-Z]{2}$
    • firstName
      string
      required
      maxLength: 64 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • lastName
      string
      required
      maxLength: 64 · minLength: 1 · pattern: ^[^\p{Cc}]*$
    • line2
      optional
      string
      maxLength: 100 · minLength: 0 · pattern: ^[^\p{Cc}]*$
  • metadata
    optional
    map of
    string

Returns

201

Default Response

JSON
  • paymentId
    string
    required
  • status
    processing
    or
    requires_action
    or
    succeeded
    or
    failed
    or
    voided
    required
  • statusDetail
    string
    ·
    one of 8 values
    required
    Allowed values: authorizing, requires_action, verifying, outcome_unknown, review_required, succeeded, failed, voided
  • testMode
    boolean
    required
  • siteRef
    string
    required
  • campaignRef
    string
    required
  • orderRef
    string
    required
  • amount
    object
    required
    • amount
      integer
      required
      maximum: 99999999 · minimum: 0
    • currency
      EUR
      required
  • amountCaptured
    object
    required
    • amount
      integer
      required
      maximum: 99999999 · minimum: 0
    • currency
      EUR
      required
  • amountRefunded
    object
    required
    • amount
      integer
      required
      maximum: 99999999 · minimum: 0
    • currency
      EUR
      required
  • captureMode
    sale
    or
    authorize_only
    required
  • routing
    object
    required
    • mode
      mids
      or
      profile
      or
      none
      required
    • profileRef
      optional
      string
    • transfer
      optional
      object
      • fromMidId
        string | null
        required
      • reason
        requested
        or
        moved
        or
        replacement
        or
        imported
        required
  • mid
    required

    Any of the following:

    • object
      • midId
        string
        required
      • merchantRef
        string
        required
      • descriptor
        optional
        string
    • null
  • card
    object
    required
    • brand
      string
      required
    • last4
      string
      required
    • expMonth
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • expYear
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • funding
      credit
      or
      debit
      or
      prepaid
      or
      unknown
      required
    • wallet
      optional
      apple_pay
      or
      google_pay
    • first6
      optional
      string
      pattern: ^[0-9]{6}$
  • connectorRefs
    object
    required
    • connector
      sandbox
      required
    • orderId
      optional
      string
    • customerId
      optional
      string
    • transactionIds
      optional
      array of
      string
    • purchaseIds
      optional
      array of
      string
  • riskAnalysis
    required

    Any of the following:

    • object
      • cvc
        match
        or
        no_match
        or
        not_checked
        or
        unavailable
        required
      • avs
        object
        required
        • address
          match
          or
          no_match
          or
          not_checked
          or
          unavailable
          required
        • postalCode
          match
          or
          no_match
          or
          not_checked
          or
          unavailable
          required
      • threeDs
        authenticated
        or
        failed
        or
        abandoned
        or
        not_required
        or
        unknown
        required
      • riskLevel
        low
        or
        elevated
        or
        high
        required
      • riskReasons
        array of
        string
        required
      • ipCountry
        required

        Any of the following:

        • string
        • null
      • cardCountry
        required

        Any of the following:

        • string
        • null
      • checkedAt
        string
        required
        format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • null
  • postPurchases
    array of
    object
    required
    • postPurchaseId
      string
      required
    • paymentId
      string
      required
    • step
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • status
      succeeded
      or
      requires_action
      or
      processing
      or
      failed
      required
    • statusDetail
      string
      ·
      one of 8 values
      required
      Allowed values: authorizing, requires_action, verifying, outcome_unknown, review_required, succeeded, failed, voided
    • nextAction
      required

      Any of the following:

      • object
        • type
          redirect
          required
        • url
          string
          required
      • null
    • amount
      object
      required
      • amount
        integer
        required
        maximum: 99999999 · minimum: 0
      • currency
        EUR
        required
    • amountRefunded
      object
      required
      • amount
        integer
        required
        maximum: 99999999 · minimum: 0
      • currency
        EUR
        required
    • connectorRefs
      object
      required
      • connector
        sandbox
        required
      • orderId
        optional
        string
      • transactionIds
        optional
        array of
        string
    • metadata
      map of
      string
      required
    • createdAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • updatedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • failure
      optional
      object
      • code
        string
        required
      • category
        soft
        or
        hard
        or
        technical
        required
      • retryable
        boolean
        required
    • succeededAt
      optional
      string
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • refunds
    array of
    object
    required
    • refundId
      string
      required
    • paymentId
      string
      required
    • amount
      object
      required
      • amount
        integer
        required
        maximum: 99999999 · minimum: 0
      • currency
        EUR
        required
    • amountVoided
      object
      required
      • amount
        integer
        required
        maximum: 99999999 · minimum: 0
      • currency
        EUR
        required
    • status
      pending
      or
      succeeded
      or
      failed
      or
      requires_manual
      required
    • reason
      requested_by_customer
      or
      duplicate
      or
      fraudulent
      or
      withdrawal
      or
      subscription_cancellation
      or
      other
      required
    • source
      api
      or
      external
      required
    • subscriptionCancelled
      boolean
      required
    • createdAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • postPurchaseId
      optional
      string
    • failure
      optional
      object
      • code
        string
        required
    • finalizedAt
      optional
      string
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • metadata
    map of
    string
    required
  • sourcePaymentId
    string | null
    required
  • version
    integer
    required
    maximum: 9007199254740991 · minimum: -9007199254740991
  • createdAt
    string
    required
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • updatedAt
    string
    required
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • cardToken
    optional
    object
    • id
      string
      required
    • customerRef
      string | null
      required
  • cardVerification
    optional
    object
    • mode
      zero_amount
      or
      one_unit
      required
    • release
      none
      or
      pending
      or
      released
      or
      manual
      required
  • authorizationCode
    optional
    string
    pattern: ^[A-Za-z0-9]{1,6}$
  • chargebackAlerts
    optional
    array of
    object
    • alertId
      string
      required
    • provider
      sandbox
      or
      verifi
      or
      ethoca
      required
    • alertType
      dispute
      or
      fraud
      required
    • status
      string
      ·
      one of 8 values
      required
      Allowed values: received, pending_decision, refunding, refunded, declined, unmatched, network_resolved, refund_failed
    • amount
      object
      required
      • amount
        integer
        required
        maximum: 99999999 · minimum: 0
      • currency
        EUR
        required
    • receivedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • nextAction
    optional
    object
    • type
      redirect
      required
    • url
      string
      required
  • failure
    optional
    object
    • code
      string
      required
    • category
      soft
      or
      hard
      or
      technical
      required
    • retryable
      boolean
      required
    • declineReason
      optional
      string
      ·
      one of 7 values
      Allowed values: insufficient_funds, do_not_honor, try_again_later, lost_or_stolen_card, suspected_fraud, do_not_retry, other
    • providerCode
      optional
      string
      maxLength: 64
    • providerMessage
      optional
      string
      maxLength: 200
  • threeDs
    optional
    object
    • required
      boolean
      required
    • outcome
      optional
      authenticated
      or
      failed
      or
      abandoned
      or
      unknown
  • verification
    optional
    object
    • rule
      string
      required
    • verifiedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • evidence
      map of
      string | number | boolean
      required
  • postPurchase
    optional
    object
    • token
      string
      required
    • expiresAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • remainingSteps
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
  • cardTokenId
    optional
    string
  • renewalRetry
    optional
    object
    • billingCycleRef
      string
      required
    • attempt
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • mode
      optional
      orchestrator
      or
      merchant
    • nextAttemptAt
      optional

      Any of the following:

      • string
      • null
    • nextAttempt
      optional
      object
      • number
        integer
        required
        maximum: 9007199254740991 · minimum: -9007199254740991
      • amount
        object
        required
        • amount
          integer
          required
          maximum: 99999999 · minimum: 0
        • currency
          EUR
          required
    • holdReducedPrice
      optional
      boolean
  • succeededAt
    optional
    string
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$

default

Problem: the stable code is in code, see x-error-catalog.

JSON
  • type
    string
    required
  • title
    string
    required
  • status
    integer
    required
    maximum: 599 · minimum: 400
  • code
    string
    ·
    one of 81 values
    required
    Allowed values: AMOUNT_LIMIT_EXCEEDED, AMOUNT_MISMATCH, API_VERSION_UNSUPPORTED, AUTH_IP_NOT_ALLOWED, AUTH_KEY_INVALID, AUTH_MALFORMED, AUTH_NONCE_REPLAYED, AUTH_SCOPE_FORBIDDEN, AUTH_SIGNATURE_INVALID, AUTH_TIMESTAMP_OUT_OF_WINDOW, BAD_REQUEST, CAMPAIGN_MISMATCH, CARD_BRAND_UNSUPPORTED, CARD_CVC_INVALID, CARD_EXPIRED, CARD_EXPIRY_INVALID, CARD_HOLDER_INVALID, CARD_NOT_ACCEPTED, CARD_NUMBER_INVALID, CARD_REF_INVALID, CARD_REF_USED, CARD_TOKEN_REVOKED, CARD_VERIFICATION_NOT_AVAILABLE, CONFLICT, CONNECTOR_ACCOUNT_MISMATCH, CONNECTOR_AUTH_FAILED, CONNECTOR_CAPABILITY_MISSING, CONNECTOR_DISABLED, CONNECTOR_ERROR, CONNECTOR_UNAVAILABLE, CUSTOMER_DATA_REQUIRED, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_KEY_INVALID, IDEMPOTENCY_KEY_MISSING, IDEMPOTENCY_KEY_REUSED, INTERNAL_ERROR, LIVE_MODE_DISABLED, METHOD_NOT_ALLOWED, MID_PAUSED, MID_TRANSFER_NOT_POSSIBLE, NOT_FOUND, ORIGIN_NOT_ALLOWED, PAGE_CARD_ENTRY_DISABLED, PAYLOAD_TOO_LARGE, PAYMENT_INVALID_STATE, PAYMENT_IN_PROGRESS, PAYMENT_METHOD_NOT_ALLOWED, POST_PURCHASE_LIMIT_REACHED, POST_PURCHASE_STEP_DONE, POST_PURCHASE_TOKEN_INVALID, POST_PURCHASE_WINDOW_CLOSED, PROCESSOR_NOT_ENABLED, RATE_LIMITED, REFUND_EXCEEDS_CAPTURED, REFUND_NOT_SUPPORTED, RENEWAL_ALREADY_PAID, RENEWAL_RETRY_NOT_ALLOWED, RENEWAL_RETRY_TOO_EARLY, REQUEST_ORIGIN_FORBIDDEN, RISK_VELOCITY_LIMIT, SANDBOX_ONLY, SERVER_CARD_ENTRY_DISABLED, SERVICE_UNAVAILABLE, SESSION_EXPIRED, SESSION_INVALID_STATE, SESSION_LIMIT_REACHED, SESSION_SECRET_INVALID, SITE_DISABLED, SITE_UNKNOWN, TEST_CARD_REQUIRED, TEST_KEY_LIVE_REQUEST, UNSUPPORTED_CURRENCY, UNSUPPORTED_MEDIA_TYPE, VALIDATION_FAILED, VOID_NOT_SUPPORTED, WALLET_AMOUNT_MISMATCH, WALLET_MERCHANT_VALIDATION_FAILED, WALLET_NOT_AVAILABLE, WALLET_TOKEN_INVALID, WEBHOOK_URL_NOT_ALLOWED, ZERO_AMOUNT_REQUIRES_AUTHORIZE_ONLY
  • requestId
    string
    required
  • retryable
    boolean
    required
  • detail
    optional
    string
  • errors
    optional
    array of
    object
    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

Type to search…

↑↓ navigate↵ selectEsc close