Checking accessβ¦
Download OpenAPI specification:Download
The Convenient Checkout Gateway (CCG) API provides a unified interface for merchants to manage payment transactions, including session management, payment processing, and refunds. It supports various payment methods and flows, enabling merchants to offer a seamless checkout experience to their customers.
Compare everything that changed between v1 and v2 β new endpoints, removed fields, response schema updates, and more.
Provides a comprehensive set of operations for merchants, enabling them to initiate new payment transactions, capture authorized payments, cancel pending or authorized payments, and process both full and partial refunds. These operations are designed to support the complete payment lifecycle, ensuring flexibility and control over payment management for merchants.
This API enables merchants to create a session for initializing the convenient checkout widget.
The session provides a secure context for payment processing and manages the lifecycle of the checkout process.
PAYMENT_WITH_WALLET:
Session is created for processing a payment using a stored payment method in the wallet.
The session will be used to present the user with their saved payment methods and facilitate the checkout process.PAYMENT_AND_SAVE:
Session is created for processing a payment and saving the new payment method to the wallet.
The session will guide the user through entering their payment details, processing the payment, and securely storing the new payment method for future use.PAYMENT:
Session is created for processing a one-time payment without saving the payment method.
The session will allow the user to enter their payment details and complete the transaction without storing the payment method in the wallet.WALLET:
Session is created for wallet management operations, such as adding or managing stored payment methods.
The session will provide the necessary context for securely handling payment method information and facilitating wallet-related interactions.PAYMENT_METHOD_ENTRY:
Session is created for entering new payment method details without processing a payment.
The session will allow the user to input their payment information, which can then be saved to the wallet for future transactions.PAYMENT_METHOD_SELECT:
Session is created for selecting from existing payment methods in the wallet without processing a payment.
The session will present the user with their saved payment methods and allow them to choose one for future transactions.PAYMENT_METHOD_DISPLAY:
Session is created for displaying existing payment methods in the wallet without processing a payment.
The session will show the user their saved payment methods for informational purposes without allowing selection or entry of new payment details.| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
| X-Source | string <= 50 characters Specify the Source System Identifier. |
object or null (SessionPaymentMethod) Default: null References a saved payment method from the customer's wallet for wallet-based payment scenarios.
| |
object or null (SessionPaymentRequest) Default: null Payment payload for transaction creation. Processing Rules
| |
object or null (CustomerRequest) Default: null Customer context used for user-scoped session flows. Processing Rules
| |
object or null (SessionConfig) Default: null Session configuration options. | |
object or null (appearance) Default: null Appearance configuration for the checkout session | |
object or null (AgentRequest) Default: null Agent information provided by the caller. |
{- "paymentMethod": {
- "id": "b0b3c48d-4cf6-404a-a554-e14640a51c5b"
}, - "payment": {
- "amount": 15000,
- "merchantTransactionId": "order-12345",
- "description": "Payment for order",
- "statementDescriptorSuffix": "ORDER123",
- "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 500,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 250
}
}, - "visionAmount": 100
}
}, - "consent": null,
- "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "authorizeCard": false,
- "partialAuthorization": false
}, - "customer": {
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "ssnLastFour": "1234",
- "phoneNumber": {
- "countryCode": "1",
- "number": "5551234567"
}, - "dateOfBirth": "1990-05-15",
- "zip5": "12345",
- "enterpriseIdentifier": "123456789",
- "hsid": "b0b3c48d-4cf6-404a-a554-e14640a51c5b",
- "metadata": null
}, - "config": {
- "modes": [
- "PAYMENT"
], - "paymentMethodChannel": null,
- "cardCategories": null,
- "splitTender": null,
- "uiVersion": null,
- "senderEmailAddress": "no-reply@ccg.optum.com",
- "options": null,
- "merchant": null
}, - "appearance": {
- "font": null,
- "palette": null,
- "visibility": null,
- "border": null,
- "height": null,
}, - "agent": null
}{- "url": "/v2/sessions/a5afdcfa-3464-4c14-8432-a5533facca97",
- "data": {
- "sessionId": "a5afdcfa-3464-4c14-8432-a5533facca97",
}
}Retrieves merchant-facing session status.
| sessionId required | string <uuid> Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890 Unique identifier of the session which needs to be retrieved. Generated when the session is created. |
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
{- "url": "string",
- "data": {
- "sessionId": "3c3b9b0b-4cf6-404a-a554-e14640a51c5b",
- "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890",
- "isAccessVerified": true
}, - "sessionContext": {
- "pci": {
- "active": true
}
}, - "status": "COMPLETED",
- "payment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "merchantTransactionId": "string",
- "checkoutId": "a21b4d66-7585-4979-80ec-60ea35b35821",
- "amount": 0,
- "description": "string",
- "authorizedAmount": 0,
- "capturedAmount": 0,
- "authorizeCard": true,
- "partialAuthorization": true,
- "statementDescriptorSuffix": "string",
- "currencyCode": "USD",
- "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890",
- "isAccessVerified": true
}, - "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "merchant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "groupId": "string",
- "name": "string"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "paymentDateUtc": "2019-08-24T14:15:22Z",
- "status": "COMPLETED",
- "consent": {
- "merchantConsentId": "consent_id_20230501",
- "merchantConsentText": "I agree to the terms and conditions for ACH payments.",
- "collectionTimestamp": "2023-11-03T10:15:30.100+01:00",
- "collectionDetails": {
- "type": "WEB",
- "web": {
- "ipAddress": "192.168.1.1"
}
}
}, - "paymentAllocations": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": 0,
- "authorizedAmount": 0,
- "capturedAmount": 0,
- "paymentMethod": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}, - "sourceProvider": {
- "name": "CCG"
}
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "vendor": {
- "name": "STRIPE",
- "paymentId": "pi_3NabcXYZ123456789",
- "merchantId": "acct_1NabcXYZ123456789"
}, - "status": "COMPLETED"
}
]
}, - "paymentMethod": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}, - "sourceProvider": {
- "name": "CCG"
}, - "status": "COMPLETED"
}
}
}This API enables merchants to create a payment transaction. It supports various payment methods and allows for split payments.
CARDBANK_ACCOUNTCARD + CARD only (maximum 2 allocations)| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
| X-Source | string <= 50 characters Specify the Source System Identifier. |
| amount required | integer <int64> [ 1 .. 9999999 ] Total payment amount in cents. Must exactly equal the sum of all |
| merchantTransactionId required | string [ 1 .. 50 ] characters Unique identifier provided by the merchant for the payment. Serves as the idempotency key to prevent duplicate payment processing. Processing Rules
|
| currencyCode | string Default: "USD" Value: "USD" ISO 4217 currency code specifying the currency for the payment amount. USD: United States Dollar (only supported currency) |
| description | string or null <= 100 characters Default: null Text description providing context about the payment for internal tracking, receipts, or administrative purposes. Does not appear on customer's bank statement. |
| statementDescriptorSuffix | string or null <= 10 characters ^(?=.*[A-Za-z])[A-Za-z0-9 .-]{1,10}$ Default: null Suffix appended to the merchant's default statement descriptor on the customer's bank statement. Full descriptor format: [Merchant Descriptor] * [Suffix]. |
object or null (MetadataRequest) <= 20 properties Default: null Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Processing Rules
| |
object or null (PaymentDetailsRequest) Default: null Healthcare-related payment information for FSA/HSA card processing including qualified medical amounts, vision amounts, and prescription details. Processing Rules
| |
object or null (AgentRequest) Default: null Agent information provided by the caller. | |
| authorizeCard | boolean Default: false Controls whether to use a two-step authorization flow (hold funds) or one-step authorization + capture (charge immediately). Processing Rules
When
When
|
| partialAuthorization | boolean Default: false Controls whether the payment processor can authorize a partial amount when the full requested amount is not available on the card. Particularly important for healthcare cards (FSA/HSA) and split-tender scenarios. Processing Rules
When
When
|
object (schemas-ConsentRequest) Customer consent details required for ACH/bank account payments. Processing Rules
| |
required | object (CustomerRequest) Customer details for identification and contact purposes. Includes identifiers (hsid, enterpriseIdentifier), contact information (email, phone), and custom metadata. Processing RulesCustomer Identification:
|
required | Array of Saved_Payment_Method (object) or Inline_Payment_Method (object) (PaymentAllocationRequestCommon) [ 1 .. 2 ] items Payment allocations specifying how the total payment amount is distributed across one or more payment methods. Enables split-tender scenarios (e.g., FSA card + credit card). Processing Rules
|
{- "amount": 15000,
- "merchantTransactionId": "order-12345",
- "currencyCode": "USD",
- "description": "Payment for order #12345",
- "statementDescriptorSuffix": "ORDER123",
- "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 500,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 250
}
}, - "visionAmount": 100
}
}, - "agent": null,
- "authorizeCard": false,
- "partialAuthorization": false,
- "consent": null,
- "customer": {
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "ssnLastFour": "1234",
- "phoneNumber": {
- "countryCode": "1",
- "number": "5551234567"
}, - "dateOfBirth": "1990-05-15",
- "zip5": "12345",
- "enterpriseIdentifier": "123456789",
- "hsid": "b0b3c48d-4cf6-404a-a554-e14640a51c5b",
- "metadata": null
}, - "paymentAllocations": [
- {
- "amount": 1,
- "paymentMethodId": "b0b3c48d-4cf6-404a-a554-e14640a51c5b"
}
]
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "merchantTransactionId": "string",
- "checkoutId": "a21b4d66-7585-4979-80ec-60ea35b35821",
- "amount": 0,
- "description": "string",
- "authorizeCard": true,
- "authRequired": true,
- "partialAuthorization": true,
- "statementDescriptorSuffix": "string",
- "currencyCode": "USD",
- "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890",
- "isAccessVerified": true
}, - "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "customer": {
- "id": "b0b3c48d-4cf6-404a-a554-e14640a51c5b"
}, - "merchant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "groupId": "string",
- "name": "string"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "paymentDateUtc": "2024-01-15T14:30:00Z",
- "consent": {
- "merchantConsentId": "consent_id_20230501",
- "merchantConsentText": "I agree to the terms and conditions for ACH payments.",
- "collectionTimestamp": "2023-11-03T10:15:30.100+01:00",
- "collectionDetails": {
- "type": "WEB",
- "web": {
- "ipAddress": "192.168.1.1"
}
}
}, - "paymentCancellationReason": "DUPLICATE",
- "paymentCancellationMessage": "string",
- "status": "PENDING"
}
}This API allows merchants to retrieve payment details using the merchant transaction ID.
It returns the status, amounts, payment method, and other relevant information for the specified transaction.
Use this endpoint to track payment status, reconcile transactions, and manage post-payment operations.
| merchantTransactionId required | string <= 50 characters Unique identifier that can be used to track this transaction. This identifier will make sure to prevent duplicate transactions. |
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "merchantTransactionId": "string",
- "checkoutId": "a21b4d66-7585-4979-80ec-60ea35b35821",
- "amount": 0,
- "description": "string",
- "authorizeCard": true,
- "authRequired": true,
- "partialAuthorization": true,
- "statementDescriptorSuffix": "string",
- "currencyCode": "USD",
- "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890",
- "isAccessVerified": true
}, - "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "customer": {
- "id": "b0b3c48d-4cf6-404a-a554-e14640a51c5b"
}, - "merchant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "groupId": "string",
- "name": "string"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "paymentDateUtc": "2024-01-15T14:30:00Z",
- "consent": {
- "merchantConsentId": "consent_id_20230501",
- "merchantConsentText": "I agree to the terms and conditions for ACH payments.",
- "collectionTimestamp": "2023-11-03T10:15:30.100+01:00",
- "collectionDetails": {
- "type": "WEB",
- "web": {
- "ipAddress": "192.168.1.1"
}
}
}, - "paymentCancellationReason": "DUPLICATE",
- "paymentCancellationMessage": "string",
- "authorizedAmount": 0,
- "capturedAmount": 0,
- "status": "COMPLETED",
- "paymentAllocations": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": 0,
- "authorizedAmount": 0,
- "capturedAmount": 0,
- "paymentMethod": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}, - "sourceProvider": {
- "name": "CCG"
}
}, - "vendor": {
- "name": "STRIPE",
- "paymentId": "pi_3NabcXYZ123456789",
- "merchantId": "acct_1NabcXYZ123456789"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "status": "COMPLETED"
}
]
}
}This API allows merchants to retrieve payment details using the payment ID. It returns the status, amounts, payment method, and other relevant information for the specified transaction.
Use this endpoint to track payment status, reconcile transactions, and manage post-payment operations.
| paymentId required | string <uuid> |
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "merchantTransactionId": "string",
- "checkoutId": "a21b4d66-7585-4979-80ec-60ea35b35821",
- "amount": 0,
- "description": "string",
- "authorizeCard": true,
- "authRequired": true,
- "partialAuthorization": true,
- "statementDescriptorSuffix": "string",
- "currencyCode": "USD",
- "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890",
- "isAccessVerified": true
}, - "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "customer": {
- "id": "b0b3c48d-4cf6-404a-a554-e14640a51c5b"
}, - "merchant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "groupId": "string",
- "name": "string"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "paymentDateUtc": "2024-01-15T14:30:00Z",
- "consent": {
- "merchantConsentId": "consent_id_20230501",
- "merchantConsentText": "I agree to the terms and conditions for ACH payments.",
- "collectionTimestamp": "2023-11-03T10:15:30.100+01:00",
- "collectionDetails": {
- "type": "WEB",
- "web": {
- "ipAddress": "192.168.1.1"
}
}
}, - "paymentCancellationReason": "DUPLICATE",
- "paymentCancellationMessage": "string",
- "authorizedAmount": 0,
- "capturedAmount": 0,
- "status": "COMPLETED",
- "paymentAllocations": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": 0,
- "authorizedAmount": 0,
- "capturedAmount": 0,
- "paymentMethod": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}, - "sourceProvider": {
- "name": "CCG"
}
}, - "vendor": {
- "name": "STRIPE",
- "paymentId": "pi_3NabcXYZ123456789",
- "merchantId": "acct_1NabcXYZ123456789"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "status": "COMPLETED"
}
]
}
}β οΈ Under Active Development β This endpoint is not yet implemented and will be available in a future release. Calling this endpoint returns
501 Not Implementedin lower environments (dev / test / reg / perf) and503 Service Unavailablein stage and prod.
| paymentId required | string <uuid> Id of the payment needs to be cancelled. |
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
| X-Source | string <= 50 characters Specify the Source System Identifier. |
| paymentCancellationReason required | string (PaymentCancellationReason) Enum: "DUPLICATE" "FRAUDULENT" "REQUESTED_BY_CUSTOMER" "ABANDONED" Payment cancellation reason. Processing Rules
|
| paymentCancellationMessage | string or null Default: null Additional context for the cancellation. |
{- "paymentCancellationReason": "DUPLICATE",
- "paymentCancellationMessage": "Customer requested cancellation"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "merchantTransactionId": "string",
- "checkoutId": "a21b4d66-7585-4979-80ec-60ea35b35821",
- "amount": 0,
- "description": "string",
- "authorizeCard": true,
- "authRequired": true,
- "partialAuthorization": true,
- "statementDescriptorSuffix": "string",
- "currencyCode": "USD",
- "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890",
- "isAccessVerified": true
}, - "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "customer": {
- "id": "b0b3c48d-4cf6-404a-a554-e14640a51c5b"
}, - "merchant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "groupId": "string",
- "name": "string"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "paymentDateUtc": "2024-01-15T14:30:00Z",
- "consent": {
- "merchantConsentId": "consent_id_20230501",
- "merchantConsentText": "I agree to the terms and conditions for ACH payments.",
- "collectionTimestamp": "2023-11-03T10:15:30.100+01:00",
- "collectionDetails": {
- "type": "WEB",
- "web": {
- "ipAddress": "192.168.1.1"
}
}
}, - "paymentCancellationReason": "DUPLICATE",
- "paymentCancellationMessage": "string",
- "status": "PENDING",
- "paymentAllocations": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": 0,
- "authorizedAmount": 0,
- "capturedAmount": 0,
- "paymentMethod": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}, - "sourceProvider": {
- "name": "CCG"
}
}, - "vendor": {
- "name": "STRIPE",
- "paymentId": "pi_3NabcXYZ123456789",
- "merchantId": "acct_1NabcXYZ123456789"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "status": "PENDING"
}
]
}
}Capture an authorized payment by its ID.
This endpoint captures card payments that are in AUTHORIZED state.
It supports full capture (omit amount) or partial capture (specify amount).
| paymentId required | string <uuid> Platform-generated unique payment identifier of the payment to capture. |
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
| X-Source | string <= 50 characters Specify the Source System Identifier. |
Array of objects Array of payment allocation objects for distributed payment capture. | |
object or null (Metadata) <= 20 properties Default: null Additional metadata to merge with existing payment metadata during capture. Processing Rules
|
{- "paymentAllocations": [
- {
- "id": "{{paymentAllocationId1}}",
- "amount": 10000
}
], - "metadata": null
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "merchantTransactionId": "string",
- "checkoutId": "a21b4d66-7585-4979-80ec-60ea35b35821",
- "amount": 0,
- "description": "string",
- "authorizeCard": true,
- "authRequired": true,
- "partialAuthorization": true,
- "statementDescriptorSuffix": "string",
- "currencyCode": "USD",
- "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890",
- "isAccessVerified": true
}, - "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "customer": {
- "id": "b0b3c48d-4cf6-404a-a554-e14640a51c5b"
}, - "merchant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "groupId": "string",
- "name": "string"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "paymentDateUtc": "2024-01-15T14:30:00Z",
- "consent": {
- "merchantConsentId": "consent_id_20230501",
- "merchantConsentText": "I agree to the terms and conditions for ACH payments.",
- "collectionTimestamp": "2023-11-03T10:15:30.100+01:00",
- "collectionDetails": {
- "type": "WEB",
- "web": {
- "ipAddress": "192.168.1.1"
}
}
}, - "paymentCancellationReason": "DUPLICATE",
- "paymentCancellationMessage": "string",
- "status": "PENDING",
- "paymentAllocations": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": 0,
- "authorizedAmount": 0,
- "capturedAmount": 0,
- "paymentMethod": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}, - "sourceProvider": {
- "name": "CCG"
}
}, - "vendor": {
- "name": "STRIPE",
- "paymentId": "pi_3NabcXYZ123456789",
- "merchantId": "acct_1NabcXYZ123456789"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "status": "PENDING"
}
]
}
}Submit a refund request for a payment.
Supported refund types:
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
| X-Source | string <= 50 characters Specify the Source System Identifier. |
| paymentId | string or null <uuid> Default: null Original payment ID to refund against. Processing Rules
|
| reason | string or null Default: null Enum: "REQUESTED_BY_CUSTOMER" "DUPLICATE" "FRAUDULENT" Reason for processing the refund. Processing Rules
|
| merchantTransactionId required | string <= 50 characters Unique identifier provided by the merchant to prevent duplicate refund submissions.
|
object or null (MetadataRequest) <= 20 properties Default: null Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Processing Rules
| |
Array of Linked Refund Allocation (object) or Unlinked Refund Allocation (object) or (RefundAllocationsRequest) Default: null Specifies how the refund amount should be distributed across one or more payment methods. Processing Rules
| |
object or null (AgentRequest) Default: null Agent information provided by the caller. | |
object or null (CustomerRequest) Default: null Customer details for identification and contact purposes. Includes identifiers (hsid, enterpriseIdentifier), contact information (email, phone), and custom metadata. Processing Rules
|
{- "paymentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "reason": "REQUESTED_BY_CUSTOMER",
- "merchantTransactionId": "564b6ee6",
- "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "refundAllocations": null,
- "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890"
}, - "customer": {
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "ssnLastFour": "1234",
- "phoneNumber": {
- "countryCode": "1",
- "number": "5551234567"
}, - "dateOfBirth": "1990-05-15",
- "zip5": "12345",
- "enterpriseIdentifier": "123456789",
- "hsid": "b0b3c48d-4cf6-404a-a554-e14640a51c5b",
- "metadata": null
}
}{- "url": "string",
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "merchantTransactionId": "e284d244-f2ce-4ee6-9ae3-27869cbd8d0f",
- "reason": "REQUESTED_BY_CUSTOMER",
- "merchant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "payment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": 0,
- "authorizedAmount": 0,
- "capturedAmount": 0,
- "description": "string",
- "merchantTransactionId": "string",
- "paymentDateUtc": "2019-08-24T14:15:22Z"
}, - "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890",
- "isAccessVerified": true
}, - "status": "INITIATED"
}
}| refund-id required | string <uuid> |
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
{- "url": "string",
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "merchantTransactionId": "e284d244-f2ce-4ee6-9ae3-27869cbd8d0f",
- "reason": "REQUESTED_BY_CUSTOMER",
- "merchant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "payment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": 0,
- "authorizedAmount": 0,
- "capturedAmount": 0,
- "description": "string",
- "merchantTransactionId": "string",
- "paymentDateUtc": "2019-08-24T14:15:22Z"
}, - "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890",
- "isAccessVerified": true
}, - "status": "COMPLETED",
- "refundAllocations": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": 0,
- "paymentAllocation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "paymentMethod": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}
}
}
}
]
}
}Provides operations for merchants with PCI scope, enabling them to create and retrieve payment methods in the wallet, and initiate payments. These operations are designed to support merchants in securely handling payment information without exposing sensitive card data, ensuring compliance with PCI requirements.
This API enables merchants to create a payment transaction.
CARDBANK_ACCOUNT| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
| X-Source | string <= 50 characters Specify the Source System Identifier. |
| amount required | integer <int64> [ 1 .. 9999999 ] Total payment amount in cents. Must exactly equal the sum of all |
| merchantTransactionId required | string [ 1 .. 50 ] characters Unique identifier provided by the merchant for the payment. Serves as the idempotency key to prevent duplicate payment processing. Processing Rules
|
| currencyCode | string Default: "USD" Value: "USD" ISO 4217 currency code specifying the currency for the payment amount. USD: United States Dollar (only supported currency) |
| description | string or null <= 100 characters Default: null Text description providing context about the payment for internal tracking, receipts, or administrative purposes. Does not appear on customer's bank statement. |
| statementDescriptorSuffix | string or null <= 10 characters ^(?=.*[A-Za-z])[A-Za-z0-9 .-]{1,10}$ Default: null Suffix appended to the merchant's default statement descriptor on the customer's bank statement. Full descriptor format: [Merchant Descriptor] * [Suffix]. |
object or null (MetadataRequest) <= 20 properties Default: null Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Processing Rules
| |
object or null (PaymentDetailsRequest) Default: null Healthcare-related payment information for FSA/HSA card processing including qualified medical amounts, vision amounts, and prescription details. Processing Rules
| |
object or null (AgentRequest) Default: null Agent information provided by the caller. | |
| authorizeCard | boolean Default: false Controls whether to use a two-step authorization flow (hold funds) or one-step authorization + capture (charge immediately). Processing Rules
When
When
|
| partialAuthorization | boolean Default: false Controls whether the payment processor can authorize a partial amount when the full requested amount is not available on the card. Particularly important for healthcare cards (FSA/HSA) and split-tender scenarios. Processing Rules
When
When
|
object (schemas-ConsentRequest) Customer consent details required for ACH/bank account payments. Processing Rules
| |
required | object (CustomerRequest) Customer details for identification and contact purposes. Includes identifiers (hsid, enterpriseIdentifier), contact information (email, phone), and custom metadata. Processing RulesCustomer Identification:
|
required | Array of Saved_Payment_Method (object) or Inline_Payment_Method (object) (PaymentAllocationRequestCommon) [ 1 .. 2 ] items Payment allocations specifying how the total payment amount is distributed across one or more payment methods. Enables split-tender scenarios (e.g., FSA card + credit card). Processing Rules
|
{- "amount": 15000,
- "merchantTransactionId": "order-12345",
- "currencyCode": "USD",
- "description": "Payment for order #12345",
- "statementDescriptorSuffix": "ORDER123",
- "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 500,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 250
}
}, - "visionAmount": 100
}
}, - "agent": null,
- "authorizeCard": false,
- "partialAuthorization": false,
- "consent": null,
- "customer": {
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "ssnLastFour": "1234",
- "phoneNumber": {
- "countryCode": "1",
- "number": "5551234567"
}, - "dateOfBirth": "1990-05-15",
- "zip5": "12345",
- "enterpriseIdentifier": "123456789",
- "hsid": "b0b3c48d-4cf6-404a-a554-e14640a51c5b",
- "metadata": null
}, - "paymentAllocations": [
- {
- "amount": 1,
- "paymentMethodId": "b0b3c48d-4cf6-404a-a554-e14640a51c5b"
}
]
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "merchantTransactionId": "string",
- "checkoutId": "a21b4d66-7585-4979-80ec-60ea35b35821",
- "amount": 0,
- "description": "string",
- "authorizeCard": true,
- "authRequired": true,
- "partialAuthorization": true,
- "statementDescriptorSuffix": "string",
- "currencyCode": "USD",
- "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890",
- "isAccessVerified": true
}, - "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}, - "customer": {
- "id": "b0b3c48d-4cf6-404a-a554-e14640a51c5b"
}, - "merchant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "groupId": "string",
- "name": "string"
}, - "paymentDetails": {
- "healthcare": {
- "iias": {
- "qualifiedAmount": 0,
- "qualifiedAmountDetails": {
- "prescriptionAmount": 0
}
}, - "visionAmount": 0
}
}, - "paymentDateUtc": "2024-01-15T14:30:00Z",
- "consent": {
- "merchantConsentId": "consent_id_20230501",
- "merchantConsentText": "I agree to the terms and conditions for ACH payments.",
- "collectionTimestamp": "2023-11-03T10:15:30.100+01:00",
- "collectionDetails": {
- "type": "WEB",
- "web": {
- "ipAddress": "192.168.1.1"
}
}
}, - "paymentCancellationReason": "DUPLICATE",
- "paymentCancellationMessage": "string",
- "status": "PENDING"
}
}This API enables merchants with PCI scope to set up and save a payment method for future transactions.
CARDBANK_ACCOUNT| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
| X-Source | string <= 50 characters Specify the Source System Identifier. |
| paymentMethodType | string (PaymentMethodType) Enum: "CARD" "BANK_ACCOUNT" Type of payment method. |
required | object (PaymentMethodRequest) Payment method details which needs to be set up. This can either be a new payment method (with details provided in this request) or an existing vaulted payment method (identified by vendorPaymentMethodId) that should be linked to the customer. |
| paymentId | string <uuid> Optional reference to an existing payment |
| savePaymentMethod | boolean Whether to persist the payment method after setup |
object or null (MetadataRequest) <= 20 properties Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Processing Rules
|
{- "paymentMethodType": "CARD",
- "paymentMethod": {
- "type": "CARD",
- "vendorPaymentMethodId": "string",
- "vendor": "STRIPE",
- "nickname": "string",
- "card": {
- "type": "CARD",
- "nameOnCard": "string",
- "last4": "4242",
- "vendorPaymentmethodId": "pm_1J2Y7e2eZvKYlo2C0qL5a2b"
}, - "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890"
}, - "isDefault": false,
- "paymentMethodDetails": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}
}, - "paymentMethodSourceDetails": {
- "channel": "WEBFORM",
- "uiSourceFragment": "STRIPE"
}, - "skipValidation": false,
- "authRequired": false,
- "sourceProvider": {
- "name": "CCG"
}
}, - "paymentId": "472e651e-5a1e-424d-8098-23858bf03ad7",
- "savePaymentMethod": true,
- "metadata": {
- "orderId": "12345",
- "invoiceDate": "2025-08-22",
- "OrderType": "Gift purchase"
}
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "platformVendorMerchantId": "string",
- "status": "PENDING",
- "paymentMethodType": "CARD"
}, - "errors": [
- "string"
], - "url": "string",
- "metadata": {
- "currentPage": 0,
- "totalResults": 0,
- "totalPages": 0
}
}Retrieves the status and details of a setup payment method by its identifier.
| setupPaymentMethodId required | string <uuid> Unique identifier of the setup payment method. |
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "platformVendorMerchantId": "string",
- "vendorSetupPaymentMethodSecret": "string",
- "status": "COMPLETED",
- "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011",
- "paymentMethodType": "CARD",
- "error": {
- "errorGroup": "PAYMENT_METHOD_ERROR",
- "errorCode": "string",
- "message": "string",
- "httpStatus": 0,
- "errorDetails": {
- "code": "string",
- "message": "string",
- "declineCode": "string",
- "networkAdviceCode": "string",
- "networkDeclineCode": "string"
}
}, - "warning": {
- "code": "DUPLICATE_ENTRY",
- "title": "Payment method already exists",
- "description": "A payment method with the same details already exists for this customer."
}
}, - "errors": [
- "string"
], - "url": "string",
- "metadata": {
- "currentPage": 0,
- "totalResults": 0,
- "totalPages": 0
}
}Provides operations for managing wallet payment methods, including setup and retrieval flows for stored payment methods. These operations are designed to support merchant wallet maintenance while preserving PCI-safe handling of payment data.
| id required | string <uuid> Payment method UUID |
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
{- "data": {
- "card": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}, - "paymentMethodDetails": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "isDefault": true,
- "paymentMethodType": "CARD",
- "nickname": "string"
}, - "errors": [
- "string"
], - "url": "string",
- "metadata": {
- "currentPage": 0,
- "totalResults": 0,
- "totalPages": 0
}
}| id required | string <uuid> Payment method UUID |
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
| x-source | string <= 50 characters Source identifier (max 50 characters) |
| isDefault | boolean Flag indicating if this payment method should be set as default |
| nickname | string or null <= 30 characters ^(?!\s{2,})(?=.{0,30}$)([a-zA-Z0-9]+(\s[a-zA-... Default: null Friendly name assigned by the customer to identify this payment method in their wallet (e.g., "My Primary Card", "Work Account", "HSA Card"). When omitted or null, no nickname is saved. Processing Rules
|
object (CardRequest) Deprecated Deprecated legacy update object; use paymentMethodDetails instead | |
object or null Agent performing the update on behalf of the customer | |
| source | string <= 50 characters Optional source identifier for update operations. |
object (PaymentMethod) Polymorphic update details object |
{- "isDefault": true,
- "nickname": null,
- "card": {
- "type": "CARD",
- "nameOnCard": "string",
- "last4": "4242",
- "vendorPaymentmethodId": "pm_1J2Y7e2eZvKYlo2C0qL5a2b"
}, - "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890"
}, - "source": "string",
- "paymentMethodDetails": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}
}
}{- "data": {
- "card": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}, - "paymentMethodDetails": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "default": true,
- "nickname": "string",
- "paymentMethodDetails": {
- "type": "CARD",
- "last4": "stri",
- "status": "ACTIVE",
- "cardBrand": "VISA",
- "expiryMonth": 1,
- "expiryYear": 2000,
- "nameOnCard": "string",
- "zipCode": "99950",
- "cardCategories": [ ]
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "isDefault": true,
- "paymentMethodType": "CARD",
- "nickname": "string"
}, - "errors": [
- "string"
], - "url": "string",
- "metadata": {
- "currentPage": 0,
- "totalResults": 0,
- "totalPages": 0
}
}| id required | string <uuid> Payment method UUID |
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
| x-source | string <= 50 characters Source identifier (max 50 characters) |
object or null Agent performing the deletion on behalf of the customer | |||||||
| |||||||
{- "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890"
}
}Search for stored payment methods associated with a customer by identity (email or HSID).
Returns all active payment methods in the customer's wallet that are accessible to the merchant.
| X-Merchant-Id required | string <uuid> Unique identifier for the merchant. This is used to identify the merchant making the request. |
| X-Upstream-Env required | string Enum: "dev" "stage" "test" Specify the Upstream Environment value. Only required for Non-Prod Environment |
object (Customer) Customer whose payment methods are being searched | |
object or null Agent performing the search on behalf of the customer |
{- "customer": {
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "ssnLastFour": "1234",
- "phoneNumber": {
- "countryCode": "1",
- "number": "5551234567"
}, - "dateOfBirth": "1990-05-15",
- "zip5": "12345",
- "enterpriseIdentifier": "123456789",
- "hsid": "b0b3c48d-4cf6-404a-a554-e14640a51c5b",
- "metadata": null
}, - "agent": {
- "firstName": "John",
- "lastName": "Doe",
- "userId": "ms1234567890"
}
}[ ]