post https://mapi.yuansferdev.com/order/v4/capture
This endpoint is used to directly send credit card information to Pockyt. NOTE: passing credit card data directly through this endpoint requires PCI SAQ D compliance.
goodsInfo
The goodsInfo field is recommended to help merchants with disputes. It is an object with the following fields:
Field | M/O/C | Description |
---|---|---|
amount | M | The item price or rate per unit, can not be a negative number. |
category | M | The item category type. Possible values: DIGITAL_GOODS, PHYSICAL_GOODS |
description | M | The detailed item description. |
goods_info | M | The item name or title. |
tax | O | The item tax for each unit. |
quantity | M | The item quantity. |
Note When adding to the goodsInfo, make sure to include the goodsInfo as a string. (ex. "{"goods_name":"test","quantity":"1","category":"DIGITAL_GOODS","description":"testing","amount":"300","tax":"0"}")