Skip to main content
POST
/
api
/
Payments
/
authorization
/
{paymentMethodId}
Authorize With Payment Method Id
curl --request POST \
  --url https://api.revolv3.com/api/Payments/authorization/{paymentMethodId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json-patch+json' \
  --data '
{
  "networkProcessing": {
    "processingType": "InitialRecurring",
    "originalNetworkTransactionId": null
  },
  "amount": {
    "currency": "USD",
    "value": 30.99
  },
  "orderProcessingChannel": null,
  "dynamicDescriptor": null,
  "includeRawProcessorResponse": false
}
'
{
  "networkTransactionId": "8bfc333a-a71f-4021-9590-f1bdd2b3d28f",
  "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.

Path Parameters

paymentMethodId
integer<int64>
required

Body

amount
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