Skip to main content
POST
/
billing
/
insurance-payment
/
create-rainforest-payin-config
Create Rainforest Payin Config
curl --request POST \
  --url https://api.decodahealth.com/billing/insurance-payment/create-rainforest-payin-config \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "id": "<string>",
  "insurer": "<string>",
  "amount": 123,
  "comment": "<string>",
  "currency": "USD",
  "locationId": "<string>",
  "creatorId": "<string>"
}
'
{
  "sessionKey": "<string>",
  "payinConfigId": "<string>",
  "sandbox": true,
  "paymentMethods": []
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
id
string
required

Unique identifier for the insurance payment.

insurer
string
required

Name of the insurer.

amount
integer
required

Amount of the payment.

comment
string | null

Optional comment about the payment.

currency
string
default:USD

Currency of the payment.

locationId
string | null

Location of the payment.

creatorId
string | null

ID of the provider who created this payment.

Response

Successful Response

sessionKey
string
required
payinConfigId
string
required
sandbox
boolean
required
paymentMethods
PaymentMethodSummary · object[]