POST api/tt_doc_sa/vip-split/refund/confirm-manual

Request Information

URI Parameters

None.

Body Parameters

VipSplitRefundConfirmRequest
NameDescriptionTypeAdditional information
PaymentGroupId

globally unique identifier

None.

PaymentOwnerToken

globally unique identifier

None.

SourceDocumentId

globally unique identifier

None.

SourcePaymentLine

integer

Range: inclusive between 1 and 2147483647

RefundDocumentId

globally unique identifier

None.

RefundOperationId

globally unique identifier

None.

CoordinatorControlVersion

Collection of byte

Required

Max length: 8

Min length: 8

SourceControlVersion

Collection of byte

Required

Max length: 8

Min length: 8

Request Formats

application/json, text/json

Sample:
{
  "paymentGroupId": "4c31183d-50ca-4205-9417-ca875c6e51b6",
  "paymentOwnerToken": "523765d9-8b12-4bca-ade1-301f7bddc7b9",
  "sourceDocumentId": "99297796-1271-4df6-9e0c-9b19c6301b4c",
  "sourcePaymentLine": 4,
  "refundDocumentId": "d6af6c58-f320-466a-8334-9889f72a1e50",
  "refundOperationId": "51d1e573-8520-4c74-9219-f5734d6b4916",
  "coordinatorControlVersion": "QEA=",
  "sourceControlVersion": "QEA="
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VipSplitProcessResponse
NameDescriptionTypeAdditional information
PaymentGroupId

globally unique identifier

None.

ActivityId

globally unique identifier

None.

CoordinatorDocumentId

globally unique identifier

None.

ProcessState

DocSaProcessState

None.

SaleAmount

decimal number

None.

AppliedBalanceAmount

decimal number

None.

AmountToCollect

decimal number

None.

ControlVersion

Collection of byte

None.

Parts

Collection of VipSplitPaymentPartResponse

None.

InvoiceDocumentIds

Collection of globally unique identifier

None.

MaximumPayments

integer

None.

PaymentsAssigned

integer

None.

LastPaymentRequired

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "paymentGroupId": "4f851ac5-4556-4a31-9598-5c305a279ed5",
  "activityId": "de217c77-6316-4d9e-a119-e5e57e3984a9",
  "coordinatorDocumentId": "2532a351-124d-4188-9b3c-a25ce88e119e",
  "processState": 1,
  "saleAmount": 4.0,
  "appliedBalanceAmount": 5.0,
  "amountToCollect": 6.0,
  "controlVersion": "QEA=",
  "parts": [
    {
      "$id": "2",
      "documentId": "da0e7793-f067-406e-9d2a-bab27703a7ac",
      "documentNumber": "sample string 2",
      "partNumber": 3,
      "partsCount": 4,
      "amount": 5.0,
      "partState": 1,
      "controlVersion": "QEA="
    },
    {
      "$ref": "2"
    }
  ],
  "invoiceDocumentIds": [
    "fb329990-13bb-45d4-8b2a-4f2c89883910",
    "ff8801f5-bd4f-4136-a4e7-827eabed034f"
  ],
  "maximumPayments": 7,
  "paymentsAssigned": 8,
  "lastPaymentRequired": true
}