This class provides the methods to access the API that will allow you to create your own payment experience on your website. From basic to advanced configurations, you control the whole experience. Payment class
- Source:
Members
(static) oldSearch
Search payment: Use v0 -> /collections
- Source:
Methods
(static) cancel(id, config, callback) → {*}
Cancel payment
Parameters:
| Name | Type | Description |
|---|---|---|
id |
||
config |
||
callback |
- Source:
Returns:
- Type
- *
(static) capture(id, config, callback) → {*}
Capture payment
Parameters:
| Name | Type | Description |
|---|---|---|
id |
||
config |
||
callback |
- Source:
Returns:
- Type
- *
(static) capturePartial(captureData, config, callback) → {Thenable.<U>|*|Object|*}
Capture partial payment
Parameters:
| Name | Type | Description |
|---|---|---|
captureData |
||
config |
||
callback |
- Source:
Returns:
- Type
- Thenable.<U> | * | Object | *
(static) create()
Create a payment Click here for more infos
- Source:
(static) get()
Get a payment by ID Click here for more infos
- Source:
(static) refund(id, config, callback) → {*}
Refund payment
Parameters:
| Name | Type | Description |
|---|---|---|
id |
||
config |
||
callback |
- Source:
Returns:
- Type
- *
(static) refundPartial(refund, config, callback) → {Thenable.<U>|*|Object|*}
Refund partial payment
Parameters:
| Name | Type | Description |
|---|---|---|
refund |
||
config |
||
callback |
- Source:
Returns:
- Type
- Thenable.<U> | * | Object | *
(static) search()
Search payments Click here for more infos
- Source:
(static) update()
Update a payment Click here for more infos
- Source: