Create a Charge - Swipe
Changed onTHIS IS NOT A PUBLIC ENDPOINT - IT IS NOT APPROVED TO BE PUBLISHED - The solution is not fully approved/validated
post/v1/charges/swipe
Request
- Base URLhttps://testapi.payarc.net
- URLhttps://testapi.payarc.net/v1/charges/swipe
- AuthAPI key in header Authorization
Headers
Acceptstring
Indicates which content types, expressed as MIME types, the client is able to understand.
Content-Typestring
Indicates the media type of the resource sent in the HTTP message body. <br /><br /><b>Possible Values:</b><br /> application/json<br />application/x-www-form-urlencoded
Request body
Response
201
Example response
{
"data": {
"object": "Charge",
"id": "nBoLWODLMLLoOXyb",
"amount": 1200,
"amount_captured": "1200",
"payarc_fees": 35,
"type": "Sale",
"net_amount": 1165,
"captured": 1,
"status": "submitted_for_settlement",
"auth_code": "TAS712",
"statement_description": "statement description",
"created_at": 1611924403,
"updated_at": 1611924405,
"email": "john.doe@example.com",
"phone_number": "5417543010",
"card_level": "LEVEL1",
"created_by": "bubbles@eyepaste.com",
"card": {
"data": {
"object": "Card",
"id": "2mMPL029yyP50vyN",
"card_source": "PHONE",
"card_holder_name": "Test One",
"is_default": 1,
"exp_month": "12",
"exp_year": "2022",
"fingerprint": "9v09mPMLP5NMNM0m",
"brand": "V",
"last4digit": "1111",
"first6digit": 411111,
"customer_id": "4jAPDKVp44MVNxnM",
"created_at": 1611924035,
"updated_at": 1611924038
}
}
},
"meta": {
"include": [
"review"
]
}
}Changes
- info
endpoint added
- info