# Configuring Environment Variables source: https://developer.mastercard.com/account-to-account-commerce-for-csp/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-csp/uploads/Configure1.png) ## Populating Environment Variables {#populating-environment-variables} CSPs 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 CSPs | |-----------------------|----------------------------------|--------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | CSP | creditorServiceProviderId | Unique value assigned by Mastercard to identify a CSP. | CSPs must populate this value before testing any scenario that requires running a Postman script to simulate the behaviour of a DSP. **NOTE**: Value is defined by Mastercard during your onboarding process. Contact your Mastercard representative for this value. | | DSP | debtorServiceProviderId | Unique value assigned by Mastercard to identify a DSP. | This value is populated by Mastercard with the default value for the dummy DSP provided for testing. | | CREDITOR_IDENTIFIER | creditorId | Unique value assigned by Mastercard to identify a creditor. | CSPs must populate this value before testing any scenario that requires running a Postman script to simulate the behaviour of a DSP. **NOTE**: Value is defined by Mastercard during your onboarding process. Contact your Mastercard representative for this value. | | DEBTOR_IDENTIFIER | debtorId | Unique value assigned by DSP to identify a debtor. | This value is populated by Mastercard with the default value for the dummy debtor provided for testing. | | AGREEMENT_ID | agreementId | Unique identifier assigned by Mastercard to the agreement. | CSPs must populate this value before testing any scenario that requires running a Postman script to simulate the behaviour of a DSP. Agreement Id is returned to CSP in Create Agreement and this value is used by DSP in Retrieve Agreement and Agreement Update. | | AGREEMENT_TYPE | agreementType | Type of Agreement. | CSPs must populate this value before testing any scenario that requires running a Postman script to simulate the behaviour of a DSP. The Agreement type is populated by CSP in Create Agreement. | | 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. | CSPs must populate this value before testing any scenario that requires running a Postman script to simulate the behaviour of a DSP. The Agreement Id is returned to CSP in Create Agreement and this value is used by DSP in Retrieve Agreement. | | PAYMENT_LIFE_CYCLE_ID | paymentRequestLifecycleId | Unique identifier assigned by Mastercard to identify the payment request in subsequent transactions or services. | CSPs must populate this value before testing any scenario that requires running a Postman script to simulate the behaviour of a DSP. The Payment Request lifecycle Id is returned to CSP in Create Payment and this value is used by DSP in Retrieve Payment and Confirm Payment. | | 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. | CSPs must populate this value before testing any scenario that requires running a Postman script to simulate the behaviour of a DSP. The Payment Reference number is returned to CSP in the Create Payment and this value is used by DSP in the Retrieve Payment. | | CURRENCY | currency | ISO 4217 code for currency. | CSPs must populate this value before testing any scenario that requires running a Postman script to simulate the behaviour of a DSP. CSP populates this value in the Create Payment request. | | AMOUNT | value | Amount Value. | CSPs must populate this value before testing any scenario that requires running a Postman script to simulate the behaviour of a DSP. CSP populates this value in the Create Payment request. |