cancel
Showing results for 
Search instead for 
Did you mean: 

Api to get the currency of the gateway account

Hi,

 

As the title, I wonder is there anyway to get the currency of the gateway account? Since in my case the gateway account is configuable and I don't want to always send amount in USD to the gateway in the code. It would very useful if I can get the currency of the gateway account by api then I will convert money value to correct currency before sending them to gateway.

 

Best regards,

Ba

 

 

balv
Member
1 ACCEPTED SOLUTION

Accepted Solutions

Hello @balv

 

You can use getMerchantDetails to obtain details about the gateway including the configured currency.

 

https://developer.authorize.net/api/reference/#transaction-reporting-get-merchant-details

 

Richard

View solution in original post

RichardH
Administrator Administrator
Administrator
5 REPLIES 5

Hello @balv

 

You can use getMerchantDetails to obtain details about the gateway including the configured currency.

 

https://developer.authorize.net/api/reference/#transaction-reporting-get-merchant-details

 

Richard

RichardH
Administrator Administrator
Administrator

Thanks Richard for your quick feedback, and that is exactly what API I want to use :)

/Ba

Hi Richard,

 

Looking at the Reponse of Get Merchant Detail api we can see it return list of currencies (Contains one or more currency fields) instead of only one currency as we can choose when register account.

Could you please explain it?

 

Thanks,

Ba

@balv The object for Currency will only contain a single value at present.

OK, got it now. Thanks again :)

 

/Ba