POST
/
card_auth_loop_endpoint
curl --request POST \
  --url https://api.treasuryprime.com/card_auth_loop_endpoint \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "basic_secret": "secret",
  "basic_user": "organization_name",
  "url": "https://example.application.com/newurl"
}'
{
  "basic_secret": "<encrypted value>",
  "basic_user": "organization_name",
  "created_at": "2023-12-01T17:00:00Z",
  "id": "cale_11ghk0709srf",
  "updated_at": "2023-12-01T17:00:00Z",
  "url": "https://example.application.com/newurl",
  "userdata": null
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
The card_auth_loop_endpoint to create
url
string
required

The HTTPS URL that will respond to the card auth message

basic_secret
string

First value in base64(basic_user:basic_secret), sent as Authorization for request validation. This will appear as <encrypted value> in all responses, for security

basic_user
string

First value in base64(basic_user:basic_secret), sent as Authorization for request validation

userdata
object

Arbitrary data the user can attach

Response

200 - application/json
The card_auth_loop_endpoint created
basic_secret
string

First value in base64(basic_user:basic_secret), sent as Authorization for request validation. This will appear as <encrypted value> in all responses, for security

basic_user
string

First value in base64(basic_user:basic_secret), sent as Authorization for request validation

id
string

Unique identifier for object

url
string

The HTTPS URL that will respond to the card auth message

userdata
object

Arbitrary data the user can attach