On This Page

{#jumplink-list}  
[Markdown](/docs/cybs/en-us/platform/developer/all/rest/rest-getting-started/restgs-jwt-message-intro/restgs-jwt-message-test.md)  
Filter  
FILTER BY TAG

Test Your Setup {#restgs-jwt-message-test}
==========================================

You can send a test API request to validate that your account, API key, JWT messages, and MLE security are working as intended.  
`Cybersource` recommends that you test and verify that your payment system can securely send and receive REST API messages before transitioning to a production account.

Postman Testing
---------------

You can use Postman to verify your HTTP signature message. To download a Postman collection of basic payment API requests, see the [REST API](https://documenter.getpostman.com/view/2960117/S17m1riA?version=latest "") collection on the Postman website.  
When testing an API outside of the Developer Center's API Reference sandbox, send your test API requests to the test server: `https://apitest.cybersource.com`  
For example, to test an authorization request, you can send the request to this endpoint: `https://apitest.cybersource.com``/pts/v2/payments`

Test Your REST---API Response MLE Key {#restgs-jwt-message-mle-dev-center}
==========================================================================

Follow these steps to verify that your API response MLE key is working. If you have not already created or submitted an API response MLE certificate, see the Create or Submit a REST---API Response MLE Key section in [Enable Message-Level Encryption](/docs/cybs/en-us/platform/developer/all/rest/rest-getting-started/restgs-jwt-message-intro/restgs-mle-intro.md "").

1. Go to the REST API Reference page in the `Cybersource` Developer Center:  
   [`https://developer.cybersource.com/api-reference-assets/index.html#static-home-section`](https://developer.cybersource.com/api-reference-assets/index.md#static-home-section "") {#restgs-jwt-message-mle-dev-center_step-1}
   {#restgs-jwt-message-mle-dev-center_step-1}

2. On the left navigation panel, choose an API that supports MLE. For testing purposes, you can choose **Intelligent Commerce \&gt; Intelligent Commerce Product \&gt; Enroll a Card** .  
   MLE support is indicated by **Request MLE** and **Response MLE** at the top of the screen.  
   ![](/content/dam/documentation/cybs/en-us/topics/platform/rest/getting-started/images/restgs-mle-tags.png/jcr:content/renditions/original) {#restgs-jwt-message-mle-dev-center_step-2}
   {#restgs-jwt-message-mle-dev-center_step-2}

3. Choose the **MLE Configuration** tab.{#restgs-jwt-message-mle-dev-center_step-3}
   {#restgs-jwt-message-mle-dev-center_step-3}

4. In the Message Level Encryption Credentials section, enter your API response MLE key credentials:

   * **Response encryption:** Enter the key ID of your API response MLE key.  
     You saved this key ID in Step 10 in the Create or Submit an API Response MLE Key section in [Enable Message-Level Encryption](/docs/cybs/en-us/platform/developer/all/rest/rest-getting-started/restgs-jwt-message-intro/restgs-mle-intro.md "").
   * **Response decryption:** Click **Browse** to submit your own private decryption key from your local system. Only *.p12* files are supported.

   ![](/content/dam/documentation/cybs/en-us/topics/platform/rest/getting-started/images/restgs-mle-dev-center-upload.png/jcr:content/renditions/original) {#restgs-jwt-message-mle-dev-center_step-4}
   {#restgs-jwt-message-mle-dev-center_step-4}

5. Click **Update Credentials**.{#restgs-jwt-message-mle-dev-center_step-5}
   {#restgs-jwt-message-mle-dev-center_step-5}

6. From the **Send** drop-down menu, choose **Send Request with Message Level Encryption**.{#restgs-jwt-message-mle-dev-center_step-6}
   {#restgs-jwt-message-mle-dev-center_step-6}

7. Click **Send** .  
   ![](/content/dam/documentation/cybs/en-us/topics/platform/rest/getting-started/images/restgs-mle-dev-center-send.png/jcr:content/renditions/original) {#restgs-jwt-message-mle-dev-center_step-7}
   {#restgs-jwt-message-mle-dev-center_step-7}

8. When a *Success: HTTP Status Code: 201* message displays in the Response section, your API response key is properly configured.  
   ![](/content/dam/documentation/cybs/en-us/topics/platform/rest/getting-started/images/restgs-mle-ebc-success.png/jcr:content/renditions/original) {#restgs-jwt-message-mle-dev-center_step-8}
   {#restgs-jwt-message-mle-dev-center_step-8}  
   RELATED TO THIS PAGE

* [Getting Started with REST](https://developer.cybersource.com/docs/cybs/en-us/platform/developer/all/rest/rest-getting-started/restgs-intro.md)
* [Response Codes](https://developer.cybersource.com/api/reference/response-codes.md)
* [API Field Reference Guide](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/rest-api-fields-intro.md)
* [API Reference Sandbox](https://developer.cybersource.com/api-reference-assets/index.md#static-home-section)
* [Business Center Test](https://businesscentertest.cybersource.com/ebc2/)
* [Business Center Production](https://businesscenter.cybersource.com/ebc2/)
* [Customer Support](https://support.visaacceptance.com/)

