Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.01 KB

bulk-swap-plan-response.md

File metadata and controls

39 lines (30 loc) · 1.01 KB

Bulk Swap Plan Response

Defines output parameters in a response of the BulkSwapPlan endpoint.

Structure

BulkSwapPlanResponse

Fields

Name Type Tags Description Getter Setter
errors ?(Error[]) Optional Errors encountered during the request. getErrors(): ?array setErrors(?array errors): void
affectedSubscriptions ?int Optional The number of affected subscriptions. getAffectedSubscriptions(): ?int setAffectedSubscriptions(?int affectedSubscriptions): void

Example (as JSON)

{
  "affected_subscriptions": 12,
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}