Create a payment

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

BANK REQUESTCARD REQUESTWITH PAYER REQUESTWITH PAYERID REQUESTWITH PAYER REQUESTWITH PAYERID REQUEST

{
  "amount": "5000.00",
  "currency": "USD",
  "bankId": "6whpaa24mz35khmwec931l3i"
}
{
  "amount": "5000.00",
  "currency": "USD",
  "cardId": "5fmqza1hcd4jhxb779r563u4"
}
{
  "amount": "5000.00",
  "currency": "USD",
  "cardId": "5fmqza1hcd4jhxb779r563u4",
  "payer": {
    "name": "Christina C",
    "email": "cchen+test@paystand.com",
    "address": {
      "street1": "41 Grandview St Unit C",
      "city": "Santa Cruz",
      "state": "CA",
      "postalCode": "95060",
      "country": "USA"
    }
  }
}
{
  "amount": "5000.00",
  "currency": "USD",
  "cardId": "5fmqza1hcd4jhxb779r563u4",
  "payerId": "kn11g03xda1tpcnj7grdkemr"
}
{
  "amount": "5000.00",
  "currency": "USD",
  "bank": {
    "nameOnAccount": "Jessica Lin",
    "routingNumber": "110000000",
    "accountNumber": "000123456789",
    "currency": "USD",
    "accountType": "checking",
    "externalId": "bank_001",
    "isDefault": true,
    "billingAddress": {
      "street1": "payer street",
      "city": "payer city",
      "state": "CA",
      "country": "USA",
      "postalCode": "95060"
    }
  },
  "payer": {
    "name": "Christina C",
    "email": "cchen+test@paystand.com",
    "address": {
      "street1": "41 Grandview St Unit C",
      "city": "Santa Cruz",
      "state": "CA",
      "postalCode": "95060",
      "country": "USA"
    }
  }
}
{
  "amount": "5000.00",
  "currency": "USD",
  "bank": {
    "nameOnAccount": "Jessica Lin",
    "routingNumber": "110000000",
    "accountNumber": "000123456789",
    "currency": "USD",
    "accountType": "checking",
    "externalId": "bank_001",
    "isDefault": true,
    "billingAddress": {
      "street1": "payer street",
      "city": "payer city",
      "state": "CA",
      "country": "USA",
      "postalCode": "95060"
    }
  },
  "payerId": "o62bdcp9dzdelc2bcudsru9l"
}

amount

string

required

Defaults to 5000.00

The amount of the payment

currency

string

required

Defaults to USD

The currency of the payment

cardId

string

required

The card object to use for the card payment

bankId

string

required

bank

object

required

The bank object to use for the bank payment

bankobject

payerId

string

required

The id of the payer to assign to the card. payer

object

required

A payer object to create and assign to the card. payerobject

accountKey

string

The key of the account to send the funds to

meta

json

Optional key/values to help link the card payment to an external system. description

string

A short description of the payment.

``200 200

Updatedalmost 6 years ago


ShellNodeRubyPHPPython


xxxxxxxxxx

curl --request POST \

--url https://api.paystand.co/v3/payments/secure \

--header 'Accept: ••••' \

--header 'Authorization: Bearer ••••' \

--header 'Content-Type: ••••' \

--header 'X-CUSTOMER-ID: ••••' \

--header 'accept: application/json' \

--header 'content-type: application/json' \

--data '

{

"amount": "5000.00",

"currency": "USD",

"bank": {

"nameOnAccount": "Jessica Lin",

"accountHolderType": "company",

"accountNumber": "000123456789",

"routingNumber": "110000000",

"accountType": "checking",

"country": "USA",

"currency": "USD"

},

"payer": {

"name": "Shalin Shaun",

"email": "shalin+test@paystand.com",

"address": {

"street1": "123 First St",

"street2": "#2",

"city": "Santa Cruz",

"state": "CA"