Skip to main content
POST
/
payments
/
card
Push to Card
curl --request POST \
  --url https://sandbox.sturdytechnologies.com/v3/payments/card \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "12345hgyd78yuyu9",
  "address": {
    "city": "<string>",
    "country": "<string>",
    "line_1": "<string>",
    "state": "<string>",
    "zip": "<string>"
  },
  "amount": 123,
  "card_number": "<string>",
  "cvv": "<string>",
  "description": "<string>",
  "expiration_date": "<string>"
}
'
{
  "data": {
    "amount": 123,
    "card_number": "<string>",
    "description": "<string>",
    "transaction_date": "2023-10-01T12:34:56Z",
    "transaction_id": "txn_12345",
    "transaction_status": "processing|successful|failed"
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Push to Card payload

account_id
string
Example:

"12345hgyd78yuyu9"

address
object
amount
number
card_number
string
cvv
string
description
string
expiration_date
string

Response

Created

data
object
message
string
success
boolean