POST
/
gc
/
transactions
/
{referenceId}
/
invoice-details
curl --request POST \
  --url https://sandbox.cashfree.com/gc/transactions/{referenceId}/invoice-details \
  --header 'Content-Type: application/json' \
  --header 'x-api-version: <x-api-version>' \
  --header 'x-partner-api-key: <x-partner-api-key>' \
  --header 'x-partner-merchantid: <x-partner-merchantid>' \
  --data '{
  "invoiceNumber": "<string>",
  "invoiceAmount": "<string>",
  "remitterName": "<string>",
  "purposeCode": "<string>"
}'
{
  "cmsProfileId": 23802472,
  "cmsPaymentId": 310729,
  "invoiceNumber": "ABC123",
  "invoiceAmount": 1,
  "remitterName": "remitter",
  "status": "SUCCESS"
}

Based on who you are, consider the below values in the API requests

Telr MerchantTelr Partner
x-client-idx-partner-api-key
x-client-secretx-partner-merchantid

Headers

x-partner-api-key
string
required

Enter partner API keygit

x-partner-merchantid
string
required

Enter the merchant reference id used while creating merchant during onboarding

x-api-version
string
required

API version

Path Parameters

referenceId
string
required

Body

application/json

Response

201
application/json

Successfully added invoice details

The response is of type object.