Developer's Guide

Table Of Contents
ConvertCurrency API Operation
ConvertCurrencyResponse Message
202 August 7, 2012 Adaptive Payments Developer Guide
RequestEnvelope Fields
ConversionType Fields
The table below describes the ConversionType field.
ConvertCurrencyResponse Message
The ConvertCurrencyResponse message returns the following information to the
application in response to the ConvertCurrencyRequest message.
Field Description
detailLevel common:DetailLevelCode
(Optional) Level of detail required by the client application pertaining to a
particular data component. The detail level is specified as a detail level code,
which has all the enumerated values of the detail level for the component. By
default, the detail level code is ReturnAll, which provides the maximum
level of detail.
errorLanguage xs:string
(Required) RFC 3066 language in which error messages are returned; by
default it is en_US, which is the only language currently supported.
Field Description
conversionType xs:string
(Optional) The conversion type allows you to determine the converted
amounts for a PayPal user in different currency conversion scenarios. Possible
values are:
SENDER_SIDE – Pass this conversion type when you convert amounts for
a PayPal user who is sending a payment in a different currency from what
he/she holds in PayPal.
RECEIVER_SIDE – Pass this conversion type when you when you convert
amounts for a PayPal user who is accepting a payment in a currency that
he/she does not hold and who wants to convert the received payment.
BALANCE_TRANSFER – Pass this conversion type when you convert
amounts for a PayPal user who is converting a balance in one currency to a
balance in a different currency on his/her profile.