Assign a Handler to Suspended Payment

post

/bcws/webresources/v1.0/payments/suspense/assignhandler

Assigns an authorized handler to manage the suspended payment.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : ResourceRef
Type: object
Show Source
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : ResourceRef
Type: object
Show Source
Back to Top

Response

201 Response

A handler was successfully assigned to the suspended payment.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to assign a handler for a suspended payment by submitting a POST request on the REST resource using cURL. For more information about cURL, see "Use cURL".

cURL Command

curl -X POST 'http://hostname:port/bcws/webresources/version/payments/suspense/assignhandler' -H 'content-type: application/json' -d @supendedPaymentHandler.json

where:

  • hostname is the URL for the Billing Care REST server.
  • port is the port for the Billing Care REST server.
  • version is the version of the API you're using, such as v1.0.
  • supendedPaymentHandler.json is the JSON file that specifies the handler details.

Example of Request Body

This example shows the contents of the supendedPaymentHandler.json file sent as the request body.

 {
    "locale": "en_US",
    "paymentEventRef": {
        "id": "0.0.0.1+-event-billing-payment-cash+328023900984401663"
    },
    "userName": "HeadCSR"
}

Example of Response Body

If successful, the response code 201 is returned with true in the response body.

Back to Top