Get
Last updated
Was this helpful?
Was this helpful?
const { DisputeClient } = require('hyperswitch-prism');
const disputeClient = new DisputeClient({
connector: 'stripe',
apiKey: 'YOUR_API_KEY',
environment: 'SANDBOX'
});const request = {
disputeId: "dp_xxx"
};
const response = await disputeClient.get(request);{
disputeId: "dp_xxx",
paymentIntentId: "pi_3Oxxx...",
status: "NEEDS_RESPONSE",
amount: {
minorAmount: 1000,
currency: "USD"
},
reason: "fraudulent",
evidenceDueBy: "2024-02-15T23:59:59Z",
evidenceSubmitted: false,
statusCode: 200
}