# Configuring Environment Variables
source: https://developer.mastercard.com/account-to-account-commerce-for-dsp/tutorial/postman-tutorial/step3/index.md

## Configuring Environment Variables {#configuring-environment-variables}

Mastercard has configured a set of pre-defined values that participants must utilise before running the test scripts. These values could be seen under Environments. Participants should only change the field values that are mentioned in the test cases before executing an API.

![Environment Variable](https://static.developer.mastercard.com/content/account-to-account-commerce-for-dsp/uploads/Configure1.png)

## Populating Environment Variables {#populating-environment-variables}

DSPs must configure environment variables in the Postman application so that test scripts produce the expected behaviour when they are run. The table below details the environment variables and the instructions on how to populate each element.

| Environment Variable  | Field Name in API Specifications |                                                       Description                                                        |                                                                                                                        Instructions for DSPs                                                                                                                         |
|-----------------------|----------------------------------|--------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| CSP                   | creditorServiceProviderId        | Unique value assigned by Mastercard to identify a CSP.                                                                   | This value is populated by Mastercard with the default value for the dummy CSP provided for testing.                                                                                                                                                                 |
| DSP                   | debtorServiceProviderId          | Unique value assigned by Mastercard to identify a DSP.                                                                   | DSPs must populate this value before testing any scenario that requires running a Postman script to simulate the behaviour of a CSP. **NOTE**: Value is defined by Mastercard during your onboarding process. Contact your Mastercard representative for this value. |
| CREDITOR_IDENTIFIER   | creditorId                       | Unique value assigned by Mastercard to identify a creditor.                                                              | This value is populated by Mastercard with the default value for the dummy creditor provided for testing.                                                                                                                                                            |
| DEBTOR_IDENTIFIER     | debtorId                         | Unique value assigned by DSP to identify a debtor.                                                                       | This value must be populated by DSP as assigned to the debtor. This value is passed by DSP in Retrieve Agreement and Retrieve Payment.                                                                                                                               |
| AGREEMENT_ID          | agreementId                      | Unique identifier assigned by Mastercard to the agreement.                                                               | This value is generated by Mastercard when DSP executes the Create Agreement. DSP should use this value to execute their remaining user journey.                                                                                                                     |
| AGREEMENT_TYPE        | agreementType                    | Type of Agreement.                                                                                                       | This value is populated by Mastercard when DSP executes the Create Agreement. DSP should use this value to execute their remaining user journey.                                                                                                                     |
| AGREEMENT_REF_NUMBER  | agreementReferenceNumber         | Unique 6-digit reference provided by Mastercard to the CSP to be conveyed to the debtor in order to create an agreement. | This value is generated by Mastercard when DSP executes the Create Agreement. DSP should use this value to execute their remaining user journey.                                                                                                                     |
| PAYMENT_LIFE_CYCLE_ID | paymentRequestLifecycleId        | Unique identifier assigned by Mastercard to identify the payment request in subsequent transactions or services.         | This value is generated by Mastercard when DSP executes the Create Payment. DSP should use this value to execute their remaining user journey.                                                                                                                       |
| PAYMENT_REF_NUMBER    | paymentRequestReferenceNumber    | Unique 6-character reference provided by Mastercard to the CSP to be conveyed to the debtor in order to make a payment.  | This value is generated by Mastercard when DSP executes the Create Payment. DSP should use this value to execute their remaining user journey.                                                                                                                       |
| CURRENCY              | currency                         | ISO 4217 code for currency.                                                                                              | This value is populated by Mastercard with the default value for testing.                                                                                                                                                                                            |
| AMOUNT                | value                            | Amount Value.                                                                                                            | This value is populated by Mastercard with the default value for testing. DSP can change this value to cover various test cases.                                                                                                                                     |

