Docs
Checking Raims account
Raims CLIAPI commands

raims payment-links

Manage payment links

From command to result

Create a link for an existing charge and decide separately whether to request email delivery. A created link, an accepted email request, and a delivered message are different results.

Configure the profile and credential before running real reads. With an API key, the key determines the company and environment. --environment selects an environment only for OAuth.

  1. Prepare the link

    Shell
    raims payment-links create --charge-id CHARGE_ID --dry-run

    Review the charge and preview options. To create it, use the correct profile and remove --dry-run after review; keep data.id and data.url.

  2. Check the link

    Shell
    raims --profile sandbox --output json payment-links get PAYMENT_LINK_ID

    Read the returned ID and the charge's current conditions before sharing the URL.

  3. Review the email request

    Shell
    raims --profile sandbox --output json payment-links send-email PAYMENT_LINK_ID --dry-run

    The preview does not send email. Remove --dry-run only to request delivery to the authorized recipient. HTTP 202 accepts the request without confirming delivery; respect the returned waiting period before another request.

Choose a command

CommandPurpose
raims payment-links createCreate or retrieve a payment link
raims payment-links getGet a payment link
raims payment-links listList payment links
raims payment-links send-emailRequest delivery of a payment link by email
raims payment-links updateUpdate a payment link

The previews below use --dry-run and do not send the request. Replace placeholders and review the result before sending a write.

Body fields, filters, and headers are sent only when supplied. Execution option defaults do not fill API fields.

Manage payment links

Shell
raims payment-links [flags]

See global options.

Subcommands: raims payment-links create, raims payment-links get, raims payment-links list, raims payment-links send-email, raims payment-links update.

Create or retrieve a payment link

Shell
raims payment-links create [flags]

OAuth environments: Sandbox, Production. Success responses: 200, 201.

See global options.

Get a payment link

Shell
raims payment-links get ID [flags]

OAuth environments: Sandbox, Production. Success responses: 200.

See global options.

List payment links

Shell
raims payment-links list [flags]

OAuth environments: Sandbox, Production. Success responses: 200.

See global options.

Request delivery of a payment link by email

Shell
raims payment-links send-email ID [flags]

OAuth environments: Sandbox, Production. Success responses: 202.

HTTP 202 means the request is pending. Query the returned resource before repeating a write; the command does not wait for completion.

See global options.

Update a payment link

Shell
raims payment-links update ID [flags]

OAuth environments: Sandbox, Production. Success responses: 200.

See global options.