Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion mintlify/payouts-and-b2b/payment-flow/send-payment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,17 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/transfer-out' \
"accountId": "InternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123"
},
"destination": {
"accountId": "ExternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965"
"accountId": "ExternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965",
"paymentRail": "ACH"
},
"amount": 12550
}'
```

<Tip>
The `paymentRail` field is optional. If omitted, Grid selects a default rail for the destination. Specify a rail (e.g., `ACH`, `WIRE`, `RTP`, `FEDNOW`) when you need to control which payment network processes the transfer.
</Tip>


```json Success (201 Created)
{
Expand Down
6 changes: 5 additions & 1 deletion mintlify/snippets/sending/same-currency.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,15 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/transfer-out' \
-H 'Content-Type: application/json' \
-d '{
"source": { "accountId": "InternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123" },
"destination": { "accountId": "ExternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965" },
"destination": { "accountId": "ExternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965", "paymentRail": "ACH" },
"amount": 12550
}'
```

<Tip>
The `paymentRail` field is optional. If omitted, Grid selects a default rail for the destination.
</Tip>
Comment on lines +40 to +42
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 The <Tip> in the snippet is more terse than the equivalent tip in send-payment.mdx, which additionally lists valid rail values and explains when to use them. Since this snippet is imported in global-p2p/sending-receiving-payments/sending-payments.mdx, users landing on that page receive less guidance than users reading send-payment.mdx. Aligning the two tips ensures consistent documentation coverage regardless of which page a developer reaches.

Suggested change
<Tip>
The `paymentRail` field is optional. If omitted, Grid selects a default rail for the destination.
</Tip>
<Tip>
The `paymentRail` field is optional. If omitted, Grid selects a default rail for the destination. Specify a rail (e.g., `ACH`, `WIRE`, `RTP`, `FEDNOW`) when you need to control which payment network processes the transfer.
</Tip>
Prompt To Fix With AI
This is a comment left during a code review.
Path: mintlify/snippets/sending/same-currency.mdx
Line: 40-42

Comment:
The `<Tip>` in the snippet is more terse than the equivalent tip in `send-payment.mdx`, which additionally lists valid rail values and explains when to use them. Since this snippet is imported in `global-p2p/sending-receiving-payments/sending-payments.mdx`, users landing on that page receive less guidance than users reading `send-payment.mdx`. Aligning the two tips ensures consistent documentation coverage regardless of which page a developer reaches.

```suggestion
<Tip>
  The `paymentRail` field is optional. If omitted, Grid selects a default rail for the destination. Specify a rail (e.g., `ACH`, `WIRE`, `RTP`, `FEDNOW`) when you need to control which payment network processes the transfer.
</Tip>
```

How can I resolve this? If you propose a fix, please make it concise.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Claude Code


```json Success (201 Created)
{
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000015",
Expand Down
Loading