Table of Contents

Worldpay - Get response

Get response from 3rd party payment provider.

URL

/cnbs/v1/tokenization/response

Method

GET

Overview

High level summary of required operations:

Sample Implementation

Live tokenization examples

Parameters

Required

Example

cURL

curl -X GET "https://<<your.server.here>>/cnbs/v1/tokenization/response?sap-client=800&sap-language=EN&apiid=CNBSMV01R&action=02&access_token=bfe239ef-14c5-4473-bd6b-428f27034c5d" -H  "accept: application/json" -H  "content-type: application/json" -H  "cnbssysid: gPuM1VyY1dxlTE2MEs2yajJUkX3/4+2Pw1alRw4BOtI=" -H  "authorization: Basic Q05CU0FQSUlDRjpjbmJzNHlvdTE="

Response

Example Response

JSON:

{
  "paymentcard": {
    "payment_card_type": "VISA",
    "payment_card_name": "John Doe",
    "payment_card_token": "-E803-1111-1000000000000H",
    "valid_from": "06-01-2017",
    "valid_to": "05-31-2027"
  },
  "status": {
    "message_type": "S",
    "message_identification": "/CNBS/X_API",
    "message_number": 10,
    "message_line_string": "Request successfully processed"
  }
}