Skip to content

Commit

Permalink
Intersolve visa physical card data endpoint change (Merge after 26 of…
Browse files Browse the repository at this point in the history
… February) (#6498)

* Intersolve visa physical card data endpoint change

* Update services/mock-service/src/fsp-integration/intersolve-visa/intersolve-visa.mock.controller.ts

Co-authored-by: diderikvw <[email protected]>

---------

Co-authored-by: Ruben <[email protected]>
Co-authored-by: diderikvw <[email protected]>
  • Loading branch information
3 people authored Feb 26, 2025
1 parent e4bbab7 commit 9b58ac3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class IntersolveVisaApiService {
errorPrefix: IntersolveVisa121ErrorText.getPhysicalCardError,
method: 'GET',
apiPath: 'payment-instrument-payment',
endpoint: `tokens/${tokenCode}/physical-card-data`,
endpoint: `tokens/${tokenCode}/physical-card-status`,
});

// If the response does not contain errors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class IntersolveVisaMockController {
}

@ApiOperation({ summary: 'Get card' })
@Get('/payment-instrument-payment/v1/tokens/:tokenCode/physical-card-data') // Did not add includeBalances here as query param as we always use it with true
@Get('/payment-instrument-payment/v1/tokens/:tokenCode/physical-card-status')
public getCard(
@Param('tokenCode') tokenCode: string,
): IntersolveVisaMockResponseDto {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,6 @@ export class IntersolveVisaMockService {
correlationId: 'string',
data: {
status: returnStatus,
cardURL: 'string',
cardFrameURL: 'string',
accessToken: 'string',
},
};
return response;
Expand Down

0 comments on commit 9b58ac3

Please sign in to comment.