Skip to content

Commit 24d7294

Browse files
authored
fix(RNPSW)-add-meta-props-docs (#191)
1 parent db0ed6c commit 24d7294

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,22 @@ function Pay(){
136136

137137

138138

139+
#### Meta Props
140+
141+
142+
| Name | Description | Required? | Default Value |
143+
|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
144+
| `cart_id` | A unique identifier for the cart. Can be either a string or a number. | `NO` | `undefined` |
145+
| `custom_fields` | An array of custom fields for adding additional metadata to the transaction. If not passed, a default custom field is created using the `firstName`, `lastName`, and `billingName`. | `NO` | `[{ display_name: '${firstName + ' ' + lastName}', variable_name: '${billingName}', value: '' }]` |
146+
| `cancel_action` | A string specifying the action to take if a transaction is canceled. | `NO` | `undefined` |
147+
| `custom_filters` | Custom filters to restrict or specify transaction options, such as: | `NO` | `undefined` |
148+
| | - **`recurring`**: A boolean to indicate if the transaction is recurring. | | |
149+
| | - **`banks`**: An array of bank codes for supported banks. | | |
150+
| | - **`card_brands`**: Supported card brands, e.g., `'verve'`, `'visa'`, `'mastercard'`. | | |
151+
| | - **`supported_mobile_money_providers`**: Supported mobile money providers, e.g., `'mtn'`, `'atl'`, `'vod'`. | | |
152+
153+
---
154+
139155
#### Dynamic Multi-Split Payment Object structure
140156

141157
| Name | use/description | required? |

0 commit comments

Comments
 (0)