Skip to content

Open a card request

Request

Returns card_url, the hosted page for card entry.

Security
ClientKey
Bodyapplication/jsonrequired
datastringrequired

A JWT signed with your secret key, holding the parameters.

Example:"example"
langstring
Default:"en"
Example:"example"
curl -i -X POST \
  https://docs.dimepay.net/_mock/apis/v1/dime-v1/card-request \
  -H 'Content-Type: application/json' \
  -H 'client_key: YOUR_API_KEY_HERE' \
  -d '{
    "data": "example",
    "lang": "example"
  }'

Responses

The card request was opened.

Bodyapplication/json
statusCodeintegerrequired

Repeats the HTTP status code.

Example:200
headersobject
bodyobjectrequired
Response
{ "statusCode": 201, "headers": { "Access-Control-Allow-Origin": "*" }, "body": { "message": "Successfully created api card request", "response": { … } } }