Skip to main content
POST
/
customer
/
{customerId}
/
requestChargeAuthorization
Request charge authorization from a customer
curl --request POST \
  --url https://virtserver.swaggerhub.com/nickel-ace/apiv1/1.0.0/customer/{customerId}/requestChargeAuthorization \
  --header 'Content-Type: application/json' \
  --data '
{
  "emails": [
    "<string>"
  ],
  "memo": "<string>",
  "sendEmail": true,
  "transactionLimitCents": 123,
  "expirationDate": "2023-12-25"
}
'
{
  "id": "<string>",
  "customerId": "<string>",
  "paymentMethod": {
    "id": "<string>",
    "type": "ACH",
    "achDetails": {
      "bankName": "JP Morgan Chase",
      "routingNumber": "<string>",
      "accountNumberLastFour": "<string>"
    },
    "cardDetails": {
      "brand": "visa",
      "last4": "<string>",
      "holderName": "<string>",
      "expMonth": "2",
      "expYear": "2030"
    },
    "billingDetails": {
      "name": "<string>",
      "companyName": "<string>",
      "street": "<string>",
      "city": "<string>",
      "state": "<string>",
      "zip": "<string>",
      "countryCode": "<string>"
    }
  },
  "transactionLimitCents": 123,
  "expirationDate": "2023-12-25",
  "active": true
}

Path Parameters

customerId
string
required

ID of the customer that needs to be fetched

Body

application/json

Create a new customer

emails
string[]
memo
string
sendEmail
boolean
transactionLimitCents
integer<int64>
expirationDate
string<date>

Response

Successful operation

id
string
customerId
string
paymentMethod
object
transactionLimitCents
integer<int64>
expirationDate
string<date>
active
boolean