Authorize With Payment Method Details
curl --request POST \
  --url https://api.revolv3.com/api/Payments/authorization \
  --header 'Content-Type: application/json-patch+json' \
  --data '{
  "paymentMethod": {
    "paymentMethodTypes": [
      1
    ],
    "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": 5
    },
    "ach": null,
    "googlePay": null,
    "applePay": null,
    "merchantPaymentMethodRefId": null,
    "billingFirstName": "Joe",
    "billingLastName": "Doe",
    "billingFullName": null
  },
  "networkProcessing": {
    "processingType": 1,
    "originalNetworkTransactionId": null
  },
  "amount": {
    "currency": 1,
    "value": 30.99
  },
  "orderProcessingChannel": null,
  "dynamicDescriptor": null
}'
{
  "networkTransactionId": "55c6fa63-7fdb-4a12-bd9b-657b15ab9ab9",
  "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
}

Body

Response

OK

The response is of type object.