cybersource-rest-client
Version:
Node.js SDK for the CyberSource REST API
56 lines (35 loc) • 1.74 kB
Markdown
//apitest.cybersource.com*
Method | HTTP request | Description
------------- | ------------- | -------------
[**octCreatePayment**](PayoutsApi.md
<a name="octCreatePayment"></a>
> PtsV2PayoutsPost201Response octCreatePayment(octCreatePaymentRequest)
Process a Payout
Send funds from a selected funding source to a designated credit/debit card account or a prepaid card using an Original Credit Transaction (OCT). The availability of API features for a merchant can depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.
### Example
```javascript
var CyberSource = require('CyberSource');
var apiInstance = new CyberSource.PayoutsApi();
var octCreatePaymentRequest = new CyberSource.OctCreatePaymentRequest(); // OctCreatePaymentRequest |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.octCreatePayment(octCreatePaymentRequest, callback);
```
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**octCreatePaymentRequest** | [**OctCreatePaymentRequest**](OctCreatePaymentRequest.md)| |
[**PtsV2PayoutsPost201Response**](PtsV2PayoutsPost201Response.md)
No authorization required
- **Content-Type**: application/json;charset=utf-8
- **Accept**: application/hal+json;charset=utf-8
All URIs are relative to *https: