Skip to main content
POST
/
api
/
Payments
/
authorization
Authorize With Payment Method Details
curl --request POST \
  --url https://api.revolv3.com/api/Payments/authorization \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json-patch+json' \
  --data '
{
  "paymentMethod": {
    "paymentMethodTypes": [
      "CreditCard"
    ],
    "billingAddress": {
      "addressId": null,
      "addressLine1": "100 Main",
      "addressLine2": null,
      "city": "Santa Ana",
      "state": "CA",
      "postalCode": "91111",
      "phoneNumber": null,
      "email": null,
      "country": "US"
    },
    "creditCard": {
      "paymentAccountNumber": "4111111111111111",
      "expirationDate": "1025",
      "securityCode": null,
      "networkToken": null,
      "processingMethodType": "CreditCard"
    },
    "ach": null,
    "googlePay": null,
    "applePay": null,
    "merchantPaymentMethodRefId": null,
    "billingFirstName": "Joe",
    "billingLastName": "Doe",
    "billingFullName": null
  },
  "networkProcessing": {
    "processingType": "InitialRecurring",
    "originalNetworkTransactionId": null
  },
  "amount": {
    "currency": "USD",
    "value": 30.99
  },
  "orderProcessingChannel": null,
  "dynamicDescriptor": null,
  "includeRawProcessorResponse": false
}
'
{
  "networkTransactionId": "8f64a9bf-7449-4b3f-87a9-ce60bdc76f62",
  "paymentMethodAuthorizationId": 1,
  "paymentMethod": {
    "paymentMethodId": 1,
    "billingAddressId": 1,
    "billingAddress": {
      "addressId": 1,
      "addressLine1": "1 Default Street",
      "addressLine2": null,
      "city": "Los Angeles",
      "state": "CA",
      "postalCode": "90210",
      "phoneNumber": null,
      "email": null,
      "country": "US"
    },
    "billingFirstName": "John",
    "billingLastName": "Doe",
    "merchantPaymentMethodRefId": null,
    "paymentMethodAchDetails": null,
    "paymentMethodCreditCardDetails": null
  },
  "paymentProcessor": null,
  "processorMerchantId": null,
  "responseMessage": "Approved",
  "responseCode": "000",
  "rawResponse": null,
  "message": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

amount
object
required
paymentMethod
object
required
networkProcessing
object
orderProcessingChannel
enum<string>
Available options:
Ecommerce,
Moto
dynamicDescriptor
object
includeRawProcessorResponse
boolean | null

Response

OK

networkTransactionId
string | null
paymentMethodAuthorizationId
integer<int64> | null
paymentMethod
object
paymentProcessor
string | null
processorMerchantId
string | null
responseMessage
string | null
responseCode
string | null
rawResponse
string | null
message
string | null