Schema
ReturnPolicy
The return policy in force (store, else Business, else default), after any contract terms.
Fields
| Field | Type | Description |
|---|---|---|
sourceRequired | enum | One of DEFAULT, BUSINESS, STORE |
idOptional | string or null | |
versionOptional | integer | |
statusRequired | enum | One of ACTIVE, DISABLED |
windowDaysRequired | integer | |
reasonsRequired | array of ReturnReason | |
payerRequired | ReturnPayer | MERCHANT: billed to your Business wallet or invoice. CUSTOMER: the customer pays by Mobile Money before the code works. DEDUCT_FROM_REFUND: billed to you; deductFromRefundMinor tells your refund system what to keep back. |
merchantPaymentModeOptional | enum | One of BUSINESS_WALLET, BUSINESS_INVOICE |
allowedProductsRequired | array of ReturnProduct | |
approvalModeRequired | enum | One of AUTO, MANUAL |
maxValueMinorOptional | integer or null | |
returnPointCodeOptional | string or null | |
returnPointNameOptional | string or null | |
returnAddressOptional | object or null | |
textOptional | string | |
returnContactOptional | object or null | |
nameOptional | string | |
phoneOptional | string | |
instructionsOptional | string or null | |
contractOptional | object or null | |
idOptional | string | |
overridesOptional | array of string |