authPayment

post

/ccagent/v1/payment/auth

Auth Payment. Payment authorization endpoint.

Request

Supported Media Types
Body ()
Root Schema : authPayment_request
Type: object
Show Source
Example:
{
    "unsigned_field_names":"card_number",
    "card_expiry_date":"02-2015",
    "bill_to_address_postal_code":"36003",
    "bill_to_address_state":"AL",
    "locale":"en",
    "bill_to_email":"test@example.com",
    "bill_to_address_country":"US",
    "bill_to_surname":"test",
    "bill_to_phone":"9121354321",
    "currency":"USD",
    "bill_to_forename":"test",
    "payment_method":"card",
    "amount":185.5,
    "transaction_uuid":"",
    "card_cvn":"123",
    "signed_field_names":"access_key,profile_id,transaction_uuid,signed_field_names,signed_date_time,locale,transaction_type,payment_method,unsigned_field_names,reference_number,amount,currency,card_type,card_expiry_date,card_cvn,bill_to_forename,bill_to_surname,bill_to_phone,bill_to_address_line1,bill_to_address_city,bill_to_address_state,bill_to_address_country,bill_to_address_postal_code,bill_to_email",
    "transaction_type":"authorization,create_payment_token",
    "card_type":"001",
    "reference_number":"o10003",
    "bill_to_address_line1":"test",
    "profile_id":"",
    "access_key":"",
    "bill_to_address_city":"Montgomery",
    "siteId":"siteUS",
    "signed_date_time":""
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : authPayment_response
Type: object
Show Source
Example Response (application/json)
{
    "ignore_avs":false,
    "signature":"0O5+qVCnDZ+B9jBJwcYqbhg/8dgW/dDKP7LCH5LQq9o=",
    "sopURL":"https://testsecureacceptance.cybersource.com/silent/pay",
    "profile_id":"Test111",
    "access_key":"a7b7592b38603ae99b2815712007dd8b",
    "transaction_uuid":"deec2cf1467542f8a9b6b8928f31f8be",
    "signed_date_time":"2014-10-27T06:27:11Z"
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top