action api_get_payment_policies {
label: "getPaymentPolicies"
description: "This method retrieves all the payment policies configured for the marketplace you specify using the marketplace_id query parameter.
Marketplaces and locales
Get the correct policies for a marketplace that supports multiple locales using the Content-Language request header. For example, get the policies for the French locale of the Canadian marketplace by specifying fr-CA for the Content-Language header. Likewise, target the Dutch locale of the Belgium marketplace by setting Content-Language: nl-BE. For details on header values, see HTTP request headers."
provider: api
method: GET
path: "/payment_policy"
encoding: json
input: {
type: "object"
properties: {
marketplace_id: {
type: "string"
}
}
required: ["marketplace_id"]
additionalProperties: false
}
output: {
type: "object"
description: "The response payload for the getPaymentPolicies method.
Note: Pagination has not yet been enabled for getPaymentPolicies, so all of the pagination-related fields are for future use."
properties: {
href: {
type: "string"
description: "This field is for future use."
}
limit: {
type: "integer"
format: "int32"
description: "This field is for future use."
}
next: {
type: "string"
description: "This field is for future use."
}
offset: {
type: "integer"
format: "int32"
description: "This field is for future use."
}
paymentPolicies: {
type: "array"
description: "A list of all of the seller's payment business policies defined for the specified marketplace. This array will be returned as empty if no payment business policies are defined for the specified marketplace."
items: {
type: "object"
description: "This type is used by the paymentPolicy response container, a container which defines a seller's payment business policy for a specific marketplace."
properties: {
categoryTypes: {
type: "array"
description: "This container indicates whether the fulfillment policy applies to motor vehicle listings, or if it applies to non-motor vehicle listings."
items: {
type: "object"
description: "The category type discerns whether the policy applies to motor vehicle listings, or to any other items except motor vehicle listings.
Each business policy can be associated with either or both categories ('MOTORS_VEHICLES' and 'ALL_EXCLUDING_MOTORS_VEHICLES'); however, return business policies are not applicable for motor vehicle listings."
properties: {
default: {
type: "boolean"
description: "Note: This field has been deprecated and is no longer used.- Do not include this field in any create or update method.
- This field may be returned within the payload of a get method, but it can be ignored.
"
}
name: {
type: "string"
description: "The category type to which the policy applies (motor vehicles or non-motor vehicles).
The MOTORS_VEHICLES category type is not valid for return policies. eBay flows do not support the return of motor vehicles. For implementation help, refer to eBay API documentation"
}
}
}
}
deposit: {
type: "object"
description: "This container is applicable only if the categoryTypes.name field is set to MOTORS_VEHICLES, and is only returned if the seller requires an initial deposit on motor vehicles.
The container shows the amount due for the deposit and when it is due (within 1-3 days after commitment to purchase, unless the listing requires immediate payment).
Note: The due date that is specified in the deposit container will be overridden if the payment business policy requires immediate payment (in this case, for the deposit), and the buyer commits to purchasing the motor vehicle through a fixed-price listing or through the 'Buy it Now' option of an auction listing.
"
properties: {
amount: {
type: "object"
description: "This value indicates the initial deposit amount required from the buyer in order to purchase a motor vehicle. This value can be as high as $2,000.00 if immediate payment is not required, and up to $500.00 if immediate payment is required.
Max: 2000.0"
properties: {
currency: {
type: "string"
description: "The base currency applied to the value field to establish a monetary amount.
The currency is represented as a 3-letter ISO 4217 currency code. For example, the code for the Canadian Dollar is CAD.
Default: The default currency of the eBay marketplace that hosts the listing. For implementation help, refer to eBay API documentation"
}
value: {
type: "string"
description: "The monetary amount in the specified currency."
}
}
}
dueIn: {
type: "object"
description: "This value indicates the number of hours that the buyer has (after they commit to buy) to pay the initial deposit on a motor vehicle. Valid dueIn times are 24, 48, and 72 hours. HOUR is set as the unit value, and 24, 48 or 72 are set in the value field.
Note: The dueIn value is overridden if the seller has set the motor vehicle listing to require immediate payment. If the listing requires immediate payment, the buyer must pay the deposit immediately in order to be eligible to purchase the motor vehicle.
Min=24 (hours)Max=72 (hours), Default=48 (hours)"
properties: {
unit: {
type: "string"
description: "These enum values represent the time measurement unit, such as DAY. A span of time is defined when you apply the value specified in the value field to the value specified for unit.
See TimeDurationUnitEnum for a complete list of possible time-measurement units. For implementation help, refer to eBay API documentation"
}
value: {
type: "integer"
format: "int32"
description: "An integer that represents an amount of time, as measured by the time-measurement unit specified in the unit field."
}
}
}
paymentMethods: {
type: "array"
description: "This array is no longer applicable and should not be used since eBay now manages the electronic payment options available to buyers to pay the deposit."
items: {
type: "object"
description: "This type is used by the paymentMethods container, which is used by the seller to specify one or more offline payment methods.
Note: eBay now controls all electronic payment methods available for a marketplace, so a seller will no longer use this type to specify any electronic payment methods."
properties: {
brands: {
type: "array"
description: "Note: This array is no longer applicable and should not be used. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods, including any credit card brands accepted. "
items: {
type: "string"
description: " For implementation help, refer to eBay API documentation"
}
}
paymentMethodType: {
type: "string"
description: "eBay now controls all electronic payment methods available for a marketplace, so only offline payment method enum values may be used in this field, and offline payment methods will only be applicable to listings that require or support offline payments. See the PaymentMethodTypeEnum type for supported offline payment method enum values. For implementation help, refer to eBay API documentation"
}
recipientAccountReference: {
type: "object"
description: "Note: This container is no longer applicable and should not be used. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods, including PayPal. "
properties: {
referenceId: {
type: "string"
description: "Note: DO NOT USE THIS FIELD. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods."
}
referenceType: {
type: "string"
description: "Note: DO NOT USE THIS FIELD. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods. For implementation help, refer to eBay API documentation"
}
}
}
}
}
}
}
}
description: {
type: "string"
description: "A seller-defined description of the payment policy. This description is only for the seller's use, and is not exposed on any eBay pages.
Max length: 250"
}
fullPaymentDueIn: {
type: "object"
description: "This container applies to motor vehicles listings only and indicates when a final payment for the vehicle is due. This value is always returned if categoryTypes is set to MOTORS_VEHICLES.
This container indicates the number of days that a buyer has to make their full payment to the seller and close the remaining balance on a motor vehicle transaction. The period starts when the buyer commits to buy. The valid values, as specified with TimeDuration, are:- 3 DAYS
- 7 DAYS (the default)
- 10 DAYS
- 14 DAYS
A MOTORS_VEHICLES) payment business policy must specify at least one of the following paymentMethods values for the final payment: - CASH_ON_PICKUP
Note: This payment method is only available to sellers outside the US. - CASHIER_CHECK
- MONEY_ORDER
- PERSONAL_CHECK
"
properties: {
unit: {
type: "string"
description: "These enum values represent the time measurement unit, such as DAY. A span of time is defined when you apply the value specified in the value field to the value specified for unit.
See TimeDurationUnitEnum for a complete list of possible time-measurement units. For implementation help, refer to eBay API documentation"
}
value: {
type: "integer"
format: "int32"
description: "An integer that represents an amount of time, as measured by the time-measurement unit specified in the unit field."
}
}
}
immediatePay: {
type: "boolean"
description: "If this field is returned as true, immediate payment is required from the buyer for: - A fixed-price item
- An auction item where the buyer uses the 'Buy it Now' option
- A deposit for a motor vehicle listing
It is possible for the seller to set this field as true in the payment business policy, but it will not apply in some scenarios. For example, immediate payment is not applicable for auction listings that have a winning bidder, for buyer purchases that involve the Best Offer feature, or for transactions that happen offline between the buyer and seller."
}
marketplaceId: {
type: "string"
description: "The ID of the eBay marketplace to which the payment business policy applies. For implementation help, refer to eBay API documentation"
}
name: {
type: "string"
description: "A seller-defined name for this fulfillment policy. Names must be unique for policies assigned to the same marketplace.
Max length: 64"
}
paymentInstructions: {
type: "string"
description: "Although this field may be returned for some older payment business policies, payment instructions are no longer supported by payment business policies. If this field is returned, it can be ignored and these payment instructions will not appear in any listings that use the corresponding business policy.
Max length: 1000"
}
paymentMethods: {
type: "array"
description: "This container is returned to show the payment methods that are accepted for the payment business policy.
Sellers do not have to specify any electronic payment methods for listings, so this array will often be returned empty unless the payment business policy is intended for motor vehicle listings or other items in categories where offline payments are required or supported. "
items: {
type: "object"
description: "This type is used by the paymentMethods container, which is used by the seller to specify one or more offline payment methods.
Note: eBay now controls all electronic payment methods available for a marketplace, so a seller will no longer use this type to specify any electronic payment methods."
properties: {
brands: {
type: "array"
description: "Note: This array is no longer applicable and should not be used. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods, including any credit card brands accepted. "
items: {
type: "string"
description: " For implementation help, refer to eBay API documentation"
}
}
paymentMethodType: {
type: "string"
description: "eBay now controls all electronic payment methods available for a marketplace, so only offline payment method enum values may be used in this field, and offline payment methods will only be applicable to listings that require or support offline payments. See the PaymentMethodTypeEnum type for supported offline payment method enum values. For implementation help, refer to eBay API documentation"
}
recipientAccountReference: {
type: "object"
description: "Note: This container is no longer applicable and should not be used. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods, including PayPal. "
properties: {
referenceId: {
type: "string"
description: "Note: DO NOT USE THIS FIELD. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods."
}
referenceType: {
type: "string"
description: "Note: DO NOT USE THIS FIELD. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods. For implementation help, refer to eBay API documentation"
}
}
}
}
}
}
paymentPolicyId: {
type: "string"
description: "A unique eBay-assigned ID for a payment business policy. This ID is generated when the policy is created."
}
}
}
}
prev: {
type: "string"
description: "This field is for future use."
}
total: {
type: "integer"
format: "int32"
description: "The total number of payment business policies retrieved in the result set.
If no payment business policies are defined for the specified marketplace, this field is returned with a value of 0."
}
}
}
}