Skip to content

Commit

Permalink
Merge pull request #75 from mercadopago/feature/add-response-external…
Browse files Browse the repository at this point in the history
…-reference-id

[Feature] add external-reference in response
  • Loading branch information
andreagostinho-meli authored Sep 2, 2024
2 parents 67b8509 + 5a3c7e8 commit 016ed12
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/payment/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,11 @@ type PaymentMethodResponse struct {

// DataResponse represents data within PaymentMethodResponse.
type DataResponse struct {
Rules RulesResponse `json:"rules"`
Rules RulesResponse `json:"rules"`

ReferenceID string `json:"reference_id"`
ExternalReferenceID string `json:"external_reference_id"`
ExternalResourceURL string `json:"external_resource_url"`
}

// RulesResponse represents payment rules.
Expand Down

0 comments on commit 016ed12

Please sign in to comment.