OpsPayment

Schema #/components/schemas/OpsPayment of contract 1.0.0-draft.17.

  • id Uuidrequiredread-only

    Also used as the provider idempotency key.

    Fields of id
  • customerId Uuidrequiredread-only

    Fields of customerId
  • kind PaymentKindrequiredread-only

    Fields of kind
  • status PaymentStatusrequiredread-only

    Fields of status
  • statusReason string | nullread-only

  • sourceBalanceId Uuidrequired

  • recipientId Uuid | null

  • recipient PaymentParty | null

  • amount Moneyrequired

  • sendAmount Money | null

  • quoteId Uuid | null

  • rate Rate | null

  • fees array of FeeLinerequiredread-only

  • totalDebit Moneyrequiredread-only

    Fields of totalDebit
  • rail Railrequiredread-only

    Fields of rail
  • reference stringrequired

    max length 140

  • purposeCode string | null

    max length 35

  • chargeBearer ChargeBearer | null

  • urgent booleanrequired

  • scheduledFor Date | null

  • estimatedArrival Timestamp | null

  • attachmentDocumentIds array of Uuid

  • approval object | nullread-only

    Fields of approval
  • providerRef string | nullread-only

    Provider reference (e.g. UETR for SWIFT).

  • channel Channelrequiredread-only

    Fields of channel
  • createdBy Uuidread-only

    Fields of createdBy
  • apiKeyId Uuid | null

  • submittedAt Timestamp | null

  • completedAt Timestamp | null

  • createdAt Timestamprequiredread-only

    Fields of createdAt
  • updatedAt Timestampread-only

    Fields of updatedAt
  • transactionId Uuid | null

  • metadata Metadata

  • processing PaymentProcessing

  • bankFile object | null

    Only on GET /payments/{paymentId} for payments on an operator-run bank-file connection.

    Fields of bankFile
  • initiatedBy object | null

    Set when operator staff or a super admin initiated the payment for the customer. Staff views carry the user id, the full name and kind (platform for a super admin); customer views carry the first name only, with userId: null and kind: staff ("your account manager").

    Fields of initiatedBy
    • userId Uuid | nullrequired

    • name string | nullrequired

    • kind stringrequired

      One of: "staff", "platform"

  • customerName stringrequired

  • customerNumber stringrequired

  • connectionId Uuid | null

  • providerStatus string | null

  • risk RiskRating | null

  • flags array of stringrequired

  • allowedActions array of OpsPaymentActionNameread-only

    Staff actions the caller may take now (POST /ops/payments/{paymentId}/actions/{action}): computed from the payment state machine (status, approval state, recall support of the routed connection and rail) and the caller's capabilities (payments.ops); empty for terminal payments. Every action except hold needs a fresh ops.payment_action step-up.